FormalConjectures/OEIS/84046.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, 1 contain sorry, 0 declared as axioms
Smallest prime $p$ such that $p + n$ is an $n$-th power
Smallest prime $p$ such that $p + n$ is an $n$-th power, or $0$ if no such number exists. That is, the smallest prime of the form $k^n - n$.
References:
Imports (1)
- def
OeisA84046.aSmallest prime $p$ such that $p + n$ is an $n$-th power, or $0$ if no such prime exists line 34 sourceSource documentation
Smallest prime $p$ such that $p + n$ is an $n$-th power, or $0$ if no such prime exists.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
InfSet.sInf,Set.ofPred,And,Nat.Prime,Exists,Eq,HPow.hPow,HAdd.hAdd7 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA84046.a_0Value of the sequenceaat 0 line 39 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA84046.a,OfNat.ofNatProof uses:
id,Set,Set.ofPred,And,Nat.Prime,Exists,HPow.hPow,HAdd.hAdd,EmptyCollection.emptyCollection,Set.ext,Eq.mpr,Iff,Membership.mem,Not,Eq.trans,False,congrArg,iff_false,Nat.not_prime_one,Eq.mpand 5 more25 instances, coercions and auxiliary constants left out.
Tactic trace: 9 steps
Open to load the checked before-and-after goal states.
theorem a_0 : a 0 = 0 := by …
Mentions: OeisA84046.a
- theorem
OeisA84046.a_1Value of the sequenceaat 1 line 52 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA84046.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,Nat.Prime,Exists,HPow.hPow,HAdd.hAdd,And.intro,Membership.mem,Set,lowerBounds,id,Nat.prime_two,Exists.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_pow,Eq.refl,Mathlib.Meta.NormNum.isNat_ofNat,Mathlib.Meta.NormNum.natPow_one,Mathlib.Meta.NormNum.isNat_addand 3 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 11 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 2 := by …
Mentions: OeisA84046.a
- theorem
OeisA84046.a_2Value of the sequenceaat 2 line 64 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA84046.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,Nat.Prime,Exists,HPow.hPow,HAdd.hAdd,And.intro,Membership.mem,Set,lowerBounds,id,Nat.prime_two,Exists.intro,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_pow,Eq.refl,Mathlib.Meta.NormNum.isNat_ofNat,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0and 4 more20 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 = 2 := by …
Mentions: OeisA84046.a
- theorem
OeisA84046.a_3Value of the sequenceaat 3 line 76 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA84046.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,Nat.Prime,Exists,HPow.hPow,HAdd.hAdd,And.intro,Membership.mem,Set,lowerBounds,id,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.true,Mathlib.Meta.NormNum.isNat_minFac_4,Mathlib.Meta.NormNum.IsNat.raw_refl,Mathlib.Meta.NormNum.minFacHelper_0and 30 more43 instances, coercions and auxiliary constants left out.
Tactic trace: 45 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 5 := by …
Mentions: OeisA84046.a
- theorem
OeisA84046.conjecturesorry line 111 sourcedepends on sorry what this means
Statement uses:
Not,Nat,Eq, OeisA84046.a,OfNat.ofNat,Exists,HPow.hPow,HMul.hMulProof 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.