FormalConjectures/ErdosProblems/351.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
6 declarations, 3 contain sorry, 0 declared as axioms
Erdős Problem 351
Reference: erdosproblems.com/351
Imports (1)
- def
Erdos351.imageSetThe set of rational numbers of the formP(n) + 1 / nwherenis a natural number andPis a polynomial with rational coefficients line 37 sourceSource documentation
The set of rational numbers of the form
P(n) + 1 / nwherenis a natural number andPis a polynomial with rational coefficients.Note: We include
P 0in there (since1 / 0 = 0), but this doesn't change the validity of the conjecturestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Semifield,Polynomial,SetProof uses:
Set.range,Nat,HAdd.hAdd,Polynomial.eval,HDiv.hDiv,OfNat.ofNat18 instances, coercions and auxiliary constants left out.
def imageSet {α : Type*} [Semifield α] (P : α[X]) : Set α := … - def
Erdos351.IsStronglyCompleteThe predicate that a setAis strongly complete, i.e. that for every finite setB, every sufficiently large integer is a sum of elements of the setA \ Bline 42 sourceSource documentation
The predicate that a set
Ais strongly complete, i.e. that for every finite setB, every sufficiently large integer is a sum of elements of the setA \ B.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Semiring,SetProof uses:
Finset,Filter.Eventually,Nat,Membership.mem,Set.ofPred,Exists,LE.le,SDiff.sdiff,Eq,Finset.sum,Filter.atTop12 instances, coercions and auxiliary constants left out.
def IsStronglyComplete {α : Type*} [Semiring α] (A : Set α) : Prop := … - def
Erdos351.HasCompleteImageThe predicate that the rational polynomialPhas a complete image line 48 sourceSource documentation
The predicate that the rational polynomial
Phas a complete image.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Polynomial,RatProof uses: Erdos351.IsStronglyComplete, Erdos351.imageSet
4 instances, coercions and auxiliary constants left out.
def HasCompleteImage (P : ℚ[X]) : Prop := IsStronglyComplete (imageSet P) …
Mentions: Erdos351.IsStronglyComplete, Erdos351.imageSet
- theorem
Erdos351.erdos_351Let $p(x) \in \mathbb{Q}[x]$ be a non-constant rational polynomial with positive leading coefficient sorry line 57 sourceSource documentation
Let $p(x) \in \mathbb{Q}[x]$ be a non-constant rational polynomial with positive leading coefficient. Is it true that $$A=\{ p(n)+1/n : n \in \mathbb{N}\}$$ is strongly complete, in the sense that, for any finite set $B$, $$\left\{\sum_{a \in X} a : X \subseteq A \setminus B, X \textrm{ is finite}\right\}$$ contains all sufficiently large integers?
depends on sorry what this means
Statement uses:
Iff,True,Polynomial,Rat,LT.lt,Nat,OfNat.ofNat,Polynomial.natDegree,Polynomial.leadingCoeff, Erdos351.HasCompleteImageProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous10 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_351 : answer(True) ↔ ∀ P : ℚ[X], 0 < P.natDegree → 0 < P.leadingCoeff → HasCompleteImage P := by …Mentions: Erdos351.HasCompleteImage
- theorem
Erdos351.erdos_351.variants.XLet $p(x) = x \in \mathbb{Q}[x]$ sorry line 69 sourceSource documentation
Let $p(x) = x \in \mathbb{Q}[x]$. It has been shown that $$A=\{ p(n)+1/n : n \in \mathbb{N}\}$$ is strongly complete, in the sense that, for any finite set $B$, $$\left\{\sum_{a \in X} a : X \subseteq A \setminus B, X \textrm{ is finite}\right\}$$ contains all sufficiently large integers.
depends on sorry what this means
Statement uses: Erdos351.HasCompleteImage,
Polynomial.X,RatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,Nat3 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
protected theorem erdos_351.variants.X : HasCompleteImage X := by …
Mentions: Erdos351.HasCompleteImage
- theorem
Erdos351.erdos_351.variants.X_sqLet $p(x) = x ^ 2 \in \mathbb{Q}[x]$ sorry line 78 sourceSource documentation
Let $p(x) = x ^ 2 \in \mathbb{Q}[x]$. It has been shown that $$A=\{ p(n)+1/n : n \in \mathbb{N}\}$$ is strongly complete, in the sense that, for any finite set $B$, $$\left\{\sum_{a \in X} a : X \subseteq A \setminus B, X \textrm{ is finite}\right\}$$ contains all sufficiently large integers.
depends on sorry what this means
Statement uses: Erdos351.HasCompleteImage,
HPow.hPow,Polynomial,Rat,Nat,Polynomial.X,OfNat.ofNatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous14 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_351.variants.X_sq : HasCompleteImage (X ^ 2) := by …
Mentions: Erdos351.HasCompleteImage, Erdos351.erdos_351.variants.X