FormalConjectures/OEIS/102847.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
10 declarations, 1 contain sorry, 0 declared as axioms
Imports (1)
- def
OeisA102847.aThe primary defining sequencealine 33 sourceSource documentation
The primary defining sequence
a. $a(0)=1$, $a(n) = a(n-1)^2 + 2$.standard axioms: propext what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 1 | n + 1 => (a n) ^ 2 + 2 /-- Term theorems verifying the first few values of the sequence against the official OEIS b-file -/ @[category test, AMS 11]
- theorem
OeisA102847.a_0Term theorems verifying the first few values of the sequence against the official OEIS b-file line 39 sourceSource documentation
Term theorems verifying the first few values of the sequence against the official OEIS b-file
standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_0 : a 0 = 1 := by rfl …
Mentions: OeisA102847.a
- theorem
OeisA102847.a_1line 42 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.a_2line 45 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.a_3line 48 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.a_4line 51 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.a_5line 54 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.a_6line 57 sourcestandard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA102847.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.not_prime_a_5line 60 sourcestandard axioms: propext what this means
Statement uses:
Not,Nat.Prime, OeisA102847.a,OfNat.ofNat,NatProof uses:
Eq,HMul.hMul,Eq.mpr,id,congrArg, OeisA102847.a_5,Eq.refl,Nat.not_prime_mul,of_decide_eq_true,Ne,Bool,Decidable.decide,Bool.true6 instances, coercions and auxiliary constants left out.
Tactic trace: 6 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA102847.conjecturePrime for $a(1) = 3$, $a(2) = 11$, $a(4) = 15131$; semiprime for $a(3) = 123 = 3 * 41$, $a(5) = 228947163 = 3 * 76315721$ sorry line 73 sourceSource documentation
Prime for $a(1) = 3$, $a(2) = 11$, $a(4) = 15131$; semiprime for $a(3) = 123 = 3 * 41$, $a(5) = 228947163 = 3 * 76315721$. $a(6)$, added by Jonathan Vos Post, has 4 prime factors. $a(7) = 41 * 811^2 * 106693969 * 317171188688357726699 * 8272236925540996054440172449761$. When is the next prime in the sequence?
depends on sorry what this means
Statement uses:
Eq,Nat,sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat,InfSet.sInf,Set.ofPred,And,LT.lt,Nat.Prime, OeisA102847.a6 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : answer(sorry) = sInf {n : ℕ | 4 < n ∧ (a n).Prime} := by …Mentions: OeisA102847.a