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

5 declarations, 2 contain sorry, 0 declared as axioms

Erdős Problem 1179

References:

Imports (1)
  1. def Erdos1179.repCount $F_A(g) = \#\{ S\subseteq A : g = \sum_{x\in S}x\}$ line 44 source

    Source documentation

    $F_A(g) = \#\{ S\subseteq A : g = \sum_{x\in S}x\}$.

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

    Statement uses: AddCommGroup, Finset, Nat

    Proof uses: Finset.card, Finset.filter, Eq, Finset.sum, Classical.propDecidable, Finset.powerset

    1 instances, coercions and auxiliary constants left out.

    noncomputable def repCount (A : Finset G) (g : G) : ℕ :=
    …
  2. def Erdos1179.IsBalanced A is ε-balanced: $\lvert F_A(g)-2^{|A|}/N\rvert \leq \epsilon 2^{|A|}/N$ for all g line 48 source

    Source documentation

    A is ε-balanced: $\lvert F_A(g)-2^{|A|}/N\rvert \leq \epsilon 2^{|A|}/N$ for all g.

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

    Statement uses: AddCommGroup, Fintype, Real, Finset

    Proof uses: LE.le, abs, HSub.hSub, Erdos1179.repCount, HDiv.hDiv, HPow.hPow, Nat, OfNat.ofNat, Finset.card, Fintype.card, HMul.hMul

    18 instances, coercions and auxiliary constants left out.

    def IsBalanced (ε : ℝ) (A : Finset G) : Prop :=
    …
  3. def Erdos1179.successProbability The probability that a uniformly random k-element subset of G is ε-balanced line 54 source

    Source documentation

    The probability that a uniformly random k-element subset of G is ε-balanced.

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

    Statement uses: AddCommGroup, Fintype, Real, Nat

    Proof uses: HDiv.hDiv, Finset.card, Finset, Finset.filter, Erdos1179.IsBalanced, Classical.propDecidable, Finset.powersetCard, Finset.univ

    5 instances, coercions and auxiliary constants left out.

    noncomputable def successProbability (G : Type*) [AddCommGroup G] [Fintype G] (ε : ℝ) (k : ℕ) :
        ℝ :=
    …
  4. theorem Erdos1179.erdos_1179 sorry line 85 source

    depends on sorry what this means

    Statement uses: Iff, True, Real, LT.lt, OfNat.ofNat, Exists, Nat, And, Filter.Tendsto, HDiv.hDiv, Real.logb, Filter.atTop, nhds, AddCommGroup, Fintype, Fintype.card, Erdos1179.successProbability

    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.

  5. theorem Erdos1179.erdos_1179.variants.lower_bound sorry line 97 source

    depends on sorry what this means

    Statement uses: AddCommGroup, Fintype, Real, LT.lt, OfNat.ofNat, Finset, Erdos1179.IsBalanced, LE.le, Nat, Fintype.card, HPow.hPow, Finset.card

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

    22 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

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