The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Polynomial.GaussNorm
17 declarations. Mathlib docs · Source
def Polynomial.gaussNorm E1 #
{R : Type u_1} → {F : Type u_2} → [inst : Semiring R] → [FunLike F R ℝ] → F → ℝ → Polynomial R → ℝ
Given a polynomial p in R[X], a function v : R → ℝ and a real number c, the Gauss norm
is defined as the supremum of the set of all values of v (p.coeff i) * c ^ i for all i in the
support of p.
theorem Polynomial.gaussNorm_zero E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) (c : ℝ),
Polynomial.gaussNorm v c 0 = 0
theorem Polynomial.exists_eq_gaussNorm E1 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) (c : ℝ) (p : Polynomial R)
[ZeroHomClass F R ℝ], ∃ i, Polynomial.gaussNorm v c p = v (p.coeff i) * c ^ i
theorem Polynomial.gaussNorm_C E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) (c : ℝ) [ZeroHomClass F R ℝ]
(r : R), Polynomial.gaussNorm v c (Polynomial.C r) = v r
theorem Polynomial.gaussNorm_monomial E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) (c : ℝ) [ZeroHomClass F R ℝ]
(n : ℕ) (r : R), Polynomial.gaussNorm v c ((Polynomial.monomial n) r) = v r * c ^ n
theorem Polynomial.gaussNorm_coe_powerSeries E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} (p : Polynomial R)
[ZeroHomClass F R ℝ] [NonnegHomClass F R ℝ], 0 ≤ c → PowerSeries.gaussNorm (⇑v) c ↑p = Polynomial.gaussNorm v c p
If v is a nonnegative function with v 0 = 0 and c is nonnegative, the Gauss norm of a
polynomial is equal to its Gauss norm as a power series.
theorem Polynomial.gaussNorm_eq_zero_iff E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} (p : Polynomial R)
[ZeroHomClass F R ℝ] [NonnegHomClass F R ℝ],
(∀ (x : R), v x = 0 → x = 0) → 0 < c → (Polynomial.gaussNorm v c p = 0 ↔ p = 0)
If v x = 0 → x = 0 for all x : R and v is nonnegative, then the Gauss norm is zero if and
only if the polynomial is zero.
theorem Polynomial.gaussNorm_nonneg E1 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} (p : Polynomial R)
[NonnegHomClass F R ℝ], 0 ≤ c → 0 ≤ Polynomial.gaussNorm v c p
If v is a nonnegative function, then the Gauss norm is nonnegative.
theorem Polynomial.le_gaussNorm E1 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} (p : Polynomial R)
[ZeroHomClass F R ℝ] [NonnegHomClass F R ℝ], 0 ≤ c → ∀ (i : ℕ), v (p.coeff i) * c ^ i ≤ Polynomial.gaussNorm v c p
theorem Polynomial.gaussNorm_zero_right E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) (p : Polynomial R)
[ZeroHomClass F R ℝ] [NonnegHomClass F R ℝ], Polynomial.gaussNorm v 0 p = v (p.coeff 0)
theorem Polynomial.exists_min_eq_gaussNorm E1 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} [ZeroHomClass F R ℝ]
[NonnegHomClass F R ℝ] (p : Polynomial R),
0 ≤ c →
∃ i,
Polynomial.gaussNorm v c p = v (p.coeff i) * c ^ i ∧ ∀ j < i, v (p.coeff j) * c ^ j < Polynomial.gaussNorm v c p
If v is a nonnegative function with v 0 = 0 and c is nonnegative, there exists a minimal
index i such that the Gauss norm of p at c is attained at i.
theorem Polynomial.isNonarchimedean_gaussNorm E1 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) [ZeroHomClass F R ℝ]
[NonnegHomClass F R ℝ], IsNonarchimedean ⇑v → ∀ {c : ℝ}, 0 ≤ c → IsNonarchimedean (Polynomial.gaussNorm v c)
If v is a nonnegative nonarchimedean function with v 0 = 0 and c is nonnegative, the
Gauss norm is nonarchimedean.
theorem Polynomial.gaussNorm_mul_le E1 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} [ZeroHomClass F R ℝ]
[NonnegHomClass F R ℝ] [MulHomClass F R ℝ],
IsNonarchimedean ⇑v →
∀ (p q : Polynomial R),
0 ≤ c → Polynomial.gaussNorm v c (p * q) ≤ Polynomial.gaussNorm v c p * Polynomial.gaussNorm v c q
If v is a nonnegative nonarchimedean multiplicative function with v 0 = 0 and c is
nonnegative, then the Gauss norm is submultiplicative.
theorem Polynomial.gaussNorm_mul E1 #
∀ {c : ℝ} {R : Type u_3} [inst : Ring R] {v : AbsoluteValue R ℝ},
IsNonarchimedean ⇑v →
0 < c →
∀ (p q : Polynomial R), Polynomial.gaussNorm v c (p * q) = Polynomial.gaussNorm v c p * Polynomial.gaussNorm v c q
If v is a nonarchimedean absolute value, then the Gauss norm is multiplicative.
theorem Polynomial.gaussNorm_isAbsoluteValue E1 #
∀ {c : ℝ} {R : Type u_3} [inst : Ring R] {v : AbsoluteValue R ℝ},
IsNonarchimedean ⇑v → 0 < c → IsAbsoluteValue (Polynomial.gaussNorm v c)
If v is a nonarchimedean absolute value, then the Gauss norm is an absolute value.
theorem PowerSeries.gaussNorm_C E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} (r : R)
[ZeroHomClass F R ℝ] [NonnegHomClass F R ℝ], 0 ≤ c → PowerSeries.gaussNorm (⇑v) c (PowerSeries.C r) = v r
theorem PowerSeries.gaussNorm_monomial E0 #
∀ {R : Type u_1} {F : Type u_2} [inst : Semiring R] [inst_1 : FunLike F R ℝ] (v : F) {c : ℝ} (r : R)
[ZeroHomClass F R ℝ] [NonnegHomClass F R ℝ],
0 ≤ c → ∀ (n : ℕ), PowerSeries.gaussNorm (⇑v) c ((PowerSeries.monomial n) r) = v r * c ^ n