The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Polynomial.Cyclotomic.Eval

15 declarations. Mathlib docs · Source

theorem Polynomial.eval_one_cyclotomic_prime E0 #

∀ {R : Type u_1} [inst : CommRing R] {p : ℕ} [hn : Fact (Nat.Prime p)],
  Polynomial.eval 1 (Polynomial.cyclotomic p R) = ↑p

theorem Polynomial.eval₂_one_cyclotomic_prime E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : Semiring S] (f : R →+* S) {p : ℕ} [Fact (Nat.Prime p)],
  Polynomial.eval₂ f 1 (Polynomial.cyclotomic p R) = ↑p

theorem Polynomial.eval_one_cyclotomic_prime_pow E0 #

∀ {R : Type u_1} [inst : CommRing R] {p : ℕ} (k : ℕ) [hn : Fact (Nat.Prime p)],
  Polynomial.eval 1 (Polynomial.cyclotomic (p ^ (k + 1)) R) = ↑p

theorem Polynomial.eval₂_one_cyclotomic_prime_pow E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : Semiring S] (f : R →+* S) {p : ℕ} (k : ℕ)
  [Fact (Nat.Prime p)], Polynomial.eval₂ f 1 (Polynomial.cyclotomic (p ^ (k + 1)) R) = ↑p

theorem Polynomial.cyclotomic_pos E1 #

∀ {n : ℕ},
  2 < n →
    ∀ {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] (x : R),
      0 < Polynomial.eval x (Polynomial.cyclotomic n R)

theorem Polynomial.cyclotomic_pos_and_nonneg E1 #

∀ (n : ℕ) {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] (x : R),
  (1 < x → 0 < Polynomial.eval x (Polynomial.cyclotomic n R)) ∧
    (1 ≤ x → 0 ≤ Polynomial.eval x (Polynomial.cyclotomic n R))

theorem Polynomial.cyclotomic_pos' E1 #

∀ (n : ℕ) {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {x : R},
  1 < x → 0 < Polynomial.eval x (Polynomial.cyclotomic n R)

Cyclotomic polynomials are always positive on inputs larger than one. Similar to cyclotomic_pos but with the condition on the input rather than index of the cyclotomic polynomial.

theorem Polynomial.cyclotomic_nonneg E1 #

∀ (n : ℕ) {R : Type u_1} [inst : CommRing R] [inst_1 : LinearOrder R] [IsStrictOrderedRing R] {x : R},
  1 ≤ x → 0 ≤ Polynomial.eval x (Polynomial.cyclotomic n R)

Cyclotomic polynomials are always nonnegative on inputs one or more.

theorem Polynomial.eval_one_cyclotomic_not_prime_pow E1 #

∀ {R : Type u_1} [inst : Ring R] {n : ℕ},
  (∀ {p : ℕ}, Nat.Prime p → ∀ (k : ℕ), p ^ k ≠ n) → Polynomial.eval 1 (Polynomial.cyclotomic n R) = 1

theorem Polynomial.sub_one_pow_totient_lt_cyclotomic_eval E1 #

∀ {n : ℕ} {q : ℝ}, 2 ≤ n → 1 < q → (q - 1) ^ n.totient < Polynomial.eval q (Polynomial.cyclotomic n ℝ)

theorem Polynomial.sub_one_pow_totient_le_cyclotomic_eval E1 #

∀ {q : ℝ}, 1 < q → ∀ (n : ℕ), (q - 1) ^ n.totient ≤ Polynomial.eval q (Polynomial.cyclotomic n ℝ)

theorem Polynomial.cyclotomic_eval_lt_add_one_pow_totient E1 #

∀ {n : ℕ} {q : ℝ}, 3 ≤ n → 1 < q → Polynomial.eval q (Polynomial.cyclotomic n ℝ) < (q + 1) ^ n.totient

theorem Polynomial.cyclotomic_eval_le_add_one_pow_totient E1 #

∀ {q : ℝ}, 1 < q → ∀ (n : ℕ), Polynomial.eval q (Polynomial.cyclotomic n ℝ) ≤ (q + 1) ^ n.totient

theorem Polynomial.sub_one_pow_totient_lt_natAbs_cyclotomic_eval E1 #

∀ {n q : ℕ}, 1 < n → q ≠ 1 → (q - 1) ^ n.totient < (Polynomial.eval (↑q) (Polynomial.cyclotomic n ℤ)).natAbs

theorem Polynomial.sub_one_lt_natAbs_cyclotomic_eval E1 #

∀ {n q : ℕ}, 1 < n → q ≠ 1 → q - 1 < (Polynomial.eval (↑q) (Polynomial.cyclotomic n ℤ)).natAbs