Documentation

Mathlib.LinearAlgebra.QuadraticForm.Signature

Signature of a quadratic form #

We define the signature of a quadratic form over a linearly ordered field, and show that it can be computed from any sum-of-squares representation.

Main results and definitions #

Acknowledgements #

This file is based on work carried out by Sina Keller, Philipp Schumann, and Nicolas Trutmann in the course of their studies at ETH Zürich.

@[simp]
theorem QuadraticMap.IsometryEquiv.map_posDef_iff {R : Type u_1} {M : Type u_2} {M' : Type u_3} [AddCommGroup M] [AddCommGroup M'] [CommRing R] [LinearOrder R] [Module R M] {Q : QuadraticForm R M} [Module R M'] {Q' : QuadraticForm R M'} {V : Submodule R M} (e : IsometryEquiv Q Q') :
@[simp]
theorem QuadraticMap.IsometryEquiv.map_negDef_iff {R : Type u_1} {M : Type u_2} {M' : Type u_3} [AddCommGroup M] [AddCommGroup M'] [CommRing R] [LinearOrder R] [Module R M] {Q : QuadraticForm R M} [Module R M'] {Q' : QuadraticForm R M'} {V : Submodule R M} (e : IsometryEquiv Q Q') :
noncomputable def sigPos {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] (Q : QuadraticForm R M) :

For quadratic forms on finite-dimensional spaces, the maximal finrank of a positive-definite subspace of M. (Defined as 0 if M is infinite-dimensional).

Equations
Instances For
    theorem sigPos_le_finrank {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] (Q : QuadraticForm R M) :
    theorem sigPos_isGreatest {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] (Q : QuadraticForm R M) [Module.Finite R M] [StrongRankCondition R] :

    Defining property of sigPos.

    noncomputable def sigNeg {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] (Q : QuadraticForm R M) :

    For quadratic forms on finite-dimensional spaces, the maximal finrank of a negative-definite subspace of M. (Defined as 0 if M is infinite-dimensional).

    Equations
    Instances For
      theorem sigNeg_isGreatest {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] (Q : QuadraticForm R M) [Module.Finite R M] [StrongRankCondition R] :

      Defining property of sigNeg.

      @[simp]
      theorem sigPos_neg {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] {Q : QuadraticForm R M} :
      @[simp]
      theorem sigNeg_neg {R : Type u_1} {M : Type u_2} [AddCommGroup M] [CommRing R] [LinearOrder R] [Module R M] {Q : QuadraticForm R M} :
      theorem QuadraticMap.Equivalent.sigPos_eq {R : Type u_1} {M : Type u_2} {M' : Type u_3} [AddCommGroup M] [AddCommGroup M'] [CommRing R] [LinearOrder R] [Module R M] {Q : QuadraticForm R M} [Module R M'] {Q' : QuadraticForm R M'} (h : Equivalent Q Q') :
      theorem QuadraticMap.Equivalent.sigNeg_eq {R : Type u_1} {M : Type u_2} {M' : Type u_3} [AddCommGroup M] [AddCommGroup M'] [CommRing R] [LinearOrder R] [Module R M] {Q : QuadraticForm R M} [Module R M'] {Q' : QuadraticForm R M'} (h : Equivalent Q Q') :
      theorem QuadraticForm.sigPos_add_finrank_le_of_nonpos {M : Type u_2} [AddCommGroup M] {𝕜 : Type u_4} [Field 𝕜] [LinearOrder 𝕜] [Module 𝕜 M] {Q : QuadraticForm 𝕜 M} [FiniteDimensional 𝕜 M] {V : Subspace 𝕜 M} (hV : xV, Q x 0) :

      Key lemma for Sylvester's law of inertia: the sum of sigPos Q and the dimension of any negative-semidefinite subspace is bounded above by the dimension of the whole space.

      theorem QuadraticForm.sigPos_weightedSumSquares {𝕜 : Type u_4} [Field 𝕜] [LinearOrder 𝕜] {ι : Type u_5} [Fintype ι] {w : ι𝕜} [IsStrictOrderedRing 𝕜] :

      Key lemma for Sylvester's law of inertia: compute the signature of a weighted sum of squares.

      theorem QuadraticForm.sigNeg_weightedSumSquares {𝕜 : Type u_4} [Field 𝕜] [LinearOrder 𝕜] {ι : Type u_5} [Fintype ι] {w : ι𝕜} [IsStrictOrderedRing 𝕜] :
      theorem QuadraticForm.sigPos_of_equiv_weightedSumSquares {M : Type u_2} [AddCommGroup M] {𝕜 : Type u_4} [Field 𝕜] [LinearOrder 𝕜] [Module 𝕜 M] {Q : QuadraticForm 𝕜 M} {ι : Type u_5} [Fintype ι] {w : ι𝕜} [IsStrictOrderedRing 𝕜] (hQ : QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares 𝕜 w)) :
      sigPos Q = {i : ι | 0 < w i}.ncard

      Uniqueness part of Sylvester's law of inertia (positive part): for any weighted sum of squares equivalent to Q, the number of strictly positive weights is equal to sigPos Q.

      theorem QuadraticForm.sigNeg_of_equiv_weightedSumSquares {M : Type u_2} [AddCommGroup M] {𝕜 : Type u_4} [Field 𝕜] [LinearOrder 𝕜] [Module 𝕜 M] {Q : QuadraticForm 𝕜 M} {ι : Type u_5} [Fintype ι] {w : ι𝕜} [IsStrictOrderedRing 𝕜] (hQ : QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares 𝕜 w)) :
      sigNeg Q = {i : ι | w i < 0}.ncard

      Uniqueness part of Sylvester's law of inertia (negative part): for any weighted sum of squares equivalent to Q, the number of strictly negative weights is equal to sigNeg Q.