Documentation

Physlib.Mathematics.ForMathlib.SesquilinearForm

Positive-definite sesquilinear forms #

A sesquilinear form is positive-definite when it is symmetric and strictly positive on nonzero vectors.

i. Overview #

Mathlib has positive-semidefinite sesquilinear forms (LinearMap.IsPosSemidef) and positive-definite matrices (Matrix.PosDef), but no positive-definite sesquilinear forms. LinearMap.IsPosDef fills this gap with the shape of LinearMap.IsPosSemidef: a structure extending LinearMap.IsSymm. For a form M →ₗ⋆[R] M →ₗ[R] R symmetry is Hermiticity, star (B x y) = B y x. A positive-definite form is positive-semidefinite and nondegenerate, and in a basis it is positive-definite exactly when its matrix is.

ii. Key results #

iii. Table of contents #

iv. References #

A. Positive-definite sesquilinear forms #

A.1. The definition #

structure LinearMap.IsPosDef {R : Type u_1} {M : Type u_2} [CommSemiring R] [AddCommMonoid M] [Module R M] {I₁ : R →+* R} [LT R] (B : M →ₛₗ[I₁] M →ₗ[R] R) extends B.IsSymm :

A sesquilinear form B is positive-definite if it is symmetric and 0 < B x x for every nonzero x.

  • eq (x y : M) : I₁ ((B x) y) = (B y) x
  • pos (x : M) : x ≠ 0 → 0 < (B x) x

    B is strictly positive on nonzero vectors.

Instances For
    theorem LinearMap.isPosDef_def {R : Type u_1} {M : Type u_2} [CommSemiring R] [AddCommMonoid M] [Module R M] {I₁ : R →+* R} [LT R] {B : M →ₛₗ[I₁] M →ₗ[R] R} :
    B.IsPosDef ↔ B.IsSymm ∧ ∀ (x : M), x ≠ 0 → 0 < (B x) x

    A.2. Consequences over a preorder #

    theorem LinearMap.IsPosDef.isPosSemidef {R : Type u_1} {M : Type u_2} [CommSemiring R] [AddCommMonoid M] [Module R M] {I₁ : R →+* R} [Preorder R] {B : M →ₛₗ[I₁] M →ₗ[R] R} (hB : B.IsPosDef) :

    A positive-definite form is positive-semidefinite.

    theorem LinearMap.IsPosDef.nondegenerate {R : Type u_1} {M : Type u_2} [CommSemiring R] [AddCommMonoid M] [Module R M] {I₁ : R →+* R} [Preorder R] {B : M →ₛₗ[I₁] M →ₗ[R] R} (hB : B.IsPosDef) :

    A positive-definite form is nondegenerate: a nonzero x is not orthogonal to itself.

    A.3. The matrix of a positive-definite form #

    theorem LinearMap.isPosDef_iff_posDef_toMatrix {R : Type u_1} {M : Type u_2} {n : Type u_3} [CommRing R] [StarRing R] [PartialOrder R] [AddCommMonoid M] [Module R M] [Fintype n] [DecidableEq n] {B : M →ₗ⋆[R] M →ₗ[R] R} (b : Module.Basis n R M) :

    A sesquilinear form is positive-definite exactly when its matrix in a basis is.