AFTD Auto-Formalizing Theoretical Domains

min_order_bipartite_hypotraceable_le_of_exists

theoremverified

If there exists a 2-colorable hypotraceable simple graph on a finite vertex type of cardinality n with 3 ≤ n, then min_order_bipartite_hypotraceable ≤ n.

Statement

open scoped Classical in
theorem min_order_bipartite_hypotraceable_le_of_exists
    {n : ℕ} (hn : 3 ≤ n)
    (h : ∃ (V : Type) (_ : Fintype V) (_ : Fintype.card V = n) (G : SimpleGraph V),
      G.Colorable 2 ∧ G.IsHypotraceable) :
    min_order_bipartite_hypotraceable ≤ n
Source
step towards op_1950_min_order_bipartite_hypotraceable_lt_two_hundred
Verified
23 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • min_order_bipartite_hypotraceableThe minimum order of a bipartite hypotraceable graph on at least 3 vertices, defined as the infimum of the set of natural numbers n such…
  • SimpleGraph.IsHypotraceableA simple graph G on a vertex type V is hypotraceable if G is not traceable, but for every vertex v in V, the vertex-deleted subgraph G - v…
Used by 1

The proof, explained

The theorem states that if there exists a 2-colorable hypotraceable graph on n vertices with 3 ≤ n, then min_order_bipartite_hypotraceable ≤ n. By definition, min_order_bipartite_hypotraceable is the infimum of the set of orders of all such graphs. The proof extracts the assumed witness graph on n vertices, shows that n belongs to the defining set, and applies Nat.sInf_le to conclude that the infimum is at most n.

  1. We obtain a finite vertex type V of cardinality n and a 2-colorable hypotraceable simple graph G on V.

    From the existential hypothesis, we extract the vertex type V, its finiteness, the cardinality condition |V| = n, and the graph G along with the assumptions that G is 2-colorable and hypotraceable.

    line 8

      obtain ⟨V, hV, hcard, G, hcol, hhypo⟩ := h
  2. min_order_bipartite_hypotraceable ≤ n

    By definition, min_order_bipartite_hypotraceable is the infimum of the set of natural numbers k ≥ 3 that admit a 2-colorable hypotraceable simple graph on k vertices. Using Nat.sInf_le, the infimum of a set of natural numbers is bounded above by any of its members. The witness graph G on V together with 3 ≤ n shows that n belongs to this set, which yields the inequality.

    lines 9–11

    uses Nat.sInf_le

      unfold min_order_bipartite_hypotraceable
      apply Nat.sInf_le
      exact ⟨V, hV, hcard, G, hcol, hhypo, hn⟩
Nat.sInf_le
For any set s of natural numbers and any element m ∈ s, the infimum of s satisfies sInf s ≤ m.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

open scoped Classical in/-- If there exists a 2-colorable hypotraceable simple graph on a finite vertex type of cardinality n with 3 ≤ n, then min_order_bipartite_hypotraceable ≤ n. -/theorem min_order_bipartite_hypotraceable_le_of_exists    {n : ℕ} (hn : 3 ≤ n)    (h : ∃ (V : Type) (_ : Fintype V) (_ : Fintype.card V = n) (G : SimpleGraph V),      G.Colorable 2 ∧ G.IsHypotraceable) :    min_order_bipartite_hypotraceable ≤ n := by  obtain ⟨V, hV, hcard, G, hcol, hhypo⟩ := h  unfold min_order_bipartite_hypotraceable  apply Nat.sInf_le  exact ⟨V, hV, hcard, G, hcol, hhypo, hn⟩
See it in the graphDiscuss this resultChallenge it