Orthogonality
DefinitionOrthogonal elements#
A set of vectors v is orthogonal with respect to some bilinear form B if and only
if for all i ≠ j, B (v i) (v j) = 0.
LinearMap.BilinForm.iIsOrtho.{w, u_1, u_2} {R : Type u_1} {M : Type u_2} [CommSemiring R]
[AddCommMonoid M] [_root_.Module R M] {n : Type w} (B : LinearMap.BilinForm R M) (v : n → M) :
Prop
Sources
Uses 1
DefinitionAdjoint endomorphism#
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.
LinearMap.BilinForm.leftAdjointOfNondegenerate.{u_5, u_6} {V : Type u_5} {K : Type u_6} [Field K]
[AddCommGroup V] [_root_.Module K V] [FiniteDimensional K V] (B : LinearMap.BilinForm K V)
(b : B.Nondegenerate) (φ : V →ₗ[K] V) : V →ₗ[K] V
Sources
Uses 8
TheoremSylvester's law of inertia (existence)#
Sylvester's law of inertia: A real quadratic form is equivalent to a weighted sum of squares with the weights being ±1 or 0.
QuadraticForm.equivalent_one_zero_neg_one_weighted_sum_squared.{u_2} {M : Type u_2} [AddCommGroup M]
[_root_.Module ℝ M] [FiniteDimensional ℝ M] (Q : QuadraticForm ℝ M) :
∃ w,
(∀ (i : Fin (Module.finrank ℝ M)), w i = -1 ∨ w i = 0 ∨ w i = 1) ∧
QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares ℝ w)
Sources
- Mathlib documentation:
QuadraticForm.equivalent_one_zero_neg_one_weighted_sum_squared - Source of
QuadraticForm.equivalent_one_zero_neg_one_weighted_sum_squaredin Mathlib/LinearAlgebra/QuadraticForm/Real.lean - Mathlib undergraduate list: Bilinear and Quadratic Forms Over a Vector Space › Orthogonality
- Mathlib undergraduate list: Bilinear and Quadratic Forms Over a Vector Space › Orthogonality
- 1000+ theorems list: Q1752621
- 1000+ theorems project: Q1752621
- Wikipedia: Sylvester's law of inertia
- Wikidata: Q1752621
Uses 12
TheoremSylvester's law of inertia (uniqueness)#
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.
QuadraticForm.sigPos_of_equiv_weightedSumSquares.{u_2, u_4, u_5} {M : Type u_2} [AddCommGroup M]
{𝕜 : Type u_4} [Field 𝕜] [LinearOrder 𝕜] [_root_.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
Sources
Uses 11
TheoremComplex classification#
A nondegenerate quadratic form on an algebraically closed field of characteristic not equal to 2
is equivalent to the sum of squares, i.e. weightedSumSquares with weight fun (i : ι) => 1.
QuadraticForm.equivalent_weightedSumSquares_of_isAlgClosed.{u_2, u_3} {K : Type u_2} [Field K]
[IsAlgClosed K] [Invertible 2] {M : Type u_3} [AddCommGroup M] [_root_.Module K M]
[FiniteDimensional K M] (Q : QuadraticForm K M)
(hQ : LinearMap.SeparatingLeft (QuadraticMap.associated Q)) :
QuadraticMap.Equivalent Q (QuadraticMap.weightedSumSquares K 1)
Sources
TheoremGram-Schmidt orthogonalisation#
Gram-Schmidt Orthogonalisation:
gramSchmidt produces an orthogonal system of vectors.
InnerProductSpace.gramSchmidt_orthogonal.{u_1, u_2, u_3} (𝕜 : Type u_1) {E : Type u_2} [RCLike 𝕜]
[NormedAddCommGroup E] [InnerProductSpace 𝕜 E] {ι : Type u_3} [LinearOrder ι]
[LocallyFiniteOrderBot ι] (f : ι → E) {a b : ι} (h₀ : a ≠ b) :
inner 𝕜 (InnerProductSpace.gramSchmidt 𝕜 f a) (InnerProductSpace.gramSchmidt 𝕜 f b) = 0
Sources
Uses 5
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.