ComparatorChallenges/BarnetteHamiltonian.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: OpenAI's pinned repository says an unreleased internal model produced the manuscripts and supporting proof artifacts. The collection builds on the mathematics community's accumulated problems, results, language, and formal libraries; each manuscript's BibTeX and bibliography are the authority for individual scholarly credit.
Project sources: Pinned openai/math documentation, Pinned formalization catalogue
6 declarations, 1 contain sorry, 0 declared as axioms
- structure
OAI.Barnette.PlaneEmbeddingA topological plane drawing of a simple graph, with no crossings line 10Source documentation
A topological plane drawing of a simple graph, with no crossings.
L4DEL explanation
A topological plane drawing of a simple graph, with no crossings.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/Hamiltonian/Model.lean:10 (same declaration text).
structure PlaneEmbedding {V : Type u} (G : SimpleGraph V) where … - def
OAI.Barnette.PlanarPlanarity means existence of a crossing-free topological plane embedding line 29Source documentation
Planarity means existence of a crossing-free topological plane embedding.
L4DEL explanation
Planarity means existence of a crossing-free topological plane embedding.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/Hamiltonian/Model.lean:29 (same declaration text).
def Planar {V : Type u} (G : SimpleGraph V) : Prop := … - def
OAI.Barnette.ThreeVertexConnectedDeleting any set of at most two vertices leaves a connected graph of order at least two line 33Source documentation
Deleting any set of at most two vertices leaves a connected graph of order at least two.
L4DEL explanation
Deleting any set of at most two vertices leaves a connected graph of order at least two.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/Hamiltonian/Model.lean:33 (same declaration text).
def ThreeVertexConnected {V : Type u} [Fintype V] (G : SimpleGraph V) : Prop := … - def
OAI.Barnette.HasHamiltonianCycleA single spanning cycle, not a possibly disconnected spanning 2-factor line 38Source documentation
A single spanning cycle, not a possibly disconnected spanning 2-factor.
L4DEL explanation
A single spanning cycle, not a possibly disconnected spanning 2-factor.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/Hamiltonian/Model.lean:38 (same declaration text).
def HasHamiltonianCycle {V : Type u} [DecidableEq V] (G : SimpleGraph V) : Prop := … - def
OAI.Barnette.MainStatementCubic bipartite three-vertex-connected plane graphs have a Hamiltonian cycle line 42Source documentation
Cubic bipartite three-vertex-connected plane graphs have a Hamiltonian cycle.
L4DEL explanation
Cubic bipartite three-vertex-connected plane graphs have a Hamiltonian cycle.
- This explanation is a condensed rendering of the declaration's own doc comment at the pinned source commit; consult the exact Lean statement below for authority.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f)
Also declared: OAI/Combinatorics/Hamiltonian/Model.lean:42 (same declaration text).
def MainStatement : Prop := …
- theorem
OAI.Barnette.mainChallenge statement: Barnette's Hamiltonian-cycle conjecture sorry line 48L4DEL explanation
We prove Barnette’s conjecture: every finite simple cubic bipartite planar 3-vertex-connected graph has a Hamiltonian cycle.
Every cubic, bipartite, polyhedral graph contains a Hamiltonian cycle.
Every finite simple planar graph that is cubic, bipartite, and remains connected after deletion of any two vertices has one cycle visiting every vertex exactly once.
- The statement quantifies over every finite vertex type and simple graph. Its four hypotheses are degree-three regularity, bipartiteness, a crossing-free topological plane embedding, and
ThreeVertexConnected. ThreeVertexConnectedalso requires at least four vertices.HasHamiltonianCycleasks for a closed walk satisfying Mathlib'sIsHamiltonianCycle; it is a single spanning cycle, not a disconnected spanning 2-factor.- David Barnette posed the conjecture in 1969 in the language of cubic bipartite polyhedral graphs. By Steinitz's theorem,
polyhedralcorresponds here to planar and 3-vertex-connected. - The pinned manuscript's page-one strategy passes to the spherical dual triangulation and constructs an acyclic dual edge set whose complement becomes one connected spanning cycle; the Lean statement exposes only the theorem, not that prose proof outline.
- Trust boundary: this comparator declaration ends in
by sorry. The pinned comparator configuration pairs it withOAI.Combinatorics.Hamiltonian.Main; the site's Lean trust result, not this annotation, determines whether that separate solution module checks.
Sources and attribution: Pinned Lean source (fd4aeeb2ee4f), OpenAI Barnette manuscript (abstract), Pinned OpenAI formalization note 180, Lean Arts, Meike Hopman, and Veerle Timmermans, Barnette's Conjecture (2013)
Distinct definitions of this name: OAI/Combinatorics/Hamiltonian/Main.lean:47 (same statement text; different proof or body). Qualify references as OAI.Barnette.main@path.
cubic graph: a graph in which every vertex has degree three
Hamiltonian cycle: one cycle that visits every vertex exactly once before returning to its start
theorem main : MainStatement.{u} := by … - The statement quantifies over every finite vertex type and simple graph. Its four hypotheses are degree-three regularity, bipartiteness, a crossing-free topological plane embedding, and