FormalConjectures/OEIS/119591.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
9 declarations, 1 contain sorry, 0 declared as axioms
Least $k \ge 1$ such that $2 \cdot n^k - 1$ is prime
$a(n) = \min \{k \ge 1 \mid \text{Prime}(2 \cdot n^k - 1)\}$ for $n \ge 2$.
References:
Imports (1)
- def
OeisA119591.aLeast $k \ge 1$ such that $2 \cdot n^k - 1$ is prime, or $0$ if no such $k$ exists line 33 sourceSource documentation
Least $k \ge 1$ such that $2 \cdot n^k - 1$ is prime, or $0$ if no such $k$ exists.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,And,LT.lt,OfNat.ofNat,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow11 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA119591.a_0Value of the sequenceaat 0 line 38 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
id,Set,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,EmptyCollection.emptyCollection,Set.ext,Eq.mpr,Iff,Membership.mem,Not,Eq.trans,False,congrArg,iff_false,zero_powand 7 more25 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
theorem a_0 : a 0 = 0 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.a_1Value of the sequenceaat 1 line 50 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
id,Set,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,EmptyCollection.emptyCollection,Set.ext,Eq.mpr,Iff,Membership.mem,Not,Eq.trans,False,congrArg,iff_false,one_powand 6 more22 instances, coercions and auxiliary constants left out.
Tactic trace: 8 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 0 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.a_2Value of the sequenceaat 2 line 62 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_natSuband 10 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 1 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.a_3Value of the sequenceaat 3 line 73 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_natSuband 10 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 1 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.a_4Value of the sequenceaat 4 line 84 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_natSuband 10 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 1 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.a_5Value of the sequenceaat 5 line 95 sourceSource documentation
Value of the sequence
aat 5.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_natSuband 42 more32 instances, coercions and auxiliary constants left out.
Tactic trace: 26 steps
Open to load the checked before-and-after goal states.
theorem a_5 : a 5 = 4 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.a_6Value of the sequenceaat 6 line 118 sourceSource documentation
Value of the sequence
aat 6.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA119591.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_natSuband 11 more23 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem a_6 : a 6 = 1 := by …
Mentions: OeisA119591.a
- theorem
OeisA119591.conjectureIs $a(n)$ defined for all $n \ge 2$? sorry line 131 sourceSource documentation
Is $a(n)$ defined for all $n \ge 2$? That is, does there exist $k > 0$ such that $2 \cdot n^k - 1$ is prime?
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Exists,And,GT.gt,Nat.Prime,HSub.hSub,HMul.hMul,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous22 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n : ℕ) (hn : 2 ≤ n) : ∃ k > 0, (2 * n ^ k - 1).Prime := by …