FormalConjectures/ErdosProblems/276.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
2 declarations, 1 contain sorry, 0 declared as axioms
Erdős Problem 276
References: erdosproblems.com/276
Imports (1)
- def
Erdos276.IsLucasSequenceWe define a Lucas sequence to be a Fibonacci sequence with arbitrary starting pointsL 0andL 1line 41 sourceSource documentation
We define a Lucas sequence to be a Fibonacci sequence with arbitrary starting points
L 0andL 1.TODO: There seems to be multiple definitions in the literature, some of which also allow coefficients in the recurrence relation. For now this simple definition has been chosen as it agrees best with the Erdős problem in this same file. However before moving this into
ForMathlibone should make a conscious decision about which definition to choose.no axioms what this means
Statement uses:
NatProof uses:
Eq,HAdd.hAdd,OfNat.ofNat3 instances, coercions and auxiliary constants left out.
def IsLucasSequence (L : ℕ → ℕ) : Prop := ∀ n, L (n + 2) = L (n + 1) + L n …
- theorem
Erdos276.erdos_276Is there an infinite Lucas sequence sorry line 49 sourceSource documentation
Is there an infinite Lucas sequence $a_0, a_1, \ldots$ where $a_{n+2} = a_{n+1} + a_n$ for $n \ge 0$ such that all $a_k$ are composite, and yet no integer has a common factor with every term of the sequence?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And, Erdos276.IsLucasSequence, Nat.Composite,GT.gt,OfNat.ofNat,Eq,Nat.gcdProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_276 : answer(sorry) ↔ ∃ (a : ℕ → ℕ), IsLucasSequence a ∧ (∀ k, (a k).Composite) ∧ (∀ n > 1, ∃ k, Nat.gcd n (a k) = 1) := by …Mentions: Erdos276.IsLucasSequence