FormalConjectures/ErdosProblems/424.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 424: Sequence generated by $a_i a_j - 1$
References:
- erdosproblems.com/424
- A5244
- [Ben Green's Open Problem 63](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#section.8 Problem 63)
- [Ko26] Korsky, S., A problem of Erdős on the sequence $a_ia_j - 1$, arXiv:2608.07910
Imports (1)
Imported by 1 file
- def
Erdos424.nextGenerationDefines the set of new numbers generated from a set A by the operation $x y - 1$ for $x \neq y$ line 41 sourceSource documentation
Defines the set of new numbers generated from a set A by the operation $x y - 1$ for $x \neq y$.
no axioms what this means
Statement uses:
Set,NatProof uses:
Set.ofPred,Exists,And,Membership.mem,Ne,Eq,HSub.hSub,HMul.hMul,OfNat.ofNat6 instances, coercions and auxiliary constants left out.
def nextGeneration (A : Set ℕ) : Set ℕ := …
- def
Erdos424.sequenceSetThe sequence of sets $A_n$ where $A_0 = \{2, 3\}$ and $A_{n+1}$ is $A_n$ union all newly generated elements line 48 sourceSource documentation
The sequence of sets $A_n$ where $A_0 = \{2, 3\}$ and $A_{n+1}$ is $A_n$ union all newly generated elements.
no axioms what this means
Statement uses:
Nat,Set2 instances, coercions and auxiliary constants left out.
def sequenceSet : ℕ → Set ℕ | 0 => {2, 3} | n + 1 => (sequenceSet n) ∪ (nextGeneration (sequenceSet n)) /-- The set of integers which eventually appear in the sequence, which is the union of all $A_n$. -/Mentions: Erdos424.nextGeneration
- def
Erdos424.generatedSetThe set of integers which eventually appear in the sequence, which is the union of all $A_n$ line 53 sourceSource documentation
The set of integers which eventually appear in the sequence, which is the union of all $A_n$.
no axioms what this means
Statement uses:
Set,NatProof uses:
Set.iUnion, Erdos424.sequenceSetdef generatedSet : Set ℕ := ⋃ n : ℕ, sequenceSet n …
Mentions: Erdos424.sequenceSet
- theorem
Erdos424.erdos_424sorry line 72 sourcedepends on sorry what this means
Statement uses:
Iff,True,LT.lt,Real,OfNat.ofNat, Set.lowerDensity,Nat, Erdos424.generatedSet,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous15 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
Erdos424.erdos_424.variants.exact_densityA literal interpretation of "positive density": the natural density ofgeneratedSetexists (i.e. the lower and upper density agree) and is positive sorry line 80 sourceSource documentation
A literal interpretation of "positive density": the natural density of
generatedSetexists (i.e. the lower and upper density agree) and is positive.depends on sorry what this means
Statement uses:
Iff,True, Set.HasPosDensity,Nat, Erdos424.generatedSet,Set.univProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat9 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_424.variants.exact_density : answer(sorry) ↔ generatedSet.HasPosDensity := by …