FormalConjectures/ErdosProblems/1179.lean
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:
- erdosproblems.com/1179
- [Er73] Erdős, P., Problems and results on combinatorial number theory. A survey of combinatorial theory (Proc. Internat. Sympos., Colorado State Univ., Fort Collins, Colo., 1971) (1973), 117-138.
- [ErRe65] Erdős, P. and Rényi, A., Probabilistic methods in group theory. J. Analyse Math. (1965), 127-138.
- [ErHa76] Erdős, P. and Hall, R. R., Probabilistic methods in group theory. II. Houston J. Math. (1976), 173-180.
Imports (1)
- def
Erdos1179.repCount$F_A(g) = \#\{ S\subseteq A : g = \sum_{x\in S}x\}$ line 44 sourceSource 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,NatProof uses:
Finset.card,Finset.filter,Eq,Finset.sum,Classical.propDecidable,Finset.powerset1 instances, coercions and auxiliary constants left out.
noncomputable def repCount (A : Finset G) (g : G) : ℕ := …
- def
Erdos1179.IsBalancedAisε-balanced: $\lvert F_A(g)-2^{|A|}/N\rvert \leq \epsilon 2^{|A|}/N$ for allgline 48 sourceSource documentation
Aisε-balanced: $\lvert F_A(g)-2^{|A|}/N\rvert \leq \epsilon 2^{|A|}/N$ for allg.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
AddCommGroup,Fintype,Real,FinsetProof uses:
LE.le,abs,HSub.hSub, Erdos1179.repCount,HDiv.hDiv,HPow.hPow,Nat,OfNat.ofNat,Finset.card,Fintype.card,HMul.hMul18 instances, coercions and auxiliary constants left out.
def IsBalanced (ε : ℝ) (A : Finset G) : Prop := …
- def
Erdos1179.successProbabilityThe probability that a uniformly randomk-element subset ofGisε-balanced line 54 sourceSource documentation
The probability that a uniformly random
k-element subset ofGisε-balanced.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
AddCommGroup,Fintype,Real,NatProof uses:
HDiv.hDiv,Finset.card,Finset,Finset.filter, Erdos1179.IsBalanced,Classical.propDecidable,Finset.powersetCard,Finset.univ5 instances, coercions and auxiliary constants left out.
noncomputable def successProbability (G : Type*) [AddCommGroup G] [Fintype G] (ε : ℝ) (k : ℕ) : ℝ := … - theorem
Erdos1179.erdos_1179sorry line 85 sourcedepends 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.successProbabilityProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous36 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos1179.erdos_1179.variants.lower_boundsorry line 97 sourcedepends 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.cardProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.