FormalConjectures/ErdosProblems/438.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
3 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 438
References:
- erdosproblems.com/438
- [Er80] Erdős, Paul, A survey of problems in combinatorial number theory. Ann. Discrete Math. (1980), 89-115.
- [Er80c] Erdős, Paul, Nine little known problems in combinatorial number theory. Normat (1980), 155-164, 180.
- [ErGr80] Erdős, P. and Graham, R., Old and new problems and results in combinatorial number theory. Monographies de L'Enseignement Mathematique (1980).
- [LOS83] Lagarias, J. C. and Odlyzko, A. M. and Shearer, J. B., On the density of sequences of integers the sum of no two of which is a square. II. General sequences. J. Combin. Theory Ser. A (1983), 123-139.
- [KLS02] Khalfalah, A. and Lodha, S. and Szemerédi, E., Tight bound for the density of sequence of integers the sum of no two of which is a perfect square. Discrete Math. (2002), 243-255.
Imports (1)
- def
Erdos438.SquareSumFreeA finite set of natural numbers is square-sum-free if the sum of any two of its elements (possibly equal) is not a square line 48 sourceSource documentation
A finite set of natural numbers is square-sum-free if the sum of any two of its elements (possibly equal) is not a square.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Finset,NatProof uses:
Membership.mem,Not,IsSquare,HAdd.hAdd5 instances, coercions and auxiliary constants left out.
def SquareSumFree (A : Finset ℕ) : Prop := …
- def
Erdos438.extremalSizeThe largest size of a square-sum-free subset of{1, …, N}line 52 sourceSource documentation
The largest size of a square-sum-free subset of
{1, …, N}.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Finset.sup,Finset,Finset.filter, Erdos438.SquareSumFree,Classical.propDecidable,Finset.powerset,Finset.Icc,OfNat.ofNat,Finset.card6 instances, coercions and auxiliary constants left out.
Tactic trace: 2 steps
Open to load the checked before-and-after goal states.
noncomputable def extremalSize (N : ℕ) : ℕ := by …
- theorem
Erdos438.erdos_438sorry line 68 sourcedepends on sorry what this means
Statement uses:
Filter.Tendsto,Nat,Real,HDiv.hDiv, Erdos438.extremalSize,Filter.atTop,nhds,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous26 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.