FormalConjectures/ErdosProblems/816.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
4 declarations, 3 contain sorry, 0 declared as axioms
Erdős Problem 816
References:
- erdosproblems.com/816
- [Er91] Erdős, P., Problems and results in combinatorial analysis and combinatorial number theory. Graph theory, combinatorics, and applications, Vol. 1 (Kalamazoo, MI, 1988) (1991), 397-406.
- [ChMa25] K. Chen and J. Ma, A problem of Erdős and Hajnal on paths with equal-degree endpoints. arXiv:2503.19569 (2025).
Imports (1)
- def
Erdos816.HasEqualDegreePathThreeGcontains two vertices of the same degree which are joined by a path of length3line 42 sourceSource documentation
Gcontains two vertices of the same degree which are joined by a path of length3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fintype,SimpleGraphProof uses:
Exists,And,Ne,Eq,Nat,SimpleGraph.degree,Membership.mem,Set,SimpleGraph.neighborSet,Classical.propDecidable,SimpleGraph.Adj,SimpleGraph.Walk,SimpleGraph.Walk.IsPath,SimpleGraph.Walk.length,OfNat.ofNat4 instances, coercions and auxiliary constants left out.
def HasEqualDegreePathThree {V : Type*} [Fintype V] (G : SimpleGraph V) : Prop := … - theorem
Erdos816.erdos_816sorry line 61 sourcedepends on sorry what this means
Statement uses:
Iff,True,Nat,LE.le,OfNat.ofNat,SimpleGraph,Fin,HAdd.hAdd,HMul.hMul,Eq,Finset.card,Sym2,SimpleGraph.edgeFinset,Classical.propDecidable,SimpleGraph.Adj,HPow.hPow, Erdos816.HasEqualDegreePathThreeProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos816.erdos_816.variants.chen_maChen and Ma [ChMa25] proved that, provided sorry line 72 sourceSource documentation
Chen and Ma [ChMa25] proved that, provided $n\geq 600$, all graphs with $2n+1$ vertices and at least $n^2+n$ edges contain two vertices of the same degree joined by a path of length $3$, except $K_{n,n+1}$.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,SimpleGraph,Fin,HAdd.hAdd,HMul.hMul,HPow.hPow,Finset.card,Sym2,SimpleGraph.edgeFinset,Classical.propDecidable,SimpleGraph.Adj,Not,Nonempty,SimpleGraph.Iso,Sum,completeBipartiteGraph, Erdos816.HasEqualDegreePathThreeProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_816.variants.chen_ma : ∀ n : ℕ, 600 ≤ n → ∀ G : SimpleGraph (Fin (2 * n + 1)), n ^ 2 + n ≤ G.edgeFinset.card → ¬ Nonempty (G ≃g completeBipartiteGraph (Fin n) (Fin (n + 1))) → HasEqualDegreePathThree G := by …Mentions: Erdos816.HasEqualDegreePathThree
- theorem
Erdos816.erdos_816.variants.complete_bipartiteThe example of $K_{n,n+1}$ shows that this fails if we only have $n^2+n$ edges sorry line 81 sourceSource documentation
The example of $K_{n,n+1}$ shows that this fails if we only have $n^2+n$ edges.
depends on sorry what this means
Statement uses:
Nat,And,Eq,Finset.card,Sym2,Sum,Fin,HAdd.hAdd,OfNat.ofNat,SimpleGraph.edgeFinset,completeBipartiteGraph,Classical.propDecidable,SimpleGraph.Adj,HPow.hPow,Not, Erdos816.HasEqualDegreePathThreeProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_816.variants.complete_bipartite : ∀ n : ℕ, (completeBipartiteGraph (Fin n) (Fin (n + 1))).edgeFinset.card = n ^ 2 + n ∧ ¬ HasEqualDegreePathThree (completeBipartiteGraph (Fin n) (Fin (n + 1))) := by …Mentions: Erdos816.HasEqualDegreePathThree