FormalConjectures/ErdosProblems/1063.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
8 declarations, 6 contain sorry, 0 declared as axioms
Erdős Problem 1063
References:
- erdosproblems.com/1063
- [ErSe83] Erdos, P. and Selfridge, J. L., Problem 6447. Amer. Math. Monthly (1983), 710.
- [Gu04] Guy, Richard K., Unsolved problems in number theory. (2004), Problem B31.
- [Mo85] Monier, Jean-Marie, Problems and Solutions: Solutions of Advanced Problems: 6447. Amer. Math. Monthly 92 (1985), 435-436.
- [Ku+26] Kung, P.-N., Song, L., Hwang, D., Yoon, J., Li, C.-L., Severini, S., Olšák, M., Lockhart, E., Le, Q. V., Gokturk, B., Luong, T., Pfister, T., & Peng, N. (2026). LEAP: Supercharging LLMs for Formal Mathematics with Agentic Frameworks. arXiv:2606.03303.
Imports (1)
Imported by 1 file
- def
Erdos1063.nLet $n_k$ be the least $n \ge 2k$ such that all but one of the integers $n - i$ with $0 \le i < k$ divide $\binom{n}{k}$ line 46 sourceSource documentation
Let $n_k$ be the least $n \ge 2k$ such that all but one of the integers $n - i$ with $0 \le i < k$ divide $\binom{n}{k}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,And,LE.le,HMul.hMul,OfNat.ofNat,Exists,LT.lt,Not,Dvd.dvd,HSub.hSub,Nat.choose,Ne9 instances, coercions and auxiliary constants left out.
noncomputable def n (k : ℕ) : ℕ := …
- theorem
Erdos1063.erdos_1063.better_upperEstimate $n_k$ by finding a better upper bound than Cambie's $n_k \leq k \cdot \operatorname{lcm}(1, \dotsc, k-1)$ sorry line 59 sourceSource documentation
Estimate $n_k$ by finding a better upper bound than Cambie's $n_k \leq k \cdot \operatorname{lcm}(1, \dotsc, k-1)$.
The comparator takes its least common multiple in
ℕand casts the result. Writing the ascription as((… ).lcm (fun n : ℕ => n) : ℝ)instead puts it on theFinset.lcmapplication, so the coercion lands onnand thelcmis taken inℝ, wherelcmof non-zero elements is1and the whole comparator collapses tok.depends on sorry what this means
Statement uses:
Nat,Real,sorryAx,Bool.false,And,Asymptotics.IsBigO,Filter.atTop, Erdos1063.n,Asymptotics.IsLittleO,HMul.hMul,Finset.lcm,Finset.Icc,OfNat.ofNat,HSub.hSub,idProof uses:
Lean.Name,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_1063.better_upper : let upper_bound : ℕ → ℝ := answer(sorry) … - theorem
Erdos1063.erdos_1063.variants.subexponential_upper_boundsorry line 76 sourcedepends on sorry what this means
Statement uses:
Nat,Real,Real.exp,HMul.hMul,HDiv.hDiv,Real.log,HAdd.hAdd,OfNat.ofNat,And,Asymptotics.IsBigO,Filter.atTop, Erdos1063.n,Asymptotics.IsLittleO,Finset.lcm,Finset.Icc,HSub.hSub,idProof 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
Erdos1063.erdos_1063.variants.exists_exceptionsorry line 92 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,HMul.hMul,Exists,And,LT.lt,Not,Dvd.dvd,HSub.hSub,Nat.chooseProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos1063.erdos_1063.variants.small_valuesThe initial values satisfy $n_2 = 4$, $n_3 = 6$, $n_4 = 9$, and $n_5 = 12$ ([Gu04], Problem B31) line 98 sourceSource documentation
The initial values satisfy $n_2 = 4$, $n_3 = 6$, $n_4 = 9$, and $n_5 = 12$ ([Gu04], Problem B31).
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
And,Eq,Nat, Erdos1063.n,OfNat.ofNatProof uses:
And.intro,le_antisymm,Nat.sInf_le,Set.ofPred,LE.le,HMul.hMul,Exists,LT.lt,Not,Dvd.dvd,HSub.hSub,Nat.choose,Ne,of_decide_eq_true,Membership.mem,Set,id,Bool,Decidable.decide,Bool.trueand 16 more34 instances, coercions and auxiliary constants left out.
Tactic trace: 60 steps
Open to load the checked before-and-after goal states.
theorem erdos_1063.variants.small_values : n 2 = 4 ∧ n 3 = 6 ∧ n 4 = 9 ∧ n 5 = 12 := by …Mentions: Erdos1063.n
- theorem
Erdos1063.erdos_1063.variants.monier_upper_boundsorry line 142 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat, Erdos1063.n,Nat.factorialProof 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
Erdos1063.erdos_1063.variants.cambie_upper_boundsorry line 157 sourcedepends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat, Erdos1063.n,HMul.hMul,Finset.lcm,Finset.Icc,HSub.hSub,idProof 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
Erdos1063.erdos_1063.variants.exp_upper_boundsorry line 165 sourcedepends on sorry what this means
Statement uses:
Exists,Nat,Real,And,Filter.Tendsto,Filter.atTop,nhds,OfNat.ofNat,LE.le, Erdos1063.n,Real.exp,HMul.hMul,HAdd.hAddProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous31 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.