The areas / V15. Real analysis in one variable
Mathlib.Analysis.Polynomial.Norm
12 declarations. Mathlib docs · Source
Sup Norm of Polynomials
In this file we define the sup norm on Polynomials based on their coefficients as well as several
basic results about this norm. We note that this is often called the (naive) height of the
polynomial in the literature.
The sup norm is related to the Mahler measure of the polynomial. See
Mathlib/Analysis/Polynomial/MahlerMeasure.lean.
Main definitions
Polynomial.supNorm p: the sup norm of the coefficients of the polynomial, equal to the maximum of the norm of its coefficients (or zero for the zero polynomial)
A Note on Naming
In the literature, the sup norm is often called the (naive) height of a polynomial and the
l^1 norm is often called the length of the polynomial. Unfortunately, these terms are
extremely overloaded and Mathlib defines height differently.
TODO
All other l^p norms can be defined on Polynomials as well. In the literature, the l^1 norm is
sometimes called the polynomial's length. The l^2 norm sometimes arises due to Parseval's
theorem implying that the squared l^2 norm of a complex polynomial is the integral of the norm of
the polynomial's value on the unit circle.
def Polynomial.supNorm E1 #
{A : Type u_1} → [inst : SeminormedRing A] → Polynomial A → ℝ
The sup norm of a polynomial on a semi-normed ring, defined as the maximum of its coefficients. Often called the (naive) height of the polynomial.
This is defined in terms of Polynomial.gaussNorm.
theorem Polynomial.supNorm_def' E1 #
∀ {A : Type u_1} [inst : SeminormedRing A] (p : Polynomial A),
p.supNorm = if hp : p.support.Nonempty then p.support.sup' hp (norm ∘ ⇑p.coeff) else 0
The direct definition of the supNorm
theorem Polynomial.supNorm_zero E0 #
∀ {A : Type u_1} [inst : SeminormedRing A], Polynomial.supNorm 0 = 0
theorem Polynomial.supNorm_nonneg E1 #
∀ {A : Type u_1} [inst : SeminormedRing A] (p : Polynomial A), 0 ≤ p.supNorm
theorem Polynomial.supNorm_C E0 #
∀ {A : Type u_1} [inst : SeminormedRing A] {a : A}, (Polynomial.C a).supNorm = ‖a‖
theorem Polynomial.supNorm_monomial E0 #
∀ {A : Type u_1} [inst : SeminormedRing A] (n : ℕ) {a : A}, ((Polynomial.monomial n) a).supNorm = ‖a‖
theorem Polynomial.supNorm_X E0 #
∀ {A : Type u_1} [inst : SeminormedRing A] [NormOneClass A], Polynomial.X.supNorm = 1
theorem Polynomial.le_supNorm E1 #
∀ {A : Type u_1} [inst : SeminormedRing A] (p : Polynomial A) (i : ℕ), ‖p.coeff i‖ ≤ p.supNorm
theorem Polynomial.exists_eq_supNorm E1 #
∀ {A : Type u_1} [inst : SeminormedRing A] (p : Polynomial A), ∃ i, p.supNorm = ‖p.coeff i‖
theorem Polynomial.isGreatest_supNorm E1 #
∀ {A : Type u_1} [inst : SeminormedRing A] (p : Polynomial A), IsGreatest (Set.range fun x ↦ ‖p.coeff x‖) p.supNorm
theorem Polynomial.supNorm_eq_iSup E1 #
∀ {A : Type u_1} [inst : SeminormedRing A] (p : Polynomial A), p.supNorm = ⨆ i, ‖p.coeff i‖
The supNorm can also be defined with an iSup. Note that this uses the fact that norm is both
a ZeroHom and NonnegHom so is not a priori true from the gaussNorm definition.
theorem Polynomial.supNorm_eq_zero_iff E0 #
∀ {A : Type u_1} [inst : NormedRing A] (p : Polynomial A), p.supNorm = 0 ↔ p = 0