FormalConjectures/GreensOpenProblems/33.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

2 declarations, 1 contain sorry, 0 declared as axioms

Ben Green's Open Problem 33

References:

Imports (1)
  1. theorem Green33.green_33 Are there infinitely many $q$ for which there is a set $A \subset \mathbb{Z}/q\mathbb{Z}$, $|A| = (\sqrt{2} + o(1))q^{1/2}$, with $A + A = \mathbb{Z}/q\mathbb{Z}$? sorry line 43 source

    Source documentation

    Are there infinitely many $q$ for which there is a set $A \subset \mathbb{Z}/q\mathbb{Z}$, $|A| = (\sqrt{2} + o(1))q^{1/2}$, with $A + A = \mathbb{Z}/q\mathbb{Z}$? [Gr24]

    depends on sorry what this means

    Statement uses: Iff, True, Real, LT.lt, OfNat.ofNat, Filter.Frequently, PNat, Exists, Finset, ZMod, And, Eq, HAdd.hAdd, Finset.univ, abs, HSub.hSub, HDiv.hDiv, Finset.card, Real.sqrt, Nat and 1 more

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

    66 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem green_33 :
        answer(sorry) ↔
          ∀ ε : ℝ, 0 < ε →
            ∃ᶠ q : ℕ+ in atTop,
              ∃ A : Finset (ZMod q),
                A + A = Finset.univ ∧
                |((A.card : ℝ) / Real.sqrt q - Real.sqrt 2)| < ε := by
    …
  2. theorem Green33.green_33.sanity_sq_bound Trivial lower bound: if $A + A = \mathbb{Z}/q\mathbb{Z}$, then $|A|^2 \geq q$, since the sumset $A + A$ has at most $|A|^2$ elements line 55 source

    Source documentation

    Trivial lower bound: if $A + A = \mathbb{Z}/q\mathbb{Z}$, then $|A|^2 \geq q$, since the sumset $A + A$ has at most $|A|^2$ elements.

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

    Statement uses: PNat, Finset, ZMod, Eq, HAdd.hAdd, Finset.univ, LE.le, Nat, HPow.hPow, Finset.card, OfNat.ofNat

    Proof uses: Trans.trans, HMul.hMul, Fintype.card, Eq.symm, ZMod.card, Finset.card_univ, Eq.mpr, id, congrArg, Eq.refl, Finset.card_add_le, sq

    41 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

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

    theorem green_33.sanity_sq_bound (q : ℕ+) (A : Finset (ZMod q))
        (hA : A + A = Finset.univ) : (q : ℕ) ≤ A.card ^ 2 := by
    …