FormalConjectures/ErdosProblems/781.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, 3 contain sorry, 0 declared as axioms
Erdős Problem 781
References:
- erdosproblems.com/781
- [BEF90] Brown, T. C. and Erdős, P. and Freedman, A. R., Quasi-progressions and descending waves. J. Combin. Theory Ser. A (1990), 81-95.
- [AlSp89] Alon, N. and Spencer, Joel, Ascending waves. J. Combin. Theory Ser. A (1989), 275-287.
Imports (1)
- def
Erdos781.IsDescendingWaveA $k$-term descending wave is a sequence $x_1<\cdots <x_k$ such that, for $1<j<k$, $x_j \geq \frac{x_{j+1}+x_{j-1}}{2}$ line 39 sourceSource documentation
A $k$-term descending wave is a sequence $x_1<\cdots <x_k$ such that, for $1<j<k$, $x_j \geq \frac{x_{j+1}+x_{j-1}}{2}$.
standard axioms: propext what this means
Statement uses:
Nat,FinProof uses:
And,StrictMono,Eq,HAdd.hAdd,OfNat.ofNat,LE.le,HMul.hMul10 instances, coercions and auxiliary constants left out.
def IsDescendingWave {k : ℕ} (x : Fin k → ℕ) : Prop := … - def
Erdos781.ff kis the minimalnsuch that any $2$-colouring of $\{1,\ldots,n\}$ (identified withFin n) contains a monochromatic $k$-term descending wave line 45 sourceSource documentation
f kis the minimalnsuch that any $2$-colouring of $\{1,\ldots,n\}$ (identified withFin n) contains a monochromatic $k$-term descending wave.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,Fin,OfNat.ofNat,Exists,And, Erdos781.IsDescendingWave,Eq3 instances, coercions and auxiliary constants left out.
noncomputable def f (k : ℕ) : ℕ := …
- theorem
Erdos781.erdos_781.parts.isorry line 60 sourcedepends on sorry what this means
Statement uses:
Asymptotics.IsTheta,Nat,Real,Filter.atTop, Erdos781.f,HPow.hPow,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous18 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos781.erdos_781.parts.iisorry line 70 sourcedepends on sorry what this means
Statement uses:
Iff,False,Nat,GE.ge,OfNat.ofNat,Eq, Erdos781.f,HAdd.hAdd,HSub.hSub,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous20 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos781.erdos_781.variants.brown_erdos_freedmanBrown, Erdős, and Freedman [BEF90] proved $k^2-k+1\leq f(k) \leq \frac{k^3-4k+9}{3}$ sorry line 75 sourceSource documentation
Brown, Erdős, and Freedman [BEF90] proved $k^2-k+1\leq f(k) \leq \frac{k^3-4k+9}{3}$.
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,And,HAdd.hAdd,HSub.hSub,HPow.hPow, Erdos781.f,Rat,HDiv.hDiv,HMul.hMulProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous42 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_781.variants.brown_erdos_freedman (k : ℕ) (hk : 1 ≤ k) : k ^ 2 - k + 1 ≤ f k ∧ (f k : ℚ) ≤ (k ^ 3 - 4 * k + 9) / 3 := by …Mentions: Erdos781.f