FormalConjectures/ErdosProblems/609.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, 1 contain sorry, 0 declared as axioms
Erdős Problem 609
References:
- erdosproblems.com/609
- [ErGr75] Erdős, P. and Graham, R. L., On partition theorems for finite graphs. Colloq. Math. Soc. János Bolyai (1975).
- [Ch97] Chung, F., Open problems of Paul Erdős in graph theory. J. Graph Theory (1997), 3-36.
- [DaJo17] Day, A. N. and Johnson, J. R., Multicolour Ramsey numbers of odd cycles. J. Combin. Theory Ser. B (2017), 56-63.
- [GiHu24] Girão, A. and Hunter, Z., Monochromatic odd cycles in edge-coloured complete graphs. arXiv:2412.07708 (2024).
- [JaYi25] Janzer, O. and Yip, F., Short monochromatic odd cycles. arXiv:2506.14910 (2025).
Imports (1)
- def
Erdos609.monochromaticGraphThe monochromatic subgraph of coloriunder edge coloringc : Sym2 V → Fin nline 45 sourceSource documentation
The monochromatic subgraph of color
iunder edge coloringc : Sym2 V → Fin n.standard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Sym2,Fin,SimpleGraphProof uses:
SimpleGraph.fromRel,Eq,Sym2.mkdef monochromaticGraph {V : Type*} {n : ℕ} (c : Sym2 V → Fin n) (i : Fin n) : SimpleGraph V := …Mentions: c
- def
Erdos609.MonochromaticHasOddCycleLeA coloringchas a monochromatic odd cycle of length at mostmline 51 sourceSource documentation
A coloring
chas a monochromatic odd cycle of length at mostm.standard axioms: Quot.sound, propext what this means
Statement uses:
Nat,Sym2,Fin,HAdd.hAdd,HPow.hPow,OfNat.ofNatProof uses:
Exists,And,Membership.mem,Set, SimpleGraph.oddCycleLengths, Erdos609.monochromaticGraph,LE.le16 instances, coercions and auxiliary constants left out.
def MonochromaticHasOddCycleLe (n : ℕ) (m : ℕ) (c : Sym2 (Fin (2 ^ n + 1)) → Fin n) : Prop := …
Mentions: c
- def
Erdos609.f$f(n)$ is the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$ line 58 sourceSource documentation
$f(n)$ is the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,Sym2,Fin,HAdd.hAdd,HPow.hPow,OfNat.ofNat, Erdos609.MonochromaticHasOddCycleLe8 instances, coercions and auxiliary constants left out.
noncomputable def f (n : ℕ) : ℕ := …
- theorem
Erdos609.erdos_609Let $f(n)$ be the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$ sorry line 66 sourceSource documentation
Let $f(n)$ be the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours then there must be a monochromatic odd cycle of length at most $m$. Estimate $f(n)$.
depends on sorry what this means
Statement uses:
Asymptotics.IsTheta,Nat,Real,Filter.atTop, Erdos609.f,sorryAx,Bool.falseProof uses:
Lean.Name,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat9 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_609 : (fun n ↦ (f n : ℝ)) =Θ[atTop] (answer(sorry) : ℕ → ℝ) := by …Mentions: Erdos609.f