FormalConjectures/ErdosProblems/450.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
7 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 450
Reference: erdosproblems.com/450
Imports (1)
- def
Erdos450.HasMediumDivisormhas a divisor strictly betweennand2nline 31 sourceSource documentation
mhas a divisor strictly betweennand2n.no axioms what this means
Statement uses:
NatProof uses:
Exists,And,LT.lt,HMul.hMul,OfNat.ofNat,Dvd.dvd5 instances, coercions and auxiliary constants left out.
def HasMediumDivisor (n m : ℕ) : Prop := ∃ d : ℕ, n < d ∧ d < 2 * n ∧ d ∣ m …
- def
Erdos450.localCountThe number of integers strictly betweenxandx + ywith a divisor in(n, 2n)line 36 sourceSource documentation
The number of integers strictly between
xandx + ywith a divisor in(n, 2n).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.card,Finset.filter, Erdos450.HasMediumDivisor,Classical.propDecidable,Finset.Ioo,HAdd.hAdd4 instances, coercions and auxiliary constants left out.
noncomputable def localCount (n x y : ℕ) : ℕ := …
- def
Erdos450.UniformlySparseEvery window(x, x+y)has at mostε yintegers with a divisor in(n, 2n)line 40 sourceSource documentation
Every window
(x, x+y)has at mostε yintegers with a divisor in(n, 2n).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,NatProof uses:
LE.le, Erdos450.localCount,HMul.hMul5 instances, coercions and auxiliary constants left out.
def UniformlySparse (ε : ℝ) (n y : ℕ) : Prop := ∀ x : ℕ, (localCount n x y : ℝ) ≤ ε * (y : ℝ)
Mentions: Erdos450.localCount
- def
Erdos450.IsSufficientScaleY ε nis a sufficient window length: for everyε > 0, all largen, and everyy ≥ Y ε n, the window isε-sparse line 44 sourceSource documentation
Y ε nis a sufficient window length: for everyε > 0, all largen, and everyy ≥ Y ε n, the window isε-sparse.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,NatProof uses:
LT.lt,OfNat.ofNat,Exists,LE.le, Erdos450.UniformlySparse4 instances, coercions and auxiliary constants left out.
def IsSufficientScale (Y : ℝ → ℕ → ℕ) : Prop := …
- def
Erdos450.windowThresholdThe least window lengthy₀such that every window(x, x+y)withy ≥ y₀isε-sparse, or⊤if no suchy₀exists line 49 sourceSource documentation
The least window length
y₀such that every window(x, x+y)withy ≥ y₀isε-sparse, or⊤if no suchy₀exists.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Real,Nat,ENatProof uses:
iInf,Subtype,GE.ge, Erdos450.UniformlySparse11 instances, coercions and auxiliary constants left out.
noncomputable def windowThreshold (ε : ℝ) (n : ℕ) : ℕ∞ := …
- theorem
Erdos450.erdos_450How large must $y=y(\epsilon,n)$ be such that the number of integers in $(x,x+y)$ with a divisor in $(n,2n)$ is at most $\epsilon y$? sorry line 62 sourceSource documentation
How large must $y=y(\epsilon,n)$ be such that the number of integers in $(x,x+y)$ with a divisor in $(n,2n)$ is at most $\epsilon y$?
The bound is required for every $x$ and every window length at least $y$, and $y(\epsilon,n)$ is the least such threshold (or $\infty$ if there is none). A linear scale $y \le C(\epsilon) n$ is known to suffice for fixed $\epsilon$ and all large $n$ (see
erdos_450.linear_scale_suffices).depends on sorry what this means
Statement uses:
Real,LT.lt,OfNat.ofNat,Nat,Eq,ENat, Erdos450.windowThreshold,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_450 (ε : ℝ) (hε : 0 < ε) (n : ℕ) : windowThreshold ε n = answer(sorry) := by …
Mentions: Erdos450.windowThreshold
- theorem
Erdos450.erdos_450.linear_scale_sufficesA translate-uniform linear scale suffices: there is a sufficient window lengthYwithY ε n ≤ C(ε) · nsorry line 71 sourceSource documentation
A translate-uniform linear scale suffices: there is a sufficient window length
YwithY ε n ≤ C(ε) · n. This is an upper bound on the optimal scale, not the exact threshold asked for inerdos_450.depends on sorry what this means
Statement uses:
Exists,Real,Nat,And,LT.lt,OfNat.ofNat,LE.le,HMul.hMul, Erdos450.IsSufficientScaleProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_450.linear_scale_suffices : ∃ Y : ℝ → ℕ → ℕ, (∀ ε : ℝ, 0 < ε → ∃ C : ℝ, ∀ n : ℕ, (Y ε n : ℝ) ≤ C * n) ∧ IsSufficientScale Y := by …Mentions: Erdos450.IsSufficientScale