Documentation

CslibFrontier.Foundations.LinearAlgebra.Matrix.HessianDeterminant

Hessians of the determinant at singular matrices #

The Hessian of a permutation sum ∑ σ, w σ • ∏ i, X (σ i, i) at x, at the entries a and b, sums the weighted products over the remaining columns of the permutations through a and b. If a column z of x vanishes, every such product for the determinant vanishes unless a or b lies in column z, so the Hessian is supported on 2 · m rows and columns and has rank at most 2 · m. A general singular matrix becomes one with a zero column after right multiplication by an invertible matrix whose column z spans the kernel. That substitution is linear and multiplies the determinant by a nonzero constant. By the chain rule (MvPolynomial.rank_hessian_aeval_le), the Hessian of the determinant of any m × m matrix of affine polynomials has rank at most 2 · m at every zero of the determinant Mignon and Ressayre. The statements hold over every field.

Main results #

References #

theorem Matrix.hessian_sum_smul_prod_X {ι : Type u_1} [Fintype ι] [DecidableEq ι] {K : Type u_2} [Field K] (w : Equiv.Perm ι → K) (x : ι × ι → K) (a b : ι × ι) :
MvPolynomial.hessian x (∑ σ : Equiv.Perm ι, w σ • ∏ i : ι, MvPolynomial.X (σ i, i)) a b = ∑ σ : Equiv.Perm ι, if a.2 ≠ b.2 ∧ σ a.2 = a.1 ∧ σ b.2 = b.1 then w σ * ∏ i ∈ (Finset.univ.erase b.2).erase a.2, x (σ i, i) else 0

The Hessian of a weighted permutation sum.

theorem Matrix.rank_hessian_det_mvPolynomialX_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {K : Type u_2} [Field K] {x : ι × ι → K} (hx : (MvPolynomial.eval x) (mvPolynomialX ι ι K).det = 0) :

The determinant's Hessian at a singular matrix has rank at most 2 * m Mignon and Ressayre.

theorem Matrix.rank_hessian_det_le {K : Type u_2} [Field K] {σ : Type u_3} {κ : Type u_4} [Finite σ] [Fintype κ] [DecidableEq κ] (A : Matrix κ κ (MvPolynomial σ K)) (hA : ∀ (i j : κ), (A i j).totalDegree ≤ 1) {x : σ → K} (hx : (MvPolynomial.eval x) A.det = 0) :

Mignon–Ressayre upper bound: the determinant of an m × m matrix of affine polynomials has Hessian of rank at most 2 * m at every zero of the determinant Mignon and Ressayre.