FormalConjectures/WrittenOnTheWallII/160.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
5 declarations, 1 contain sorry, 0 declared as axioms
Written on the Wall II - Conjecture 160
Reference: E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc
Definitions
For a vertex $v$ in $G$, $T(v)$ is the number of triangles incident to $v$: $$T(v) = |\{\{u, w\} \subseteq N(v) \mid u \sim w\}|$$ i.e., the number of pairs of neighbors of $v$ that are themselves adjacent.
The invariant maxTrianglesAtVertex G is the maximum of $T(v)$ over all vertices.
Conjecture 160 uses both $\max_v T(v)$ and $\chi_{C_4}(G)$, the $C_4$-free
characteristic function: it is 1 when $G$ contains no cycle of length four
and 0 otherwise. The cycle need not be induced. These invariants lower-bound
the WOWII invariant $L_s(G)$, the maximum number of leaves over all spanning
trees of $G$ (exposed as SimpleGraph.Ls G : ℝ).
The earlier formalization used the number of induced four-cycles. The historical conjecture instead uses this binary $C_4$-free indicator.
Provenance. Statement corrected by Dominic Dabish.
Imports (1)
- def
WrittenOnTheWallII.GraphConjecture160.maxTrianglesAtVertexThe maximum number of triangles incident to any vertex in $G$ line 57 sourceSource documentation
The maximum number of triangles incident to any vertex in $G$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,DecidableEq,Nontrivial,SimpleGraph,DecidableRel,SimpleGraph.Adj,NatProof uses:
Finset.max',Finset.image, SimpleGraph.numTrianglesAtVertex,Finset.univ3 instances, coercions and auxiliary constants left out.
noncomputable def maxTrianglesAtVertex (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ := …
- theorem
WrittenOnTheWallII.GraphConjecture160.conjecture160sorry line 84 sourcedepends on sorry what this means
Statement uses:
Fintype,DecidableEq,Nontrivial,SimpleGraph,DecidableRel,SimpleGraph.Adj,SimpleGraph.Connected,Nat,Finset.max',Finset.image, SimpleGraph.indepNeighborsCard,Finset.univ, WrittenOnTheWallII.GraphConjecture160.maxTrianglesAtVertex,ite,Exists,SimpleGraph.Walk,And,SimpleGraph.Walk.IsCycle,Eq,SimpleGraph.Walk.lengthand 7 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous24 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
- example
WrittenOnTheWallII.GraphConjecture160.(example at line 95)line 95 sourceSource documentation
In $K_3$, every vertex has $1$ triangle incident to it.
example : numTrianglesAtVertex (⊤ : SimpleGraph (Fin 3)) (0 : Fin 3) = 1 := by …
- example
WrittenOnTheWallII.GraphConjecture160.(example at line 101)line 101 sourceSource documentation
In $K_3$,
maxTrianglesAtVertex = 1.example : maxTrianglesAtVertex (⊤ : SimpleGraph (Fin 3)) = 1 := by …
Mentions: WrittenOnTheWallII.GraphConjecture160.maxTrianglesAtVertex
- example
WrittenOnTheWallII.GraphConjecture160.(example at line 108)line 108 sourceSource documentation
In the path $P_3$, vertex $1$ is adjacent to $0$ and $2$, but $0$ and $2$ are not adjacent. So $T(1) = 0$.
example : numTrianglesAtVertex (SimpleGraph.fromEdgeSet {s(0,1), s(1,2)} : SimpleGraph (Fin 3)) (1 : Fin 3) = 0 := by …