Documentation

Mathlib.Analysis.Polynomial.Norm

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 #

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.

TODOs #

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.

noncomputable def Polynomial.supNorm {A : Type u_1} [SeminormedRing A] (p : 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.guassNorm.

Equations
Instances For
    theorem Polynomial.supNorm_def' {A : Type u_1} [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

    @[simp]
    @[simp]
    theorem Polynomial.supNorm_C {A : Type u_1} [SeminormedRing A] {a : A} :
    @[simp]
    theorem Polynomial.supNorm_monomial {A : Type u_1} [SeminormedRing A] (n : ) {a : A} :
    theorem Polynomial.supNorm_eq_iSup {A : Type u_1} [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.