FormalConjectures/ErdosProblems/793.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
4 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 793
References:
- erdosproblems.com/793
- [Er38] Erdős, P., On sequences of integers no one of which divides the product of two others and on related problems. Tomsk. Gos. Univ. Ucen Zap. (1938), 74-82.
- [Er69] Erdős, Paul, Some applications of graph theory to number theory. The Many Facets of Graph Theory (Proc. Conf., Western Mich. Univ., Kalamazoo, Mich., 1968) (1969), 77-82.
- [Er70b] Erdős, P., Some applications of graph theory to number theory. Proc. Second Chapel Hill Conf. on Combinatorial Mathematics and its Applications (Univ. North Carolina, Chapel Hill, N.C., 1970) (1970), 136-145.
Imports (1)
- def
Erdos793.Strongly2PrimitiveA finite setA ⊆ ℕis strongly 2-primitive ifa ∤ b * cwhenevera, b, c ∈ Awitha ≠ banda ≠ cline 44 sourceSource documentation
A finite set
A ⊆ ℕis strongly 2-primitive ifa ∤ b * cwhenevera, b, c ∈ Awitha ≠ banda ≠ c.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset,NatProof uses:
Membership.mem,Ne,Not,Dvd.dvd,HMul.hMul5 instances, coercions and auxiliary constants left out.
def Strongly2Primitive (A : Finset ℕ) : Prop := …
- def
Erdos793.FF nis the maximal size of a strongly 2-primitive subset of{1, …, n}line 48 sourceSource documentation
F nis the maximal size of a strongly 2-primitive subset of{1, …, n}.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sup,Finset,Finset.filter, Erdos793.Strongly2Primitive,Classical.propDecidable,Finset.powerset,Finset.Icc,OfNat.ofNat,Finset.card6 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
noncomputable def F (n : ℕ) : ℕ := by …
- theorem
Erdos793.erdos_793Let $F(n)$ be the maximum possible size of a subset $A \subseteq \{1, \ldots, n\}$ such that $a \nmid bc$ whenever $a, b, c \in A$ with $a \neq b$ and $a \neq c$ sorry line 64 sourceSource documentation
Let $F(n)$ be the maximum possible size of a subset $A \subseteq \{1, \ldots, n\}$ such that $a \nmid bc$ whenever $a, b, c \in A$ with $a \neq b$ and $a \neq c$. Is there a constant $c$ such that $$F(n) = \pi(n) + (c + o(1)) n^{2/3} (\log n)^{-2}?$$
A problem of Erdős [Er69, Er70b], who proved in [Er38] that $F(n) = \pi(n) + O(n^{2/3} (\log n)^{-2})$. The answer is yes, with $c = 27/2$: this was proved by GPT-5.6 Sol (prompted by Chojecki), refining the argument of [Er38]; see
erdos_793.variants.constant.depends on sorry what this means
Statement uses:
Iff,True,Exists,Real,Filter.Tendsto,Nat,HDiv.hDiv,HSub.hSub, Erdos793.F,Nat.primeCounting,HPow.hPow,OfNat.ofNat,Real.log,Filter.atTop,nhdsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_793 : answer(True) ↔ ∃ c : ℝ, Tendsto (fun n : ℕ ↦ ((F n : ℝ) - Nat.primeCounting n) / ((n : ℝ) ^ ((2 : ℝ) / 3) / (log n) ^ 2)) atTop (𝓝 c) := by …Mentions: c, Erdos793.F
- theorem
Erdos793.erdos_793.variants.constantsorry line 76 sourcedepends on sorry what this means
Statement uses:
Filter.Tendsto,Nat,Real,HDiv.hDiv,HSub.hSub, Erdos793.F,Nat.primeCounting,HPow.hPow,OfNat.ofNat,Real.log,Filter.atTop,nhdsProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.