FormalConjectures/ErdosProblems/19.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
13 declarations, 4 contain sorry, 0 declared as axioms
Erdős Problem 19
The Erdős–Faber–Lovász conjecture: if $G$ is an edge-disjoint union of $n$ copies of $K_n$, is $\chi(G) = n$?
We model $G$ by a family of $n$ vertex sets of size $n$ (the copies of $K_n$) which pairwise share at most one vertex and which cover the vertex type. Two copies of $K_n$ are edge-disjoint exactly when their vertex sets share at most one vertex.
References:
- erdosproblems.com/19
- [Hi81] Hindman, N., On a conjecture of Erdős, Faber, and Lovász about $n$-colorings. Canad. J. Math. (1981).
- [Ka92] Kahn, J., Coloring nearly-disjoint hypergraphs with $n + o(n)$ colors. J. Combin. Theory Ser. A (1992).
- [KKKMO21] Kang, D. Y., Kelly, T., Kühn, D., Methuku, A. and Osthus, D., A proof of the Erdős–Faber–Lovász conjecture. Ann. of Math. (2023). arXiv:2101.04698
Imports (1)
- structure
Erdos19.EFLConfigA configuration ofnpairwise edge-disjoint copies of $K_n$ covering the vertex typeVline 49 sourceSource documentation
A configuration of
npairwise edge-disjoint copies of $K_n$ covering the vertex typeV.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Natstructure EFLConfig (V : Type*) (n : ℕ) where …
- def
Erdos19.EFLConfig.graphThe union graph: distinct vertices are adjacent iff they lie in a common clique line 64 sourceSource documentation
The union graph: distinct vertices are adjacent iff they lie in a common clique.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,SimpleGraphProof uses:
SimpleGraph.mk,And,Ne,Exists,Fin,Membership.mem,Finset,Erdos19.EFLConfig.A4 instances, coercions and auxiliary constants left out.
def graph : SimpleGraph V where …
- def
Erdos19.EFLConfig.IsSharedA vertex is shared if it lies in two different cliques line 70 sourceSource documentation
A vertex is shared if it lies in two different cliques.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfigProof uses:
Exists,Fin,And,Ne,Membership.mem,Finset,Erdos19.EFLConfig.A2 instances, coercions and auxiliary constants left out.
def IsShared (v : V) : Prop := ∃ i j, i ≠ j ∧ v ∈ C.A i ∧ v ∈ C.A j …
- def
Erdos19.EFLConfig.sharedSetThe finite set of shared vertices line 74 sourceSource documentation
The finite set of shared vertices.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,FinsetProof uses:
Finset.filter, Erdos19.EFLConfig.IsShared,Classical.propDecidable,Finset.biUnion,Fin,Eq,Finset.univ,Erdos19.EFLConfig.A1 instances, coercions and auxiliary constants left out.
noncomputable def sharedSet : Finset V := …
- theorem
Erdos19.EFLConfig.le_chromaticNumberThe graph $G$ contains a copy of $K_n$, so $n \le \chi(G)$ line 79 sourceSource documentation
The graph $G$ contains a copy of $K_n$, so $n \le \chi(G)$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,LE.le,ENat,SimpleGraph.chromaticNumber, Erdos19.EFLConfig.graphProof uses:
Eq,OfNat.ofNat,GT.gt,Or,Nat.eq_zero_or_pos,of_eq_true,Eq.trans,True,congrFun',congrArg,CharP.cast_eq_zero,Eq.symm,SimpleGraph.IsClique,Finset,Erdos19.EFLConfig.A,Fin.mk,Membership.mem,Set,Ne,And.introand 8 more25 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
theorem le_chromaticNumber : (n : ℕ∞) ≤ C.graph.chromaticNumber := by …
- lemma
Erdos19.EFLConfig.eq_of_not_sharedA vertex that is not shared lies in exactly one clique line 90 sourceSource documentation
A vertex that is not shared lies in exactly one clique.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,Not, Erdos19.EFLConfig.IsShared,Fin,Membership.mem,Finset,Erdos19.EFLConfig.A,EqProof uses:
Decidable.byContradiction,Exists.intro,Exists,And,Ne,And.intro5 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
lemma eq_of_not_shared {v : V} (hv : ¬ C.IsShared v) {i j : Fin n} (hi : v ∈ C.A i) (hj : v ∈ C.A j) : i = j := by … - theorem
Erdos19.EFLConfig.colorable_of_sharedColoringIf the shared vertices can be coloured with $n$ colours so that shared vertices in a common clique get distinct colours, then $G$ is $n$-colourable line 99 sourceSource documentation
If the shared vertices can be coloured with $n$ colours so that shared vertices in a common clique get distinct colours, then $G$ is $n$-colourable.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,Fin,Membership.mem,Finset,Erdos19.EFLConfig.A, Erdos19.EFLConfig.IsShared,Eq,SimpleGraph.Colorable, Erdos19.EFLConfig.graphProof uses:
Finset.filter,Not,Classical.propDecidable,SDiff.sdiff,Finset.univ,Finset.image,LE.le,Finset.card,HAdd.hAdd,Eq.mpr,id,congrArg,Eq.symm,Erdos19.EFLConfig.card_eq,Finset.card_filter_add_card_filter_not,Finset.card_image_le,HSub.hSub,of_eq_true,Eq.trans,Trueand 42 more26 instances, coercions and auxiliary constants left out.
Tactic trace: 54 steps
Open to load the checked before-and-after goal states.
theorem colorable_of_sharedColoring (c : V → Fin n) (hc : ∀ i u v, u ∈ C.A i → v ∈ C.A i → C.IsShared u → C.IsShared v → c u = c v → u = v) : C.graph.Colorable n := by …Mentions: c
- theorem
Erdos19.EFLConfig.card_sharedSet_leThere are at most $\binom{n}{2}$ shared vertices, since two cliques share at most one vertex line 155 sourceSource documentation
There are at most $\binom{n}{2}$ shared vertices, since two cliques share at most one vertex.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,LE.le,Finset.card, Erdos19.EFLConfig.sharedSet,Nat.choose,OfNat.ofNatProof uses:
Finset,Fin,dite, Erdos19.EFLConfig.IsShared,Classical.propDecidable,Insert.insert,Classical.choose,Exists,And,Ne,Membership.mem,Erdos19.EFLConfig.A,Singleton.singleton,Classical.choose_spec,Not,EmptyCollection.emptyCollection,Finset.powersetCard,Finset.univ,And.right,Finset.biUnionand 42 more24 instances, coercions and auxiliary constants left out.
Tactic trace: 31 steps
Open to load the checked before-and-after goal states.
theorem card_sharedSet_le : C.sharedSet.card ≤ n.choose 2 := by …
- theorem
Erdos19.erdos_19If $G$ is an edge-disjoint union of $n$ copies of $K_n$, then is $\chi(G) = n$? sorry line 195 sourceSource documentation
If $G$ is an edge-disjoint union of $n$ copies of $K_n$, then is $\chi(G) = n$?
depends on sorry what this means
Statement uses:
Iff,True,Nat, Erdos19.EFLConfig,Eq,ENat,SimpleGraph.chromaticNumber, Erdos19.EFLConfig.graphProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat5 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_19 : answer(sorry) ↔ ∀ (V : Type) (n : ℕ) (C : EFLConfig V n), C.graph.chromaticNumber = n := by …Mentions: Erdos19.EFLConfig
- theorem
Erdos19.erdos_19.variants.le_threeThe Erdős–Faber–Lovász conjecture holds for $n \le 3$ line 204 sourceSource documentation
The Erdős–Faber–Lovász conjecture holds for $n \le 3$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat, Erdos19.EFLConfig,LE.le,OfNat.ofNat,Eq,ENat,SimpleGraph.chromaticNumber, Erdos19.EFLConfig.graphProof uses:
le_antisymm,SimpleGraph.Colorable.chromaticNumber_le,Finset.card, Erdos19.EFLConfig.sharedSet,Nat.choose, Erdos19.EFLConfig.card_sharedSet_le,dite,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Eq.symm,Nat.rawCast,Mathlib.Tactic.IntervalCases.of_le_right,Mathlib.Meta.NormNum.IsNat.to_raw_eq,Mathlib.Meta.NormNum.isNat_ofNat,Not,Nat.ge_of_not_ltand 40 more29 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
theorem erdos_19.variants.le_three {V : Type*} {n : ℕ} (C : EFLConfig V n) (hn : n ≤ 3) : C.graph.chromaticNumber = n := by …Mentions: Erdos19.EFLConfig
- theorem
Erdos19.erdos_19.variants.lt_tenHindman [Hi81] proved the Erdős–Faber–Lovász conjecture for $n < 10$ sorry line 230 sourceSource documentation
Hindman [Hi81] proved the Erdős–Faber–Lovász conjecture for $n < 10$.
depends on sorry what this means
Statement uses:
Nat, Erdos19.EFLConfig,LT.lt,OfNat.ofNat,Eq,ENat,SimpleGraph.chromaticNumber, Erdos19.EFLConfig.graphProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous8 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_19.variants.lt_ten : ∀ (V : Type) (n : ℕ) (C : EFLConfig V n), n < 10 → C.graph.chromaticNumber = n := by …Mentions: Erdos19.EFLConfig
- theorem
Erdos19.erdos_19.variants.kahnKahn [Ka92] proved that $\chi(G) \le (1 + o(1))n$ sorry line 238 sourceSource documentation
Kahn [Ka92] proved that $\chi(G) \le (1 + o(1))n$.
depends on sorry what this means
Statement uses:
Real,GT.gt,OfNat.ofNat,Filter.Eventually,Nat, Erdos19.EFLConfig,SimpleGraph.Colorable, Erdos19.EFLConfig.graph,Nat.floor,HMul.hMul,HAdd.hAdd,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous37 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_19.variants.kahn : ∀ ε > (0 : ℝ), ∀ᶠ n in atTop, ∀ (V : Type) (C : EFLConfig V n), C.graph.Colorable ⌊(1 + ε) * n⌋₊ := by …Mentions: Erdos19.EFLConfig
- theorem
Erdos19.erdos_19.variants.large_nKang, Kelly, Kühn, Methuku and Osthus [KKKMO21] proved the Erdős–Faber–Lovász conjecture for all sufficiently large $n$ sorry line 248 sourceSource documentation
Kang, Kelly, Kühn, Methuku and Osthus [KKKMO21] proved the Erdős–Faber–Lovász conjecture for all sufficiently large $n$.
depends on sorry what this means
Statement uses:
Filter.Eventually,Nat, Erdos19.EFLConfig,Eq,ENat,SimpleGraph.chromaticNumber, Erdos19.EFLConfig.graph,Filter.atTopProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat7 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_19.variants.large_n : ∀ᶠ n in atTop, ∀ (V : Type) (C : EFLConfig V n), C.graph.chromaticNumber = n := by …Mentions: Erdos19.EFLConfig