FormalConjectures/ErdosProblems/796.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, 1 contain sorry, 0 declared as axioms
Erdős Problem 796
Reference: erdosproblems.com/796
Imports (1)
- def
Erdos796.repCountThe number of unordered representationsm = a₁ * a₂by two distinct elementsa₁ < a₂ofAline 35 sourceSource documentation
The number of unordered representations
m = a₁ * a₂by two distinct elementsa₁ < a₂ofA.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset,NatProof uses:
Finset.card,Prod,Finset.filter,And,LT.lt,Prod.fst,Prod.snd,Eq,HMul.hMul,SProd.sprod7 instances, coercions and auxiliary constants left out.
def repCount (A : Finset ℕ) (m : ℕ) : ℕ := …
- def
Erdos796.HasRepBoundAhas at mostk - 1representations of everym(fewer thank) line 39 sourceSource documentation
Ahas at mostk - 1representations of everym(fewer thank).standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,FinsetProof uses:
LT.lt, Erdos796.repCount1 instances, coercions and auxiliary constants left out.
def HasRepBound (k : ℕ) (A : Finset ℕ) : Prop := ∀ m : ℕ, repCount A m < k …
Mentions: Erdos796.repCount
- def
Erdos796.gg k n = g_k(n)is the largest size of a subsetA ⊆ {1, …, n}in which everymhas fewer thankrepresentationsm = a₁ a₂witha₁ < a₂ ∈ Aline 44 sourceSource documentation
g k n = g_k(n)is the largest size of a subsetA ⊆ {1, …, n}in which everymhas fewer thankrepresentationsm = a₁ a₂witha₁ < a₂ ∈ A.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sup,Finset,Finset.filter, Erdos796.HasRepBound,Classical.propDecidable,Finset.powerset,Finset.Icc,OfNat.ofNat,Finset.card6 instances, coercions and auxiliary constants left out.
noncomputable def g (k n : ℕ) : ℕ := …
- def
Erdos796.normalizedErrorThe proposed second-order rescaling ofg_3(n):(g_3(n) - (log log n / log n) · n) / (n / log n), whose limit is the constantcin the problem line 50 sourceSource documentation
The proposed second-order rescaling of
g_3(n):(g_3(n) - (log log n / log n) · n) / (n / log n), whose limit is the constantcin the problem.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,RealProof uses:
HDiv.hDiv,HSub.hSub, Erdos796.g,OfNat.ofNat,HMul.hMul,Real.log10 instances, coercions and auxiliary constants left out.
noncomputable def normalizedError (n : ℕ) : ℝ := …
- theorem
Erdos796.erdos_796Let $k\geq 2$ and let $g_k(n)$ be the largest possible size of $A\subseteq \{1,\ldots,n\}$ such that every $m$ has $<k$ solutions to $m=a_1a_2$ with $a_1<a_2\in A$ sorry line 63 sourceSource documentation
Let $k\geq 2$ and let $g_k(n)$ be the largest possible size of $A\subseteq \{1,\ldots,n\}$ such that every $m$ has $<k$ solutions to $m=a_1a_2$ with $a_1<a_2\in A$. Is it true that $$g_3(n)=\frac{\log\log n}{\log n}n+(c+o(1))\frac{n}{\log n}$$ for some constant $c$?
The answer is yes: the rescaled error
normalizedErrorconverges.depends on sorry what this means
Statement uses:
Iff,True,Exists,Real,Filter.Tendsto,Nat, Erdos796.normalizedError,Filter.atTop,nhdsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat9 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_796 : answer(True) ↔ ∃ c : ℝ, Tendsto normalizedError atTop (𝓝 c) := by …Mentions: c, Erdos796.normalizedError