/-
Copyright (c) 2024 María Inés de Frutos-Fernández, Filippo A. E. Nuccio. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: María Inés de Frutos-Fernández, Filippo A. E. Nuccio
-/
module
public import Mathlib.FieldTheory.Minpoly.Finite
public import Mathlib.RingTheory.Valuation.Basic
import Mathlib.FieldTheory.Minpoly.Field
/-!
# Minimal polynomials.
We prove some results about valuations of zero coefficients of minimal polynomials.
Let `K` be a field with a valuation `v` and let `L` be a field extension of `K`.
## Main statements
* `coeff_zero_minpoly` : for `x ∈ K` the valuation of the zeroth coefficient of the minimal
polynomial of `algebraMap K L x` over `K` is equal to the valuation of `x`.
* `pow_coeff_zero_ne_zero_of_unit` : for any unit `x : Lˣ`, we prove that a certain power of the
valuation of zeroth coefficient of the minimal polynomial of `x` over `K` is nonzero. This lemma
is helpful for defining the valuation on `L` inducing `v`.
-/
public section
open Module minpoly Polynomial
variable {K : Type*} [Field K] {Γ₀ : Type*} [LinearOrderedCommGroupWithZero Γ₀]
(v : Valuation K Γ₀) (L : Type*) [Field L] [Algebra K L]
namespace Valuation
/-- For `x ∈ K` the valuation of the zeroth coefficient of the minimal polynomial
of `algebraMap K L x` over `K` is equal to the valuation of `x`. -/
@[simp]
theorem coeff_zero_minpoly (x : K) : v ((minpoly K (algebraMap K L x)).coeff 0) = v x := by
rw [minpoly.eq_X_sub_C, coeff_sub, coeff_X_zero, coeff_C_zero, zero_sub, Valuation.map_neg]
variable {L}
/-- For any unit `x : Lˣ`, we prove that a certain power of the valuation of zeroth coefficient of
the minimal polynomial of `x` over `K` is nonzero. This lemma is helpful for defining the valuation
on `L` inducing `v`. -/
theorem pow_coeff_zero_ne_zero_of_unit [FiniteDimensional K L] (x : L) (hx : IsUnit x) :
v ((minpoly K x).coeff 0) ^ (finrank K L / (minpoly K x).natDegree) ≠ (0 : Γ₀) := by
have h_alg : Algebra.IsAlgebraic K L := Algebra.IsAlgebraic.of_finite K L
have hx₀ : IsIntegral K x := (Algebra.IsAlgebraic.isAlgebraic x).isIntegral
have hdeg := Nat.div_pos (natDegree_le x) (natDegree_pos hx₀)
rw [ne_eq, pow_eq_zero_iff hdeg.ne.symm, Valuation.zero_iff]
exact coeff_zero_ne_zero hx₀ hx.ne_zero
end Valuation
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland