FormalConjectures/ErdosProblems/350.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
7 declarations, 2 contain sorry, 0 declared as axioms
Erdős Problem 350
References:
- erdosproblems.com/350
- [BeEr74] Benkoski, S. J. and Erdős, P., On weird and pseudoperfect numbers. Math. Comp. (1974), 617-623.
- [HSS77] Hanson, F. and Steele, J. M. and Stenger, F., Distinct sums over subsets. Proc. Amer. Math. Soc. (1977), 179-180.
Imports (1)
Imported by 1 file
- def
Erdos350.DistinctSubsetSumsThe predicate that all (finite) subsets ofAhave distinct sums line 36 sourceSource documentation
The predicate that all (finite) subsets of
Ahave distinct sums.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
AddCommMonoid,SetProof uses:
Set.Pairwise,Finset,Set.ofPred,LE.le,Ne,Finset.sum,id3 instances, coercions and auxiliary constants left out.
def DistinctSubsetSums {M : Type*} [AddCommMonoid M] (A : Set M) : Prop := … - def
Erdos350.DecidableDistinctSubsetSumsThe predicate that all (finite) subsets ofAhave distinct sums, decidable version line 40 sourceSource documentation
The predicate that all (finite) subsets of
Ahave distinct sums, decidable versionstandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
AddCommMonoid,DecidableEq,FinsetProof uses:
LE.le,Ne,Finset.sum,id3 instances, coercions and auxiliary constants left out.
def DecidableDistinctSubsetSums {M : Type*} [AddCommMonoid M] [DecidableEq M] (A : Finset M) : Prop := … - theorem
Erdos350.decidableDistinctSubsetSums_1_2line 44 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos350.DecidableDistinctSubsetSums,
Nat,Insert.insert,Finset,OfNat.ofNat,Singleton.singletonProof uses:
Eq.mpr,LE.le,Ne,Finset.sum,id,Eq,congrArg,Erdos350.DecidableDistinctSubsetSums.eq_1,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl17 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos350.distinctSubsetSums_1_2line 48 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: Erdos350.DistinctSubsetSums,
Nat,Insert.insert,Set,OfNat.ofNat,Singleton.singletonProof uses:
Eq.mpr,Finset,LE.le,Not,Eq,Finset.sum,id,forall_congr,Ne,implies_congr,Eq.refl,congr,congrArg,Finset.sum_congr,Membership.mem,List,List.Mem,List.pmap,Multiset,Multiset.Nodupand 38 more52 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos350.DistinctSubsetSums_iff_DecidableDistinctSubsetSumsSmall sanity check: the two predicates are saying the same thing line 57 sourceSource documentation
Small sanity check: the two predicates are saying the same thing.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
AddCommMonoid,DecidableEq,Finset,Iff, Erdos350.DistinctSubsetSums, Erdos350.DecidableDistinctSubsetSumsProof uses:
Eq.mpr,Set.Pairwise,Set.ofPred,LE.le,Set,Ne,Finset.sum,id,Eq,congrArg,Erdos350.DistinctSubsetSums.eq_1,Erdos350.DecidableDistinctSubsetSums.eq_1,Membership.mem,Set.Pairwise.eq_1,of_eq_true,Eq.trans,Not,True,congr,forall_congrand 6 more12 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
theorem DistinctSubsetSums_iff_DecidableDistinctSubsetSums {M : Type*} [AddCommMonoid M] [DecidableEq M] (A : Finset M) : DistinctSubsetSums (A : Set M) ↔ DecidableDistinctSubsetSums A := by …Mentions: Erdos350.DistinctSubsetSums, Erdos350.DecidableDistinctSubsetSums
- theorem
Erdos350.erdos_350sorry line 76 sourcedepends on sorry what this means
Statement uses:
Finset,Nat, Erdos350.DecidableDistinctSubsetSums,LT.lt,Real,Finset.sum,HDiv.hDiv,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous30 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos350.erdos_350.variants.strengtheningIfA ⊂ ℕis a finite set of integers all of whose subset sums are distinct then∑ n ∈ A, 1/n^s < 1/(1 - 2^(-s)), for anys > 0sorry line 87 sourceSource documentation
If
A ⊂ ℕis a finite set of integers all of whose subset sums are distinct then∑ n ∈ A, 1/n^s < 1/(1 - 2^(-s)), for anys > 0. Proved by Hanson, Steele, and Stenger [HSS77].We exclude here the case
s = 0, because in the informal formulation then the right hand side is to be interpreted as∞, while the left hand side counts the elements inA.depends on sorry what this means
Statement uses:
Finset,Nat, Erdos350.DecidableDistinctSubsetSums,Real,LT.lt,OfNat.ofNat,Finset.sum,HPow.hPow,HDiv.hDiv,HSub.hSub,Neg.negProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous44 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_350.variants.strengthening (A : Finset ℕ) (hA : DecidableDistinctSubsetSums A) (s : ℝ) (hs : 0 < s) : ∑ n ∈ A, (1 / n : ℝ)^s < 1 / (1 - 2^(-s)) := by …Mentions: Erdos350.DecidableDistinctSubsetSums