FormalConjectures/ErdosProblems/395.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, 3 contain sorry, 0 declared as axioms

Erdős Problem 395

References:

Imports (1)
  1. def Erdos395.signedSumCount The number of sign patterns $\epsilon \in \{-1,1\}^n$ with $\lvert \epsilon_1z_1+\cdots+\epsilon_nz_n\rvert \leq r$ line 39 source

    Source documentation

    The number of sign patterns $\epsilon \in \{-1,1\}^n$ with $\lvert \epsilon_1z_1+\cdots+\epsilon_nz_n\rvert \leq r$.

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

    Statement uses: Nat, Fin, Complex, Real

    Proof uses: Set.ncard, Int, Set.ofPred, And, Or, Eq, Neg.neg, OfNat.ofNat, LE.le, Norm.norm, Finset.sum, Finset.univ, HMul.hMul

    10 instances, coercions and auxiliary constants left out.

    noncomputable def signedSumCount {n : ℕ} (z : Fin n → ℂ) (r : ℝ) : ℕ :=
    …
  2. theorem Erdos395.erdos_395 sorry line 59 source

    depends on sorry what this means

    Statement uses: Iff, True, Exists, Real, And, LT.lt, OfNat.ofNat, Nat, Fin, Complex, Eq, Norm.norm, LE.le, HDiv.hDiv, Erdos395.signedSumCount, Real.sqrt, HPow.hPow

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

    42 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

  3. theorem Erdos395.erdos_395.variants.one Documented declaration: one sorry line 69 source

    Source documentation

    Erdős originally asked erdős_395 with $\sqrt{2}$ replaced by $1$, but Carnielli and Carolino [CaCa11] observed that this is false, choosing $z_1=1$ and $z_k=i$ for $2\leq k\leq n$, where $n$ is even, since then the sum is at least $\sqrt{2}$ always.

    L4DEL explanation

    Erdős originally asked erdős_395 with $\sqrt{2}$ replaced by $1$, but Carnielli and Carolino [CaCa11] observed that this is false, choosing $z_1=1$ and $z_k=i$ for $2\leq k\leq n$, where $n$ is even, since then the sum is at least $\sqrt{2}$ always.

    Sources and attribution: Pinned Lean source (1646ca16afd6)

    depends on sorry what this means

    Statement uses: Iff, False, Exists, Real, And, LT.lt, OfNat.ofNat, Nat, Fin, Complex, Eq, Norm.norm, LE.le, HDiv.hDiv, Erdos395.signedSumCount, HPow.hPow

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

    42 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_395.variants.one : answer(False) ↔ ∃ c : ℝ, 0 < c ∧ ∀ n : ℕ, 0 < n →
        ∀ z : Fin n → ℂ, (∀ i, ‖z i‖ = 1) → c / n ≤ (signedSumCount z 1 : ℝ) / 2 ^ n := by
    …

    Mentions: c, Erdos395.signedSumCount

  4. theorem Erdos395.erdos_395.variants.sharp The bound of $1/n$ in erdős_395 is the best possible, as shown by taking $z_k=1$ for $1\leq k\leq n/2$ and $z_k=i$ otherwise sorry line 78 source

    Source documentation

    The bound of $1/n$ in erdős_395 is the best possible, as shown by taking $z_k=1$ for $1\leq k\leq n/2$ and $z_k=i$ otherwise.

    L4DEL explanation

    The bound of $1/n$ in erdős_395 is the best possible, as shown by taking $z_k=1$ for $1\leq k\leq n/2$ and $z_k=i$ otherwise.

    Sources and attribution: Pinned Lean source (1646ca16afd6)

    depends on sorry what this means

    Statement uses: Exists, Real, Nat, LT.lt, OfNat.ofNat, Fin, Complex, And, Eq, Norm.norm, LE.le, HDiv.hDiv, Erdos395.signedSumCount, Real.sqrt, HPow.hPow

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

    36 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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

    theorem erdos_395.variants.sharp : ∃ C : ℝ, ∀ n : ℕ, 0 < n → ∃ z : Fin n → ℂ,
        (∀ i, ‖z i‖ = 1) ∧ (signedSumCount z √2 : ℝ) / 2 ^ n ≤ C / n := by
    …

    Mentions: Erdos395.signedSumCount