Documentation

CslibFrontier.Foundations.Data.MvPolynomial.CoeffNorm1

The coefficient ℓ₁ norm of an integer multivariate polynomial #

The sum of absolute coefficients bounds every coefficient, is subadditive and submultiplicative, and does not increase under variable renaming. A partial derivative increases it by at most the total degree. These bounds support implicit polynomial families without storing expanded coefficient lists.

Adapted from lean-canny’s coefficient-mass development. The name matches the univariate Polynomial.coeffNorm1 API; no machine model is involved.

Main definitions #

Main results #

noncomputable def MvPolynomial.coeffNorm1 {ι : Type u_1} (p : MvPolynomial ι ℤ) :

The sum of the absolute values of the integer coefficients.

@[simp]

The zero polynomial has zero coefficient norm.

@[simp]
theorem MvPolynomial.coeffNorm1_monomial {ι : Type u_1} (m : ι →₀ ℕ) (a : ℤ) :

A monomial has the norm of its coefficient.

theorem MvPolynomial.coeffNorm1_C {ι : Type u_1} (a : ℤ) :

A constant polynomial has the norm of its coefficient.

@[simp]

The constant polynomial one has coefficient norm one.

@[simp]
theorem MvPolynomial.coeffNorm1_X {ι : Type u_1} (i : ι) :
(X i).coeffNorm1 = 1

A variable has coefficient norm one.

Every coefficient is bounded in absolute value by the coefficient norm.

theorem MvPolynomial.coeffNorm1_eq_sum_of_support_subset {ι : Type u_1} (p : MvPolynomial ι ℤ) (s : Finset (ι →₀ ℕ)) (hs : p.support ⊆ s) :
p.coeffNorm1 = ∑ m ∈ s, (p.coeff m).natAbs

The coefficient norm may be summed over any finite superset of the support.

theorem MvPolynomial.coeffNorm1_nsmul {ι : Type u_1} (k : ℕ) (p : MvPolynomial ι ℤ) :

Multiplication by a natural scalar scales the coefficient norm exactly.

Triangle inequality for the coefficient norm.

@[simp]

Negation preserves the coefficient norm.

Triangle inequality for a difference.

theorem MvPolynomial.coeffNorm1_sum_le {ι : Type u_1} {J : Type u_3} (s : Finset J) (p : J → MvPolynomial ι ℤ) :
(∑ j ∈ s, p j).coeffNorm1 ≤ ∑ j ∈ s, (p j).coeffNorm1

The coefficient norm of a finite sum is bounded by the sum of the norms.

Submultiplicativity of the coefficient norm.

theorem MvPolynomial.coeffNorm1_pow_le {ι : Type u_1} (p : MvPolynomial ι ℤ) (n : ℕ) :

Powers satisfy the corresponding coefficient-norm bound.

theorem MvPolynomial.coeffNorm1_prod_le {ι : Type u_1} {J : Type u_3} (s : Finset J) (p : J → MvPolynomial ι ℤ) :
(∏ j ∈ s, p j).coeffNorm1 ≤ ∏ j ∈ s, (p j).coeffNorm1

Finite products satisfy the corresponding coefficient-norm bound.

theorem MvPolynomial.coeffNorm1_rename_le {ι : Type u_1} {κ : Type u_2} (f : ι → κ) (p : MvPolynomial ι ℤ) :

Renaming cannot increase the norm, even when variables merge.

A partial derivative increases the norm by at most the total degree.