FormalConjectures/OEIS/117545.lean

GitHub source file

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)
  1. def OeisA117545.a Least $k > 0$ such that $|\Phi_k(n)|$ is prime, or $0$ if no such $k$ exists line 34 source

    Source 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: Nat

    Proof uses: InfSet.sInf, Set.ofPred, And, LT.lt, OfNat.ofNat, Nat.Prime, Int.natAbs, Polynomial.eval, Int, Polynomial.cyclotomic

    7 instances, coercions and auxiliary constants left out.

    noncomputable def a (n : ℕ) : ℕ :=
    …
  2. theorem OeisA117545.a_1 Value of the sequence a at 1 line 39 source

    Source documentation

    Value of the sequence a at 1.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA117545.a, OfNat.ofNat

    Proof 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, Polynomial and 44 more

    51 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

  3. theorem OeisA117545.a_2 Value of the sequence a at 2 line 62 source

    Source documentation

    Value of the sequence a at 2.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA117545.a, OfNat.ofNat

    Proof 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, Polynomial and 52 more

    47 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

  4. theorem OeisA117545.a_3 Value of the sequence a at 3 line 85 source

    Source documentation

    Value of the sequence a at 3.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA117545.a, OfNat.ofNat

    Proof 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, Polynomial and 27 more

    28 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

  5. theorem OeisA117545.a_4 Value of the sequence a at 4 line 100 source

    Source documentation

    Value of the sequence a at 4.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA117545.a, OfNat.ofNat

    Proof 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, Polynomial and 29 more

    28 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

  6. theorem OeisA117545.conjecture Is $a(n)$ defined for all $n \ge 1$? sorry line 117 source

    Source 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.cyclotomic

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    12 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
    …