FormalConjectures/ErdosProblems/835.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
15 declarations, 10 contain sorry, 0 declared as axioms
Imports (1)
Imported by 1 file
- def
Erdos835.PropertyThe property that for a given $k$, the $k$-subsets of a $2k$-set can be colored with $k+1$ colors such that any $(k+1)$-subset contains all colors line 40 sourceSource documentation
The property that for a given $k$, the $k$-subsets of a $2k$-set can be colored with $k+1$ colors such that any $(k+1)$-subset contains all colors.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Subtype,Finset,Fin,HMul.hMul,OfNat.ofNat,Eq,Finset.card,Exists,HAdd.hAdd,Finset.image,Finset.filter,LT.lt,Finset.univ15 instances, coercions and auxiliary constants left out.
def Property (k : ℕ) : Prop := …
- theorem
Erdos835.erdos_835Documented declaration: erdos_835 sorry line 52 sourceSource documentation
Does there exist a $k>2$ such that the $k$-sized subsets of {1,...,2k} can be coloured with $k+1$ colours such that for every $A\subset \{1,\ldots,2k\}$ with $\lvert A\rvert=k+1$ all $k+1$ colours appear among the $k$-sized subsets of $A$?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And,GT.gt,OfNat.ofNat, Erdos835.PropertyProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_835 : answer(sorry) ↔ ∃ k > 2, Property k := by …
Mentions: Erdos835.Property
- theorem
Erdos835.property_iff_chromaticNumbersorry line 56 sourcedepends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Iff,Eq,ENat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Finset.card, SimpleGraph.johnson,HAdd.hAdd, Erdos835.PropertyProof 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
Erdos835.erdos_835.variants.johnsonAlternative statement of Erdős Problem 835 using the chromatic number of the Johnson graph sorry line 67 sourceSource documentation
Alternative statement of Erdős Problem 835 using the chromatic number of the Johnson graph. This is equivalent to asking whether there exists $k > 2$ such that the chromatic number of the Johnson graph $J(2k, k)$ is $k+1$.
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,Eq,ENat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,OfNat.ofNat,HAdd.hAdd,Finset.card, SimpleGraph.johnsonProof 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_835.variants.johnson : answer(sorry) ↔ ∃ l, -- making sure k > 2 letI k := l + 3 … - theorem
Erdos835.johnsonGraph_2k_k_chromaticNumber_known_casesIt is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs sorry line 78 sourceSource documentation
It is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs.
L4DEL explanation
It is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs.
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,GT.gt,ENat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnson,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous24 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem johnsonGraph_2k_k_chromaticNumber_known_cases (k : ℕ) (hk : 3 ≤ k) (hk' : k ≤ 8) : J(2 * k, k).chromaticNumber > k + 1 := by … - theorem
Erdos835.johnsonGraph_18_9_chromaticNumberThe smallest case not on this page is $k=9$: But that one can be solved as well: The chromatic number of $J(18, 9)$ is at least $11$ sorry line 88 sourceSource documentation
The smallest case not on this page is $k=9$: But that one can be solved as well: The chromatic number of $J(18, 9)$ is at least $11$.
depends on sorry what this means
Statement uses:
GT.gt,ENat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,OfNat.ofNat,Nat,Eq,Finset.card, SimpleGraph.johnson,HAdd.hAddProof 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 johnsonGraph_18_9_chromaticNumber : J(18, 9).chromaticNumber > 9 + 1 := by …
- def
Erdos835.johnsonBoundJohnson's upper bound on the maximum sizeA(n, d, w)of an-dimensional binary code of distancedand weightwis as follows: * Ifd > 2 * w, thenA(n, d, w) = 1line 95 sourceSource documentation
Johnson's upper bound on the maximum size
A(n, d, w)of an-dimensional binary code of distancedand weightwis as follows:- If
d > 2 * w, thenA(n, d, w) = 1. - If
d ≤ 2 * w, thenA(n, d, w) ≤ ⌊n / w * A(n - 1, d, w - 1)⌋.
no axioms what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def johnsonBound : ℕ → ℕ → ℕ → ℕ | 0, _d, _w => 1 | _n, _d, 0 => 1 | n + 1, d, w + 1 => if 2 * (w + 1) < d then 1 else (n + 1) * johnsonBound n d w / (w + 1) /-- Johnson's bound for the independence number of the Johnson graph. -/ @[category research solved, AMS 5]
Mentions: AMS
- If
- lemma
Erdos835.indepNum_johnson_le_johnsonBoundJohnson's bound for the independence number of the Johnson graph sorry line 102 sourceSource documentation
Johnson's bound for the independence number of the Johnson graph.
depends on sorry what this means
Statement uses:
Nat,LE.le,SimpleGraph.indepNum,Subtype,Finset,Fin,Eq,Finset.card, SimpleGraph.johnson, Erdos835.johnsonBound,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
lemma indepNum_johnson_le_johnsonBound : α(J(n, k)) ≤ johnsonBound n 4 k := sorry …
Mentions: Erdos835.johnsonBound
- lemma
Erdos835.div_johnsonBound_le_chromaticNum_johnsonJohnson's bound for the chromatic number of the Johnson graph line 106 sourceSource documentation
Johnson's bound for the chromatic number of the Johnson graph.
depends on sorry what this means
Statement uses:
Nat,LE.le,ENat,Nat.ceil,NNRat,HDiv.hDiv,Nat.choose, Erdos835.johnsonBound,OfNat.ofNat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,Eq,Finset.card, SimpleGraph.johnsonProof uses:
LT.lt,Or,lt_or_ge,of_eq_true,Eq.trans,True,congrFun',congrArg,Nat.choose_eq_zero_of_lt,CharP.cast_eq_zero,zero_div,Nat.ceil_zero,Nonempty,Eq.mpr,Exists,id,Eq.mp,Finset.Nonempty,Finset.powersetCard,Finset.univand 20 more111 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
lemma div_johnsonBound_le_chromaticNum_johnson : ⌈(n.choose k / johnsonBound n 4 k : ℚ≥0)⌉₊ ≤ χ(J(n, k)) := by …Mentions: Erdos835.johnsonBound
- theorem
Erdos835.chromaticNumber_johnson_2k_k_lower_boundIt is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs sorry line 117 sourceSource documentation
It is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs.
L4DEL explanation
It is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs.
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,LT.lt,ENat,HAdd.hAdd,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnsonProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous24 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem chromaticNumber_johnson_2k_k_lower_bound (hk : 3 ≤ k) (hk' : k ≤ 8) : k + 1 < J(2 * k, k).chromaticNumber := by … - theorem
Erdos835.chromaticNumber_johnson_2k_k_lower_bound_oddIt is also known that for $3 \leq k \leq 203$ odd, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs line 124 sourceSource documentation
It is also known that for $3 \leq k \leq 203$ odd, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs.
L4DEL explanation
It is also known that for $3 \leq k \leq 203$ odd, the chromatic number of $J(2k, k)$ is greater than $k+1$, see Johnson graphs.
Sources and attribution: Pinned Lean source (1646ca16afd6)
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Odd,LT.lt,ENat,HAdd.hAdd,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnsonProof uses:
lt_imp_lt_of_le_of_le,Nat.ceil,NNRat,HDiv.hDiv,Nat.choose, Erdos835.johnsonBound,le_refl, Erdos835.div_johnsonBound_le_chromaticNum_johnson42 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem chromaticNumber_johnson_2k_k_lower_bound_odd (hk : 3 ≤ k) (hk' : k ≤ 300) (hk_odd : Odd k) : k + 1 < J(2 * k, k).chromaticNumber := by … - theorem
Erdos835.johnson_chromaticNumber_oddIt can be seen that the chromatic number of $J(2k,k)$ is $>k+1$ for all odd $k>2$ sorry line 133 sourceSource documentation
It can be seen that the chromatic number of $J(2k,k)$ is $>k+1$ for all odd $k>2$.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Odd,ENat,HAdd.hAdd,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnsonProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
theorem johnson_chromaticNumber_odd (k : ℕ) (hk : 2 < k) (h : Odd k) : k + 1 < J(2 * k, k).chromaticNumber := … - theorem
Erdos835.johnson_chromaticNumber_compositeMa and Tang have proved that the chromatic number of $J(2k,k)$ is $>k+1$ for all $k>2$ not of the form $p-1$ for prime $p$ sorry line 142 sourceSource documentation
Ma and Tang have proved that the chromatic number of $J(2k,k)$ is $>k+1$ for all $k>2$ not of the form $p-1$ for prime $p$.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat, Nat.Composite,HAdd.hAdd,ENat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnsonProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
theorem johnson_chromaticNumber_composite (k : ℕ) (hk : 2 < k) (h : (k + 1).Composite) : k + 1 < J(2 * k, k).chromaticNumber := … - theorem
Erdos835.johnsonGraph_chromaticNumber_odd_of_johnson_chromaticNumber_compositeMa and Tang's result implies the cases for odd $k$ line 150 sourceSource documentation
Ma and Tang's result implies the cases for odd $k$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat, Nat.Composite,HAdd.hAdd,ENat,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnson,OddProof uses:
And.intro,Not,Nat.Prime,Decidable.byContradiction,Eq.mpr,Exists,And,Dvd.dvd,LE.le,id,congrArg,propext,Nat.not_prime_iff_exists_dvd_lt,Exists.intro,Iff.mp,Even,even_iff_two_dvd,Odd.add_one49 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem johnsonGraph_chromaticNumber_odd_of_johnson_chromaticNumber_composite : (type_of% johnson_chromaticNumber_composite) → (type_of% johnson_chromaticNumber_odd) := by …Mentions: Erdos835.johnson_chromaticNumber_composite, Erdos835.johnson_chromaticNumber_odd
- theorem
Erdos835.johnson_chromaticNumberIs the chromatic number ofJ(2 * k, k)always at leastk + 2? sorry line 162 sourceSource documentation
Is the chromatic number of
J(2 * k, k)always at leastk + 2?depends on sorry what this means
Statement uses:
Iff,True,Nat,GE.ge,OfNat.ofNat,LE.le,ENat,HAdd.hAdd,SimpleGraph.chromaticNumber,Subtype,Finset,Fin,HMul.hMul,Eq,Finset.card, SimpleGraph.johnsonProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous24 instances, coercions and auxiliary constants left out.
theorem johnson_chromaticNumber : answer(sorry) ↔ ∀ k ≥ 3, k + 2 ≤ J(2 * k, k).chromaticNumber := …