FormalConjectures/OEIS/117545.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
Least $k$ such that cyclotomic polynomial $\Phi_k(n)$ is prime
$a(n) = \min \{k \in \mathbb{N} \mid 0 < k \wedge \text{Prime}(|\Phi_k(n)|) \}$, where $\Phi_k(n)$ is the $k$-th cyclotomic polynomial evaluated at $n$.
References:
Imports (1)
- def
OeisA117545.aLeast $k > 0$ such that $|\Phi_k(n)|$ is prime, or $0$ if no such $k$ exists line 34 sourceSource documentation
Least $k > 0$ such that $|\Phi_k(n)|$ 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,Int.natAbs,Polynomial.eval,Int,Polynomial.cyclotomic7 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA117545.a_1Value of the sequenceaat 1 line 39 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117545.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,Int.natAbs,Polynomial.eval,Int,Polynomial.cyclotomic,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Polynomialand 44 more51 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 2 := by …
Mentions: OeisA117545.a
- theorem
OeisA117545.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, OeisA117545.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,Int.natAbs,Polynomial.eval,Int,Polynomial.cyclotomic,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Polynomialand 52 more47 instances, coercions and auxiliary constants left out.
Tactic trace: 21 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 2 := by …
Mentions: OeisA117545.a
- theorem
OeisA117545.a_3Value of the sequenceaat 3 line 85 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117545.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,Int.natAbs,Polynomial.eval,Int,Polynomial.cyclotomic,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Polynomialand 27 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 1 := by …
Mentions: OeisA117545.a
- theorem
OeisA117545.a_4Value of the sequenceaat 4 line 100 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA117545.a,OfNat.ofNatProof uses:
IsLeast,Set.ofPred,And,LT.lt,Nat.Prime,Int.natAbs,Polynomial.eval,Int,Polynomial.cyclotomic,And.intro,Membership.mem,Set,lowerBounds,id,of_decide_eq_true,Bool,Decidable.decide,Bool.true,Eq.refl,Polynomialand 29 more28 instances, coercions and auxiliary constants left out.
Tactic trace: 13 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 1 := by …
Mentions: OeisA117545.a
- theorem
OeisA117545.conjectureIs $a(n)$ defined for all $n \ge 1$? sorry line 117 sourceSource documentation
Is $a(n)$ defined for all $n \ge 1$? That is, for every $n \ge 1$, does there exist $k > 0$ such that $|\Phi_k(n)|$ is prime?
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat,Exists,And,GT.gt,Nat.Prime,Int.natAbs,Polynomial.eval,Int,Polynomial.cyclotomicProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous12 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 : 0 < n) : ∃ k > 0, ((Polynomial.cyclotomic k ℤ).eval (n : ℤ)).natAbs.Prime := by …