The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.InnerProductSpace.GramSchmidtOrtho
39 declarations and 1 deprecated aliases. Mathlib docs Β· Source
Gram-Schmidt Orthogonalization and Orthonormalization
In this file we introduce Gram-Schmidt Orthogonalization and Orthonormalization.
The Gram-Schmidt process takes a set of vectors as input and outputs a set of orthogonal vectors which have the same span.
Main results
gramSchmidt: the Gram-Schmidt processgramSchmidt_orthogonal:gramSchmidtproduces an orthogonal system of vectors.span_gramSchmidt:gramSchmidtpreserves span of vectors.gramSchmidt_linearIndependent: if the input vectors ofgramSchmidtare linearly independent, then so are the output vectors.gramSchmidt_ne_zero: if the input vectors ofgramSchmidtare linearly independent, then the output vectors are non-zero.gramSchmidtBasis: the basis produced by the Gram-Schmidt process when given a basis as inputgramSchmidtNormed: the normalizedgramSchmidtprocess, i.e each vector ingramSchmidtNormedhas unit lengthgramSchmidt_orthonormal:gramSchmidtNormedproduces an orthonormal system of vectors.gramSchmidtOrthonormalBasis: orthonormal basis constructed by the Gram-Schmidt process from an indexed set of vectors of the right size
theorem InnerProductSpace.gramSchmidtOrthonormalBasis.congr_simp E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) (f f_1 : ΞΉ β E),
f = f_1 β InnerProductSpace.gramSchmidtOrthonormalBasis h f = InnerProductSpace.gramSchmidtOrthonormalBasis h f_1
def InnerProductSpace.gramSchmidt E3 #
(π : Type u_1) β
{E : Type u_2} β
[inst : RCLike π] β
[inst_1 : NormedAddCommGroup E] β
[InnerProductSpace π E] β {ΞΉ : Type u_3} β [inst : LinearOrder ΞΉ] β [LocallyFiniteOrderBot ΞΉ] β (ΞΉ β E) β ΞΉ β E
The Gram-Schmidt process takes a set of vectors as input and outputs a set of orthogonal vectors which have the same span.
theorem InnerProductSpace.gramSchmidt_def E0 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) (n : ΞΉ),
InnerProductSpace.gramSchmidt π f n = f n - β i < n, (π β InnerProductSpace.gramSchmidt π f i).starProjection (f n)
This lemma uses β i in instead of β i :.
theorem InnerProductSpace.gramSchmidt_def' E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) (n : ΞΉ),
f n = InnerProductSpace.gramSchmidt π f n + β i < n, (π β InnerProductSpace.gramSchmidt π f i).starProjection (f n)
theorem InnerProductSpace.gramSchmidt_def'' E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) (n : ΞΉ),
f n =
InnerProductSpace.gramSchmidt π f n +
β i < n,
(inner π (InnerProductSpace.gramSchmidt π f i) (f n) / ββInnerProductSpace.gramSchmidt π f iβ ^ 2) β’
InnerProductSpace.gramSchmidt π f i
theorem InnerProductSpace.gramSchmidt_bot E0 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_4} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrder ΞΉ] [inst_5 : OrderBot ΞΉ] (f : ΞΉ β E),
InnerProductSpace.gramSchmidt π f β₯ = f β₯
theorem InnerProductSpace.gramSchmidt_zero E0 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (n : ΞΉ),
InnerProductSpace.gramSchmidt π 0 n = 0
theorem InnerProductSpace.gramSchmidt_orthogonal E3 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) {a b : ΞΉ},
a β b β inner π (InnerProductSpace.gramSchmidt π f a) (InnerProductSpace.gramSchmidt π f b) = 0
Gram-Schmidt Orthogonalisation:
gramSchmidt produces an orthogonal system of vectors.
theorem InnerProductSpace.gramSchmidt_pairwise_orthogonal E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E),
Pairwise fun a b β¦ inner π (InnerProductSpace.gramSchmidt π f a) (InnerProductSpace.gramSchmidt π f b) = 0
This is another version of gramSchmidt_orthogonal using Pairwise instead.
theorem InnerProductSpace.gramSchmidt_inv_triangular E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (v : ΞΉ β E) {i j : ΞΉ},
i < j β inner π (InnerProductSpace.gramSchmidt π v j) (v i) = 0
theorem InnerProductSpace.mem_span_gramSchmidt E0 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) {i j : ΞΉ},
i β€ j β f i β Submodule.span π (InnerProductSpace.gramSchmidt π f '' Set.Iic j)
theorem InnerProductSpace.gramSchmidt_mem_span E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) {j i : ΞΉ},
i β€ j β InnerProductSpace.gramSchmidt π f i β Submodule.span π (f '' Set.Iic j)
theorem InnerProductSpace.span_gramSchmidt_Iic E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) (c : ΞΉ),
Submodule.span π (InnerProductSpace.gramSchmidt π f '' Set.Iic c) = Submodule.span π (f '' Set.Iic c)
theorem InnerProductSpace.span_gramSchmidt_Iio E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) (c : ΞΉ),
Submodule.span π (InnerProductSpace.gramSchmidt π f '' Set.Iio c) = Submodule.span π (f '' Set.Iio c)
theorem InnerProductSpace.span_gramSchmidt E3 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E),
Submodule.span π (Set.range (InnerProductSpace.gramSchmidt π f)) = Submodule.span π (Set.range f)
gramSchmidt preserves span of vectors.
theorem InnerProductSpace.gramSchmidt_of_orthogonal E1 #
β (π : Type u_1) {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E},
(Pairwise fun x1 x2 β¦ inner π (f x1) (f x2) = 0) β InnerProductSpace.gramSchmidt π f = f
If given an orthogonal set of vectors, gramSchmidt fixes its input.
theorem InnerProductSpace.gramSchmidt_ne_zero_coe E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E} (n : ΞΉ),
LinearIndependent π (f β Subtype.val) β InnerProductSpace.gramSchmidt π f n β 0
theorem InnerProductSpace.gramSchmidt_ne_zero E3 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E} (n : ΞΉ),
LinearIndependent π f β InnerProductSpace.gramSchmidt π f n β 0
If the input vectors of gramSchmidt are linearly independent,
then the output vectors are non-zero.
theorem InnerProductSpace.gramSchmidt_triangular E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {i j : ΞΉ},
i < j β β (b : Module.Basis ΞΉ π E), (b.repr (InnerProductSpace.gramSchmidt π (βb) i)) j = 0
gramSchmidt produces a triangular matrix of vectors when given a basis.
theorem InnerProductSpace.gramSchmidt_linearIndependent E3 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E},
LinearIndependent π f β LinearIndependent π (InnerProductSpace.gramSchmidt π f)
gramSchmidt produces linearly independent vectors when given linearly independent vectors.
def InnerProductSpace.gramSchmidtBasis E3 #
{π : Type u_1} β
{E : Type u_2} β
[inst : RCLike π] β
[inst_1 : NormedAddCommGroup E] β
[inst_2 : InnerProductSpace π E] β
{ΞΉ : Type u_3} β
[inst_3 : LinearOrder ΞΉ] β [LocallyFiniteOrderBot ΞΉ] β Module.Basis ΞΉ π E β Module.Basis ΞΉ π E
When given a basis, gramSchmidt produces a basis.
theorem InnerProductSpace.coe_gramSchmidtBasis E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (b : Module.Basis ΞΉ π E),
β(InnerProductSpace.gramSchmidtBasis b) = InnerProductSpace.gramSchmidt π βb
def InnerProductSpace.gramSchmidtNormed E3 #
(π : Type u_1) β
{E : Type u_2} β
[inst : RCLike π] β
[inst_1 : NormedAddCommGroup E] β
[InnerProductSpace π E] β {ΞΉ : Type u_3} β [inst : LinearOrder ΞΉ] β [LocallyFiniteOrderBot ΞΉ] β (ΞΉ β E) β ΞΉ β E
the normalized gramSchmidt (i.e each vector in gramSchmidtNormed has unit length.)
theorem InnerProductSpace.gramSchmidtNormed_unit_length_coe E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E} (n : ΞΉ),
LinearIndependent π (f β Subtype.val) β βInnerProductSpace.gramSchmidtNormed π f nβ = 1
theorem InnerProductSpace.gramSchmidtNormed_unit_length E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E} (n : ΞΉ),
LinearIndependent π f β βInnerProductSpace.gramSchmidtNormed π f nβ = 1
theorem InnerProductSpace.gramSchmidtNormed_unit_length' E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E} {n : ΞΉ},
InnerProductSpace.gramSchmidtNormed π f n β 0 β βInnerProductSpace.gramSchmidtNormed π f nβ = 1
theorem InnerProductSpace.gramSchmidtNormed_orthonormal E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E},
LinearIndependent π f β Orthonormal π (InnerProductSpace.gramSchmidtNormed π f)
Gram-Schmidt Orthonormalization:
gramSchmidtNormed applied to a linearly independent set of vectors produces an orthonormal
system of vectors.
theorem InnerProductSpace.gramSchmidtNormed_orthonormal' E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E),
Orthonormal π fun i β¦ InnerProductSpace.gramSchmidtNormed π f βi
Gram-Schmidt Orthonormalization:
gramSchmidtNormed produces an orthonormal system of vectors after removing the vectors which
become zero in the process.
theorem InnerProductSpace.span_gramSchmidtNormed E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E) (s : Set ΞΉ),
Submodule.span π (InnerProductSpace.gramSchmidtNormed π f '' s) =
Submodule.span π (InnerProductSpace.gramSchmidt π f '' s)
theorem InnerProductSpace.span_gramSchmidtNormed_range E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] (f : ΞΉ β E),
Submodule.span π (Set.range (InnerProductSpace.gramSchmidtNormed π f)) =
Submodule.span π (Set.range (InnerProductSpace.gramSchmidt π f))
theorem InnerProductSpace.gramSchmidtNormed_linearIndependent E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] {f : ΞΉ β E},
LinearIndependent π f β LinearIndependent π (InnerProductSpace.gramSchmidtNormed π f)
gramSchmidtNormed produces linearly independent vectors when given linearly independent
vectors.
def InnerProductSpace.gramSchmidtOrthonormalBasis E3 #
{π : Type u_1} β
{E : Type u_2} β
[inst : RCLike π] β
[inst_1 : NormedAddCommGroup E] β
[inst_2 : InnerProductSpace π E] β
{ΞΉ : Type u_3} β
[inst_3 : LinearOrder ΞΉ] β
[LocallyFiniteOrderBot ΞΉ] β
[inst_5 : Fintype ΞΉ] β
[FiniteDimensional π E] β Module.finrank π E = Fintype.card ΞΉ β (ΞΉ β E) β OrthonormalBasis ΞΉ π E
Given an indexed family f : ΞΉ β E of vectors in an inner product space E, for which the
size of the index set is the dimension of E, produce an orthonormal basis for E which agrees
with the orthonormal set produced by the Gram-Schmidt orthonormalization process on the elements of
ΞΉ for which this process gives a nonzero number.
theorem InnerProductSpace.gramSchmidtOrthonormalBasis_apply E0 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) {f : ΞΉ β E} {i : ΞΉ},
InnerProductSpace.gramSchmidtNormed π f i β 0 β
(InnerProductSpace.gramSchmidtOrthonormalBasis h f) i = InnerProductSpace.gramSchmidtNormed π f i
theorem InnerProductSpace.gramSchmidtOrthonormalBasis_apply_of_orthogonal E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) {f : ΞΉ β E},
(Pairwise fun i j β¦ inner π (f i) (f j) = 0) β
β {i : ΞΉ}, f i β 0 β (InnerProductSpace.gramSchmidtOrthonormalBasis h f) i = (ββf iβ)β»ΒΉ β’ f i
theorem InnerProductSpace.inner_gramSchmidtOrthonormalBasis_eq_zero E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) {f : ΞΉ β E} {i : ΞΉ},
InnerProductSpace.gramSchmidtNormed π f i = 0 β
β (j : ΞΉ), inner π ((InnerProductSpace.gramSchmidtOrthonormalBasis h f) i) (f j) = 0
theorem InnerProductSpace.gramSchmidtOrthonormalBasis_inv_triangular E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) (f : ΞΉ β E) {i j : ΞΉ},
i < j β inner π ((InnerProductSpace.gramSchmidtOrthonormalBasis h f) j) (f i) = 0
theorem InnerProductSpace.gramSchmidtOrthonormalBasis_inv_triangular' E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) (f : ΞΉ β E) {i j : ΞΉ},
i < j β ((InnerProductSpace.gramSchmidtOrthonormalBasis h f).repr (f i)).ofLp j = 0
theorem InnerProductSpace.gramSchmidtOrthonormalBasis_inv_isUpperTriangular E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) (f : ΞΉ β E),
((InnerProductSpace.gramSchmidtOrthonormalBasis h f).toBasis.toMatrix f).IsUpperTriangular
Given an indexed family f : ΞΉ β E of vectors in an inner product space E, for which the
size of the index set is the dimension of E, the matrix of coefficients of f with respect to the
orthonormal basis gramSchmidtOrthonormalBasis constructed from f is upper-triangular.
theorem InnerProductSpace.gramSchmidtOrthonormalBasis_det E1 #
β {π : Type u_1} {E : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace π E]
{ΞΉ : Type u_3} [inst_3 : LinearOrder ΞΉ] [inst_4 : LocallyFiniteOrderBot ΞΉ] [inst_5 : Fintype ΞΉ]
[inst_6 : FiniteDimensional π E] (h : Module.finrank π E = Fintype.card ΞΉ) (f : ΞΉ β E) [inst_7 : DecidableEq ΞΉ],
(InnerProductSpace.gramSchmidtOrthonormalBasis h f).toBasis.det f =
β i, inner π ((InnerProductSpace.gramSchmidtOrthonormalBasis h f) i) (f i)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
InnerProductSpace.gramSchmidtOrthonormalBasis_inv_blockTriangular | InnerProductSpace.gramSchmidtOrthonormalBasis_inv_isUpperTriangular | 2026-07-30 |