Determinants of multivariate polynomials #
A determinant with entries of total degree at most d has total degree at most the matrix
size times d (totalDegree_det_le). Perturbing each entry only below degree d preserves
all coefficients at or above that maximal determinant degree
(coeff_det_eq_of_totalDegree_sub_lt), over every commutative coefficient ring.
The coefficient stability argument is adapted from lean-canny.
theorem MvPolynomial.totalDegree_det_le {R : Type u_1} {σ : Type u_2} {ι : Type u_3} [CommRing R] [Fintype ι] [DecidableEq ι] (A : Matrix ι ι (MvPolynomial σ R)) (d : ℕ) (hA : ∀ (i j : ι), (A i j).totalDegree ≤ d) :
A determinant of polynomials of total degree at most d has total degree at most
|ι| * d.
theorem MvPolynomial.coeff_det_eq_of_totalDegree_sub_lt {A : Type u_1} {σ : Type u_2} [CommRing A] {n : ℕ} (M N : Matrix (Fin n) (Fin n) (MvPolynomial σ A)) (d : ℕ) (hM : ∀ (i j : Fin n), (M i j).totalDegree ≤ d) (hN : ∀ (i j : Fin n), (N i j).totalDegree ≤ d) (hd : ∀ (i j : Fin n), (M i j - N i j).totalDegree < d) (e : σ →₀ ℕ) (he : n * d ≤ Finsupp.degree e) :
Lower-degree changes to matrix entries preserve all coefficients at the maximal determinant degree.