FormalConjectures/OEIS/159829.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
7 declarations, 2 contain sorry, 0 declared as axioms
Smallest $m$ such that $n^3 + m^3 + 1$ is prime
$a(n)$ is the smallest natural number $m \ge 1$ such that $n^3 + m^3 + 1$ is prime.
References:
Imports (1)
- def
OeisA159829.a$a(n)$ is the smallest natural number $m \ge 1$ such that $n^3 + m^3 + 1$ is prime, ornoneif no such $m$ exists line 35 sourceSource documentation
$a(n)$ is the smallest natural number $m \ge 1$ such that $n^3 + m^3 + 1$ is prime, or
noneif no such $m$ exists.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat,OptionProof uses:
ite,Exists,And,LE.le,OfNat.ofNat,Nat.Prime,HAdd.hAdd,HPow.hPow,Classical.propDecidable,Option.some,InfSet.sInf,Set.ofPred,Option.none9 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : Option ℕ := …
- theorem
OeisA159829.a_1Value of the sequenceaat 1 line 43 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Option,Nat, OeisA159829.a,OfNat.ofNat,Option.someProof uses:
IsLeast,Set.ofPred,And,LE.le,Nat.Prime,HAdd.hAdd,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,le_rfl,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,And.left,Existsand 10 more19 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = some 1 := by …
Mentions: OeisA159829.a
- theorem
OeisA159829.a_2Value of the sequenceaat 2 line 51 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Option,Nat, OeisA159829.a,OfNat.ofNat,Option.someProof uses:
IsLeast,Set.ofPred,And,LE.le,Nat.Prime,HAdd.hAdd,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Decidable.byContradiction,Not,And.leftand 23 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = some 2 := by …
Mentions: OeisA159829.a
- theorem
OeisA159829.a_3Value of the sequenceaat 3 line 66 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Option,Nat, OeisA159829.a,OfNat.ofNat,Option.someProof uses:
IsLeast,Set.ofPred,And,LE.le,Nat.Prime,HAdd.hAdd,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,le_rfl,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,And.left,Existsand 10 more19 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = some 1 := by …
Mentions: OeisA159829.a
- theorem
OeisA159829.a_4Value of the sequenceaat 4 line 74 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Option,Nat, OeisA159829.a,OfNat.ofNat,Option.someProof uses:
IsLeast,Set.ofPred,And,LE.le,Nat.Prime,HAdd.hAdd,HPow.hPow,And.intro,Membership.mem,Set,lowerBounds,of_decide_eq_true,id,Bool,Decidable.decide,Bool.true,Eq.refl,Decidable.byContradiction,Not,And.leftand 23 more31 instances, coercions and auxiliary constants left out.
Tactic trace: 12 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = some 2 := by …
Mentions: OeisA159829.a
- theorem
OeisA159829.conjecture1sorry line 98 sourcedepends on sorry what this means
Statement uses:
Iff,False,Nat,LE.le,OfNat.ofNat,Set.Infinite,Set.ofPred,Exists,And,Nat.Prime,Eq,HAdd.hAdd,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA159829.conjecture2Conjecture 2: For any $k \ge 3$, there are infinitely many primes of the form $n^k + m^k + 1$ for $n, m \ge 1$ sorry line 110 sourceSource documentation
Conjecture 2: For any $k \ge 3$, there are infinitely many primes of the form $n^k + m^k + 1$ for $n, m \ge 1$.
- Ulrich Krug, 2009
depends on sorry what this means
Statement uses:
Nat,LE.le,OfNat.ofNat,Set.Infinite,Set.ofPred,Exists,And,Nat.Prime,Eq,HAdd.hAdd,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous16 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture2 (k : ℕ) (hk : 3 ≤ k) : Set.Infinite {p : ℕ | ∃ n m : ℕ, 1 ≤ n ∧ 1 ≤ m ∧ p.Prime ∧ p = n ^ k + m ^ k + 1} := by …