FormalConjectures/WrittenOnTheWallII/GraphConjecture32.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 32
Reference: E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc
Imports (1)
- theorem
WrittenOnTheWallII.GraphConjecture32.conjecture32WOWII Conjecture 32 For a simple connected graph sorry line 53 sourceSource documentation
WOWII Conjecture 32
For a simple connected graph $G$, $\operatorname{path}(G) \ge \operatorname{dist}\_{\operatorname{avg}}(A) + 0.5 \cdot \operatorname{ecc}\_{\operatorname{avg}}(M)$, where $\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$, $A$ is the set of minimum-degree vertices, $M$ is the set of maximum-degree vertices, $\operatorname{dist}\_{\operatorname{avg}}(A)$ is the average of all nonzero distances $\operatorname{dist}\_G(u, v)$ with $u, v \in A$ (i.e. the average over ordered pairs of distinct vertices of $A$; it is taken to be $0$ when $A$ has fewer than two vertices), and $\operatorname{ecc}\_{\operatorname{avg}}(M)$ is the average eccentricity of the vertices in $M$.
The conjecture is false, the authors present a counterexample: "The path on 5 vertices is a counterexample, path = 5, distavg(A) = 4 and the average of eccentricity of maximum degree vertices is 8/3."
L4DEL explanation
WOWII Conjecture 32 For a simple connected graph $G$, $\operatorname{path}(G) \ge \operatorname{dist}\_{\operatorname{avg}}(A) + 0.5 \cdot \operatorname{ecc}\_{\operatorname{avg}}(M)$, where $\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$, $A$ is the set of minimum-degree vertices, $M$ is the set of maximum-degree vertices, $\operatorname{dist}\_{\operatorname{avg}}(A)$ is the average of all nonzero distances $\operatorname{dist}\_G(u, v)$ with $u, v \in A$ (i.e. the average over ordered pairs of distinct vertices of $A$; it is taken to be $0$ when $A$ has fewer than two vertices), and $\operatorname{ecc}\_{\operatorname{avg}}(M)$ is the average eccentricity of the vertices in $M$. The conjecture is false, the authors present a counterexample: "The path on 5 vertices is a counterexample, path = 5, distavg(A) = 4 and the average of eccentricity of maximum degree vertices is 8/3."
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Iff,False,Fintype,DecidableEq,Nontrivial,SimpleGraph,DecidableRel,SimpleGraph.Adj,SimpleGraph.Connected,Finset,Finset.filter,Eq,Nat,SimpleGraph.degree,Membership.mem,Set,SimpleGraph.neighborSet,SimpleGraph.minDegree,Finset.univ,SimpleGraph.maxDegreeand 16 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous44 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem conjecture32 : answer(False) ↔ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α] (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected), let A : Finset α := Finset.univ.filter (fun v => G.degree v = G.minDegree) … - example
WrittenOnTheWallII.GraphConjecture32.(example at line 67)line 67 sourceSource documentation
The
path Ginvariant cast to ℝ is nonneg.example (G : SimpleGraph (Fin 3)) : 0 ≤ (path G : ℝ) := Nat.cast_nonneg _ …
- example
WrittenOnTheWallII.GraphConjecture32.(example at line 71)line 71 sourceSource documentation
In
K₃, the max degree is 2.example : (⊤ : SimpleGraph (Fin 3)).maxDegree = 2 := by decide …