FormalConjectures/ErdosProblems/53.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

3 declarations, 2 contain sorry, 0 declared as axioms

Erdős Problem 53

References:

Imports (1)
  1. def Erdos53.sumsAndProducts The integers which are either the sum or the product of (one or more) distinct elements of A line 46 source

    Source documentation

    The integers which are either the sum or the product of (one or more) distinct elements of A.

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

    Statement uses: Finset, Int

    Proof uses: Union.union, Finset.image, Finset.sum, Finset.erase, Finset.powerset, EmptyCollection.emptyCollection, Finset.prod

    6 instances, coercions and auxiliary constants left out.

    def sumsAndProducts (A : Finset ℤ) : Finset ℤ :=
    …
  2. theorem Erdos53.erdos_53 sorry line 67 source

    depends on sorry what this means

    Statement uses: Iff, True, Nat, Exists, Finset, Int, LE.le, Finset.card, HPow.hPow, Erdos53.sumsAndProducts

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

    11 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  3. theorem Erdos53.erdos_53.variants.upper Erdős and Szemerédi [ErSz83] proved that there exist arbitrarily large sets sorry line 79 source

    Source documentation

    Erdős and Szemerédi [ErSz83] proved that there exist arbitrarily large sets $A$ such that the number of integers which are the sum or product of distinct elements of $A$ is at most $$\exp\left(c \frac{(\log \lvert A\rvert)^2}{\log\log\lvert A\rvert}\right)$$ for some constant $c>0$. (erdosproblems.com multiplies by $\log\log\lvert A\rvert$; [ErSz83, Theorem 2] divides by it.)

    depends on sorry what this means

    Statement uses: Exists, Real, And, LT.lt, OfNat.ofNat, Nat, Finset, Int, LE.le, Finset.card, Erdos53.sumsAndProducts, Real.exp, HDiv.hDiv, HMul.hMul, HPow.hPow, Real.log

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

    34 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_53.variants.upper : ∃ c : ℝ, 0 < c ∧ ∀ N : ℕ, ∃ A : Finset ℤ, N ≤ A.card ∧
        ((sumsAndProducts A).card : ℝ) ≤
          Real.exp (c * Real.log A.card ^ 2 / Real.log (Real.log A.card)) := by
    …

    Mentions: c, Erdos53.sumsAndProducts