FormalConjectures/WrittenOnTheWallII/GraphConjecture198a.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: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
3 declarations, 1 contain sorry, 0 declared as axioms
Written on the Wall II - Conjecture 198a
Reference: E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc
Imports (1)
- theorem
WrittenOnTheWallII.GraphConjecture198a.conjecture198aWOWII Conjecture 198a For a simple connected graphG, ifb(G) ≤ 2 + ecc_avg(G), thenGhas a Hamiltonian path sorry line 44 sourceSource documentation
WOWII Conjecture 198a
For a simple connected graph
G, ifb(G) ≤ 2 + ecc_avg(G), thenGhas a Hamiltonian path. Hereb(G)is the number of vertices in a largest induced bipartite subgraph, andecc_avg(G)is the average eccentricity ofG. A Hamiltonian path is a walk visiting every vertex exactly once.L4DEL explanation
WOWII Conjecture 198a For a simple connected graph
G, ifb(G) ≤ 2 + ecc_avg(G), thenGhas a Hamiltonian path. Hereb(G)is the number of vertices in a largest induced bipartite subgraph, andecc_avg(G)is the average eccentricity ofG. A Hamiltonian path is a walk visiting every vertex exactly once.Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Fintype,DecidableEq,Nontrivial,SimpleGraph,SimpleGraph.Connected,LE.le,Real, SimpleGraph.b,HAdd.hAdd,OfNat.ofNat,Nat, SimpleGraph.averageEccentricity,Exists,SimpleGraph.Walk,SimpleGraph.Walk.IsHamiltonianProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
theorem conjecture198a (G : SimpleGraph α) (h : G.Connected) (hb : b G ≤ 2 + averageEccentricity G) : ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian := by … - example
WrittenOnTheWallII.GraphConjecture198a.(example at line 53)line 53 sourceSource documentation
The
averageEccentricityinvariant is nonneg for any graph.example (G : SimpleGraph (Fin 3)) : 0 ≤ averageEccentricity G := by …
- example
WrittenOnTheWallII.GraphConjecture198a.(example at line 59)line 59 sourceSource documentation
The invariant
b Gis nonneg.example (G : SimpleGraph (Fin 3)) : 0 ≤ b G := Nat.cast_nonneg _ …