FormalConjectures/ErdosProblems/793.lean

GitHub source file

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:

Imports (1)
  1. def Erdos793.Strongly2Primitive A finite set A ⊆ ℕ is strongly 2-primitive if a ∤ b * c whenever a, b, c ∈ A with a ≠ b and a ≠ c line 44 source

    Source documentation

    A finite set A ⊆ ℕ is strongly 2-primitive if a ∤ b * c whenever a, b, c ∈ A with a ≠ b and a ≠ c.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Finset, Nat

    Proof uses: Membership.mem, Ne, Not, Dvd.dvd, HMul.hMul

    5 instances, coercions and auxiliary constants left out.

    def Strongly2Primitive (A : Finset ℕ) : Prop :=
    …
  2. def Erdos793.F F n is the maximal size of a strongly 2-primitive subset of {1, …, n} line 48 source

    Source documentation

    F n is the maximal size of a strongly 2-primitive subset of {1, …, n}.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: Finset.sup, Finset, Finset.filter, Erdos793.Strongly2Primitive, Classical.propDecidable, Finset.powerset, Finset.Icc, OfNat.ofNat, Finset.card

    6 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
    …
  3. theorem Erdos793.erdos_793 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$ sorry line 64 source

    Source 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, nhds

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    40 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

  4. theorem Erdos793.erdos_793.variants.constant sorry line 76 source

    depends 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, nhds

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    40 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.