FormalConjectures/ErdosProblems/330.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
4 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 330
Reference: erdosproblems.com/330
Imports (1)
- def
Erdos330.RepRep A m hmeansmis a sum of exactlyhelements ofA, which ism ∈ h • Aline 45 sourceSource documentation
Rep A m hmeansmis a sum of exactlyhelements ofA, which ism ∈ h • A.Exactly
hrather than at mosth, for two reasons. It is the notion Erdős states the problem with, viaf_2(m), the number of solutions ofm = a_i + a_j[Er80]. And it is the notionIsAsymptoticAddBasisOfOrderuses below, so the statement is not switching between two meanings of "representable" partway through.Allowing fewer than
hsummands also breaks the statement outright: taking one summand makes every element ofAcount as represented, soUnrepWithout A n hwould contain no element ofAbesides possiblyn. Those are exactly the integers the problem is about. Ifa ∈ Awitha ≠ nis only expressible asa = n + b, it cannot be represented withoutnand belongs in the set, but the one-element sumaitself would have excluded it.standard axioms: propext what this means
Statement uses:
Set,NatProof uses:
Membership.mem,HSMul.hSMul,Set.NSMul5 instances, coercions and auxiliary constants left out.
def Rep (A : Set ℕ) (m h : ℕ) : Prop := m ∈ h • A
- def
Erdos330.UnrepWithoutIntegers not representable as a sum of exactlyhelements ofAwhile avoidingnline 49 sourceSource documentation
Integers not representable as a sum of exactly
helements ofAwhile avoidingn.standard axioms: propext what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,Not, Erdos330.Rep,SDiff.sdiff,Singleton.singleton2 instances, coercions and auxiliary constants left out.
def UnrepWithout (A : Set ℕ) (n h : ℕ) : Set ℕ := …
- def
Erdos330.MinAsymptoticAddBasisOfOrderAn asymptotic additive basis of orderhis minimal when one cannot obtain an asymptotic additive basis by removing any element from it line 54 sourceSource documentation
An asymptotic additive basis of order
his minimal when one cannot obtain an asymptotic additive basis by removing any element from it.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,NatProof uses:
And,Set.IsAsymptoticAddBasisOfOrder,Membership.mem,Not,SDiff.sdiff,Singleton.singleton4 instances, coercions and auxiliary constants left out.
def MinAsymptoticAddBasisOfOrder (A : Set ℕ) (h : ℕ) : Prop := …
- theorem
Erdos330.erdos_330_statementsorry line 73 sourcedepends on sorry what this means
Statement uses:
Iff,True,Exists,Set,Nat,And, Erdos330.MinAsymptoticAddBasisOfOrder,LT.lt,Real,OfNat.ofNat, Set.upperDensity,Set.univ,Membership.mem, Erdos330.UnrepWithoutProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous17 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.