The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.BilinearForm.Properties
82 declarations. Mathlib docs · Source
Bilinear form
This file defines various properties of bilinear forms, including reflexivity, symmetry,
alternativity, adjoint, and non-degeneracy.
For orthogonality, see Mathlib/LinearAlgebra/BilinearForm/Orthogonal.lean.
Notation
Given any term B of type BilinForm, due to a coercion, can use
the notation B x y to refer to the function field, i.e. B x y = B.bilin x y.
In this file we use the following type variables:
M,M', ... are modules over the commutative semiringR,M₁,M₁', ... are modules over the commutative ringR₁,V, ... is a vector space over the fieldK.
References
Tags
Bilinear form,
Reflexivity, symmetry, and alternativity
Positive semidefinite bilinear forms
theorem LinearMap.BilinForm.toDual.congr_simp E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] (B B_1 : LinearMap.BilinForm K V) (e_B : B = B_1) (b : B.Nondegenerate),
B.toDual b = B_1.toDual ⋯
theorem LinearMap.BilinForm.dualBasis.congr_simp E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] (B B_1 : LinearMap.BilinForm K V) (e_B : B = B_1) (hB : B.Nondegenerate)
(b b_1 : Module.Basis ι K V), b = b_1 → B.dualBasis hB b = B_1.dualBasis ⋯ b_1
def LinearMap.BilinForm.IsRefl E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → LinearMap.BilinForm R M → Prop
The proposition that a bilinear form is reflexive
theorem LinearMap.BilinForm.IsRefl.neg E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B : LinearMap.BilinForm R₁ M₁}, B.IsRefl → (-B).IsRefl
theorem LinearMap.BilinForm.IsRefl.smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
[inst_3 : Semiring α] [IsDomain α] [inst_5 : Module α R] [inst_6 : SMulCommClass R α R] [Module.IsTorsionFree α R]
(a : α) {B : LinearMap.BilinForm R M}, B.IsRefl → (a • B).IsRefl
theorem LinearMap.BilinForm.IsRefl.groupSMul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
[inst_3 : Group α] [inst_4 : DistribMulAction α R] [inst_5 : SMulCommClass R α R] (a : α)
{B : LinearMap.BilinForm R M}, B.IsRefl → (a • B).IsRefl
theorem LinearMap.BilinForm.isRefl_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
LinearMap.BilinForm.IsRefl 0
theorem LinearMap.BilinForm.isRefl_neg E0 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B : LinearMap.BilinForm R₁ M₁}, (-B).IsRefl ↔ B.IsRefl
structure LinearMap.BilinForm.IsSymm E3 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → LinearMap.BilinForm R M → Prop
The proposition that a bilinear form is symmetric
ctor LinearMap.BilinForm.IsSymm.mk E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, (∀ (x y : M), (B x) y = (B y) x) → B.IsSymm
theorem LinearMap.BilinForm.IsSymm.eq E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsSymm → ∀ (x y : M), (B x) y = (B y) x
theorem LinearMap.BilinForm.isSymm_def E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsSymm ↔ ∀ (x y : M), (B x) y = (B y) x
theorem LinearMap.BilinForm.isSymm_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsSymm ↔ LinearMap.IsSymm B
theorem LinearMap.BilinForm.IsSymm.isRefl E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsSymm → B.IsRefl
theorem LinearMap.BilinForm.IsSymm.add E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B₁ B₂ : LinearMap.BilinForm R M}, B₁.IsSymm → B₂.IsSymm → (B₁ + B₂).IsSymm
theorem LinearMap.BilinForm.IsSymm.sub E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B₁ B₂ : LinearMap.BilinForm R₁ M₁}, B₁.IsSymm → B₂.IsSymm → (B₁ - B₂).IsSymm
theorem LinearMap.BilinForm.IsSymm.neg E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B : LinearMap.BilinForm R₁ M₁}, B.IsSymm → (-B).IsSymm
theorem LinearMap.BilinForm.IsSymm.smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
[inst_3 : Monoid α] [inst_4 : DistribMulAction α R] [inst_5 : SMulCommClass R α R] (a : α)
{B : LinearMap.BilinForm R M}, B.IsSymm → (a • B).IsSymm
theorem LinearMap.BilinForm.IsSymm.restrict E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsSymm → ∀ (W : Submodule R M), (B.restrict W).IsSymm
The restriction of a symmetric bilinear form on a submodule is also symmetric.
theorem LinearMap.BilinForm.isSymm_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
LinearMap.BilinForm.IsSymm 0
theorem LinearMap.BilinForm.isSymm_neg E0 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B : LinearMap.BilinForm R₁ M₁}, (-B).IsSymm ↔ B.IsSymm
theorem LinearMap.BilinForm.isSymm_iff_flip E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsSymm ↔ LinearMap.BilinForm.flipHom B = B
theorem LinearMap.BilinForm.IsSymm.polarization E2 #
∀ {M : Type u_2} [inst : AddCommMonoid M] {R : Type u_8} [inst_1 : Field R] [NeZero 2] [inst_3 : Module R M]
{B : LinearMap.BilinForm R M} (x y : M), B.IsSymm → (B x) y = ((B (x + y)) (x + y) - (B x) x - (B y) y) / 2
Polarization identity: a symmetric bilinear form can be expressed through the values it takes on the diagonal.
theorem LinearMap.BilinForm.ext_of_isSymm E1 #
∀ {M : Type u_2} [inst : AddCommMonoid M] {R : Type u_8} [inst_1 : Field R] [NeZero 2] [inst_3 : Module R M]
{B C : LinearMap.BilinForm R M}, B.IsSymm → C.IsSymm → (∀ (x : M), (B x) x = (C x) x) → B = C
A symmetric bilinear form is characterized by the values it takes on the diagonal.
theorem LinearMap.BilinForm.ext_iff_of_isSymm E1 #
∀ {M : Type u_2} [inst : AddCommMonoid M] {R : Type u_8} [inst_1 : Field R] [NeZero 2] [inst_3 : Module R M]
{B C : LinearMap.BilinForm R M}, B.IsSymm → C.IsSymm → (B = C ↔ ∀ (x : M), (B x) x = (C x) x)
A symmetric bilinear form is characterized by the values it takes on the diagonal.
theorem LinearMap.BilinForm.isSymm_iff_basis E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M} {ι : Type u_8} (b : Module.Basis ι R M),
B.IsSymm ↔ ∀ (i j : ι), (B (b i)) (b j) = (B (b j)) (b i)
structure LinearMap.BilinForm.IsNonneg E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → [LE R] → LinearMap.BilinForm R M → Prop
A bilinear form B is nonnegative if for any x we have 0 ≤ B x x.
ctor LinearMap.BilinForm.IsNonneg.mk E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, (∀ (x : M), 0 ≤ (B x) x) → B.IsNonneg
theorem LinearMap.BilinForm.IsNonneg.nonneg E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsNonneg → ∀ (x : M), 0 ≤ (B x) x
theorem LinearMap.BilinForm.isNonneg_def E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsNonneg ↔ ∀ (x : M), 0 ≤ (B x) x
theorem LinearMap.BilinForm.isNonneg_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsNonneg ↔ LinearMap.IsNonneg B
A bilinear form is nonnegative if and only if it is nonnegative as a sesquilinear form.
theorem LinearMap.BilinForm.isNonneg_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Preorder R], LinearMap.BilinForm.IsNonneg 0
theorem LinearMap.BilinForm.IsNonneg.add E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Preorder R] [AddLeftMono R] {B C : LinearMap.BilinForm R M}, B.IsNonneg → C.IsNonneg → (B + C).IsNonneg
theorem LinearMap.BilinForm.IsNonneg.smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Preorder R] [PosMulMono R] {B : LinearMap.BilinForm R M} {c : R}, B.IsNonneg → 0 ≤ c → (c • B).IsNonneg
structure LinearMap.BilinForm.IsPosSemidef E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → [LE R] → LinearMap.BilinForm R M → Prop
A bilinear form B is positive semidefinite if it is symmetric and nonnegative.
theorem LinearMap.BilinForm.IsPosSemidef.isNonneg E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsPosSemidef → B.IsNonneg
theorem LinearMap.BilinForm.IsPosSemidef.isSymm E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsPosSemidef → B.IsSymm
ctor LinearMap.BilinForm.IsPosSemidef.mk E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsSymm → B.IsNonneg → B.IsPosSemidef
theorem LinearMap.BilinForm.isPosSemidef_def E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M} [inst_3 : LE R], B.IsPosSemidef ↔ B.IsSymm ∧ B.IsNonneg
theorem LinearMap.BilinForm.isPosSemidef_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : LE R]
{B : LinearMap.BilinForm R M}, B.IsPosSemidef ↔ LinearMap.IsPosSemidef B
A bilinear form is positive semidefinite if and only if it is positive semidefinite as a sesquilinear form.
theorem LinearMap.BilinForm.isPosSemidef_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Preorder R], LinearMap.BilinForm.IsPosSemidef 0
theorem LinearMap.BilinForm.IsPosSemidef.add E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Preorder R] [AddLeftMono R] {B C : LinearMap.BilinForm R M},
B.IsPosSemidef → C.IsPosSemidef → (B + C).IsPosSemidef
theorem LinearMap.BilinForm.IsPosSemidef.smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
[inst_3 : Preorder R] [PosMulMono R] {B : LinearMap.BilinForm R M} {c : R},
B.IsPosSemidef → 0 ≤ c → (c • B).IsPosSemidef
def LinearMap.BilinForm.IsAlt E3 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → LinearMap.BilinForm R M → Prop
The proposition that a bilinear form is alternating
theorem LinearMap.BilinForm.IsAlt.self_eq_zero E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.IsAlt → ∀ (x : M), (B x) x = 0
theorem LinearMap.BilinForm.IsAlt.neg_eq E0 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B₁ : LinearMap.BilinForm R₁ M₁}, B₁.IsAlt → ∀ (x y : M₁), -(B₁ x) y = (B₁ y) x
theorem LinearMap.BilinForm.IsAlt.isRefl E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B₁ : LinearMap.BilinForm R₁ M₁}, B₁.IsAlt → B₁.IsRefl
theorem LinearMap.BilinForm.IsAlt.add E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B₁ B₂ : LinearMap.BilinForm R M}, B₁.IsAlt → B₂.IsAlt → (B₁ + B₂).IsAlt
theorem LinearMap.BilinForm.IsAlt.sub E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B₁ B₂ : LinearMap.BilinForm R₁ M₁}, B₁.IsAlt → B₂.IsAlt → (B₁ - B₂).IsAlt
theorem LinearMap.BilinForm.IsAlt.neg E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B : LinearMap.BilinForm R₁ M₁}, B.IsAlt → (-B).IsAlt
theorem LinearMap.BilinForm.IsAlt.smul E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {α : Type u_8}
[inst_3 : Monoid α] [inst_4 : DistribMulAction α R] [inst_5 : SMulCommClass R α R] (a : α)
{B : LinearMap.BilinForm R M}, B.IsAlt → (a • B).IsAlt
theorem LinearMap.BilinForm.isAlt_zero E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
LinearMap.BilinForm.IsAlt 0
theorem LinearMap.BilinForm.isAlt_neg E0 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
{B : LinearMap.BilinForm R₁ M₁}, (-B).IsAlt ↔ B.IsAlt
abbrev LinearMap.BilinForm.Nondegenerate E3 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommSemiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → LinearMap.BilinForm R M → Prop
A nondegenerate bilinear form is a bilinear form that is both left-separating and
right-separating, i.e. if B x y = 0 for all y then x = 0, and if B x y = 0 for all x then
y = 0.
Note that these conditions are independent of each other in general, but in the common case of
finite-dimensional vector spaces (or, more generally, finite free modules over an integral
domain), either of these conditions implies the other; see
LinearMap.BilinForm.Nondegenerate.ofSeparatingLeft and
LinearMap.BilinForm.nondegenerate_iff_ker_eq_bot, proved in a later file.
theorem LinearMap.BilinForm.not_nondegenerate_zero E1 #
∀ (R : Type u_1) (M : Type u_2) [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Nontrivial M],
¬LinearMap.BilinForm.Nondegenerate 0
In a non-trivial module, zero is not non-degenerate.
theorem LinearMap.BilinForm.Nondegenerate.ne_zero E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Nontrivial M]
{B : LinearMap.BilinForm R M}, B.Nondegenerate → B ≠ 0
theorem LinearMap.BilinForm.Nondegenerate.congr E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
[inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] {B : LinearMap.BilinForm R M} (e : M ≃ₗ[R] M'),
B.Nondegenerate → ((LinearMap.BilinForm.congr e) B).Nondegenerate
theorem LinearMap.BilinForm.nondegenerate_congr_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type u_8}
[inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] {B : LinearMap.BilinForm R M} (e : M ≃ₗ[R] M'),
((LinearMap.BilinForm.congr e) B).Nondegenerate ↔ B.Nondegenerate
theorem LinearMap.BilinForm.Nondegenerate.ker_eq_bot E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.Nondegenerate → LinearMap.ker B = ⊥
theorem LinearMap.BilinForm.compLeft_injective E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
(B : LinearMap.BilinForm R₁ M₁), B.Nondegenerate → Function.Injective B.compLeft
theorem LinearMap.BilinForm.isAdjointPair_unique_of_nondegenerate E1 #
∀ {R₁ : Type u_3} {M₁ : Type u_4} [inst : CommRing R₁] [inst_1 : AddCommGroup M₁] [inst_2 : Module R₁ M₁]
(B : LinearMap.BilinForm R₁ M₁),
B.Nondegenerate →
∀ (φ ψ₁ ψ₂ : M₁ →ₗ[R₁] M₁), LinearMap.IsAdjointPair B B ⇑ψ₁ ⇑φ → LinearMap.IsAdjointPair B B ⇑ψ₂ ⇑φ → ψ₁ = ψ₂
theorem LinearMap.BilinForm.Nondegenerate.flip E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.Nondegenerate → B.flip.Nondegenerate
theorem LinearMap.BilinForm.nondegenerate_flip_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
{B : LinearMap.BilinForm R M}, B.flip.Nondegenerate ↔ B.Nondegenerate
def LinearMap.BilinForm.toDual E1 #
{V : Type u_5} →
{K : Type u_6} →
[inst : Field K] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module K V] →
[FiniteDimensional K V] → (B : LinearMap.BilinForm K V) → B.Nondegenerate → V ≃ₗ[K] Module.Dual K V
Given a nondegenerate bilinear form B on a finite-dimensional vector space, B.toDual is
the linear equivalence between a vector space and its dual.
theorem LinearMap.BilinForm.toDual_def E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] {B : LinearMap.BilinForm K V} (b : B.Nondegenerate) {m n : V},
((B.toDual b) m) n = (B m) n
theorem LinearMap.BilinForm.apply_toDual_symm_apply E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] {B : LinearMap.BilinForm K V} {hB : B.Nondegenerate} (f : Module.Dual K V) (v : V),
(B ((B.toDual hB).symm f)) v = f v
def LinearMap.BilinForm.dualBasis E1 #
{V : Type u_5} →
{K : Type u_6} →
[inst : Field K] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module K V] →
{ι : Type u_9} →
[DecidableEq ι] →
[Finite ι] → (B : LinearMap.BilinForm K V) → B.Nondegenerate → Module.Basis ι K V → Module.Basis ι K V
The B-dual basis B.dualBasis hB b to a finite basis b satisfies
B (B.dualBasis hB b i) (b j) = B (b i) (B.dualBasis hB b j) = if i = j then 1 else 0,
where B is a nondegenerate (symmetric) bilinear form and b is a finite basis.
theorem LinearMap.BilinForm.dualBasis_repr_apply E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate)
(b : Module.Basis ι K V) (x : V) (i : ι), ((B.dualBasis hB b).repr x) i = (B x) (b i)
theorem LinearMap.BilinForm.apply_dualBasis_left E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate)
(b : Module.Basis ι K V) (i j : ι), (B ((B.dualBasis hB b) i)) (b j) = if j = i then 1 else 0
theorem LinearMap.BilinForm.apply_dualBasis_right E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate),
B.IsSymm → ∀ (b : Module.Basis ι K V) (i j : ι), (B (b i)) ((B.dualBasis hB b) j) = if i = j then 1 else 0
theorem LinearMap.BilinForm.dualBasis_dualBasis_flip E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate)
(b : Module.Basis ι K V), B.dualBasis hB (B.flip.dualBasis ⋯ b) = b
theorem LinearMap.BilinForm.dualBasis_flip_dualBasis E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate)
(b : Module.Basis ι K V), B.flip.dualBasis ⋯ (B.dualBasis hB b) = b
theorem LinearMap.BilinForm.dualBasis_dualBasis E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate),
B.IsSymm → ∀ (b : Module.Basis ι K V), B.dualBasis hB (B.dualBasis hB b) = b
theorem LinearMap.BilinForm.dualBasis_involutive E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate),
B.IsSymm → Function.Involutive (B.dualBasis hB)
theorem LinearMap.BilinForm.dualBasis_injective E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate),
B.IsSymm → Function.Injective (B.dualBasis hB)
theorem LinearMap.BilinForm.dualBasis_eq_iff E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V] {ι : Type u_9}
[inst_3 : DecidableEq ι] [inst_4 : Finite ι] {B : LinearMap.BilinForm K V} (hB : B.Nondegenerate)
(b : Module.Basis ι K V) (v : ι → V), ⇑(B.dualBasis hB b) = v ↔ ∀ (i j : ι), (B (v i)) (b j) = if j = i then 1 else 0
def LinearMap.BilinForm.symmCompOfNondegenerate E1 #
{V : Type u_5} →
{K : Type u_6} →
[inst : Field K] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module K V] →
[FiniteDimensional K V] →
LinearMap.BilinForm K V → (B₂ : LinearMap.BilinForm K V) → B₂.Nondegenerate → V →ₗ[K] V
Given bilinear forms B₁, B₂ where B₂ is nondegenerate, symmCompOfNondegenerate
is the linear map B₂ ∘ B₁.
theorem LinearMap.BilinForm.comp_symmCompOfNondegenerate_apply E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] (B₁ : LinearMap.BilinForm K V) {B₂ : LinearMap.BilinForm K V} (b₂ : B₂.Nondegenerate)
(v : V), B₂ ((B₁.symmCompOfNondegenerate B₂ b₂) v) = B₁ v
theorem LinearMap.BilinForm.symmCompOfNondegenerate_left_apply E0 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] (B₁ : LinearMap.BilinForm K V) {B₂ : LinearMap.BilinForm K V} (b₂ : B₂.Nondegenerate)
(v w : V), (B₂ ((B₁.symmCompOfNondegenerate B₂ b₂) w)) v = (B₁ w) v
def LinearMap.BilinForm.leftAdjointOfNondegenerate E3 #
{V : Type u_5} →
{K : Type u_6} →
[inst : Field K] →
[inst_1 : AddCommGroup V] →
[inst_2 : Module K V] →
[FiniteDimensional K V] → (B : LinearMap.BilinForm K V) → B.Nondegenerate → (V →ₗ[K] V) → V →ₗ[K] V
Given the nondegenerate bilinear form B and the linear map φ,
leftAdjointOfNondegenerate provides the left adjoint of φ with respect to B.
The lemma proving this property is BilinForm.isAdjointPairLeftAdjointOfNondegenerate.
theorem LinearMap.BilinForm.isAdjointPairLeftAdjointOfNondegenerate E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] (B : LinearMap.BilinForm K V) (b : B.Nondegenerate) (φ : V →ₗ[K] V),
LinearMap.IsAdjointPair B B ⇑(B.leftAdjointOfNondegenerate b φ) ⇑φ
theorem LinearMap.BilinForm.isAdjointPair_iff_eq_of_nondegenerate E1 #
∀ {V : Type u_5} {K : Type u_6} [inst : Field K] [inst_1 : AddCommGroup V] [inst_2 : Module K V]
[inst_3 : FiniteDimensional K V] (B : LinearMap.BilinForm K V) (b : B.Nondegenerate) (ψ φ : V →ₗ[K] V),
LinearMap.IsAdjointPair B B ⇑ψ ⇑φ ↔ ψ = B.leftAdjointOfNondegenerate b φ
Given the nondegenerate bilinear form B, the linear map φ has a unique left adjoint given by
BilinForm.leftAdjointOfNondegenerate.