The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.InnerProductSpace.Projection.FiniteDimensional
19 declarations. Mathlib docs ยท Source
Orthogonal projections in finite-dimensional spaces
This file contains results about orthogonal projections in finite-dimensional spaces.
Main results
Submodule.det_reflection: The determinant ofK.reflectionis(-1) ^ finrank ๐ Kแฎ.LinearIsometryEquiv.reflections_generate: The orthogonal group ofFis generated by reflections.
Results that do not use finite dimensionality:
OrthogonalFamily.isInternal_iff_of_isCompleteOrthogonalFamily.sum_projection_of_mem_iSupOrthogonalFamily.projection_directSum_coeAddHomOrthogonalFamily.decompositionmaximal_orthonormal_iff_orthogonalComplement_eq_bot
theorem Submodule.topologicalClosure_eq_self E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
(K : Submodule ๐ E) [FiniteDimensional ๐ โฅK], K.topologicalClosure = K
theorem Submodule.det_reflection E3 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
(K : Submodule ๐ E) [inst_3 : FiniteDimensional ๐ โฅK],
LinearMap.det โK.reflection.toLinearEquiv = (-1) ^ Module.finrank ๐ โฅKแฎ
theorem Submodule.linearEquiv_det_reflection E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
(K : Submodule ๐ E) [inst_3 : FiniteDimensional ๐ โฅK],
LinearEquiv.det K.reflection.toLinearEquiv = (-1) ^ Module.finrank ๐ โฅKแฎ
theorem Submodule.finrank_add_inf_finrank_orthogonal E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{Kโ Kโ : Submodule ๐ E} [FiniteDimensional ๐ โฅKโ],
Kโ โค Kโ โ Module.finrank ๐ โฅKโ + Module.finrank ๐ โฅ(Kโแฎ โ Kโ) = Module.finrank ๐ โฅKโ
Given a finite-dimensional subspace Kโ, and a subspace Kโ
contained in it, the dimensions of Kโ and the intersection of its
orthogonal subspace with Kโ add to that of Kโ.
theorem Submodule.finrank_add_inf_finrank_orthogonal' E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{Kโ Kโ : Submodule ๐ E} [FiniteDimensional ๐ โฅKโ],
Kโ โค Kโ โ โ {n : โ}, Module.finrank ๐ โฅKโ + n = Module.finrank ๐ โฅKโ โ Module.finrank ๐ โฅ(Kโแฎ โ Kโ) = n
Given a finite-dimensional subspace Kโ, and a subspace Kโ
contained in it, the dimensions of Kโ and the intersection of its
orthogonal subspace with Kโ add to that of Kโ.
theorem Submodule.finrank_add_finrank_orthogonal E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
[FiniteDimensional ๐ E] (K : Submodule ๐ E), Module.finrank ๐ โฅK + Module.finrank ๐ โฅKแฎ = Module.finrank ๐ E
Given a finite-dimensional space E and subspace K, the dimensions of K and Kแฎ add to
that of E.
theorem Submodule.finrank_add_finrank_orthogonal' E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
[FiniteDimensional ๐ E] {K : Submodule ๐ E} {n : โ},
Module.finrank ๐ โฅK + n = Module.finrank ๐ E โ Module.finrank ๐ โฅKแฎ = n
Given a finite-dimensional space E and subspace K, the dimensions of K and Kแฎ add to
that of E.
theorem Submodule.finrank_orthogonal_span_singleton E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{n : โ} [_i : Fact (Module.finrank ๐ E = n + 1)] {v : E}, v โ 0 โ Module.finrank ๐ โฅ(๐ โ v)แฎ = n
In a finite-dimensional inner product space, the dimension of the orthogonal complement of the span of a nonzero vector is one less than the dimension of the space.
theorem Submodule.mem_span_singleton_of_inner_eq_zero_of_inner_eq_zero E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
[Fact (Module.finrank ๐ E = 2)] {u v w : E}, v โ 0 โ w โ 0 โ inner ๐ v u = 0 โ inner ๐ v w = 0 โ u โ ๐ โ w
If a nonzero vector w and a vector u are both orthogonal to the same nonzero vector v
in a two-dimensional inner product space, then u lies in the span of w.
theorem LinearIsometryEquiv.reflections_generate_dim_aux E0 #
โ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace โ F] [FiniteDimensional โ F] {n : โ}
(ฯ : F โโแตข[โ] F),
Module.finrank โ โฅ(โ(ContinuousLinearMap.id โ F - โโฯ)).kerแฎ โค n โ
โ l, l.length โค n โง ฯ = (List.map (fun v โฆ (โ โ v)แฎ.reflection) l).prod
An element ฯ of the orthogonal group of F can be factored as a product of reflections, and
specifically at most as many reflections as the dimension of the complement of the fixed subspace
of ฯ.
theorem LinearIsometryEquiv.reflections_generate_dim E2 #
โ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace โ F] [FiniteDimensional โ F]
(ฯ : F โโแตข[โ] F), โ l, l.length โค Module.finrank โ F โง ฯ = (List.map (fun v โฆ (โ โ v)แฎ.reflection) l).prod
The orthogonal group of F is generated by reflections; specifically each element ฯ of the
orthogonal group is a product of at most as many reflections as the dimension of F.
Special case of the CartanโDieudonnรฉ theorem.
theorem LinearIsometryEquiv.reflections_generate E3 #
โ {F : Type u_3} [inst : NormedAddCommGroup F] [inst_1 : InnerProductSpace โ F] [FiniteDimensional โ F],
Subgroup.closure (Set.range fun v โฆ (โ โ v)แฎ.reflection) = โค
The orthogonal group of F is generated by reflections.
theorem OrthogonalFamily.isInternal_iff_of_isComplete E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{ฮน : Type u_4} [inst_3 : DecidableEq ฮน] {V : ฮน โ Submodule ๐ E},
(OrthogonalFamily ๐ (fun i โฆ โฅ(V i)) fun i โฆ (V i).subtypeโแตข) โ
IsComplete โ(iSup V) โ (DirectSum.IsInternal V โ (iSup V)แฎ = โฅ)
An orthogonal family of subspaces of E satisfies DirectSum.IsInternal (that is,
they provide an internal direct sum decomposition of E) if and only if their span has trivial
orthogonal complement.
theorem OrthogonalFamily.isInternal_iff E0 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{ฮน : Type u_4} [inst_3 : DecidableEq ฮน] [FiniteDimensional ๐ E] {V : ฮน โ Submodule ๐ E},
(OrthogonalFamily ๐ (fun i โฆ โฅ(V i)) fun i โฆ (V i).subtypeโแตข) โ (DirectSum.IsInternal V โ (iSup V)แฎ = โฅ)
An orthogonal family of subspaces of E satisfies DirectSum.IsInternal (that is,
they provide an internal direct sum decomposition of E) if and only if their span has trivial
orthogonal complement.
theorem OrthogonalFamily.sum_projection_of_mem_iSup E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{ฮน : Type u_4} [inst_3 : Fintype ฮน] {V : ฮน โ Submodule ๐ E} [inst_4 : โ (i : ฮน), CompleteSpace โฅ(V i)],
(OrthogonalFamily ๐ (fun i โฆ โฅ(V i)) fun i โฆ (V i).subtypeโแตข) โ โ x โ iSup V, โ i, (V i).starProjection x = x
If x lies within an orthogonal family v, it can be expressed as a sum of projections.
theorem OrthogonalFamily.projection_directSum_coeAddHom E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{ฮน : Type u_4} [inst_3 : DecidableEq ฮน] {V : ฮน โ Submodule ๐ E},
(OrthogonalFamily ๐ (fun i โฆ โฅ(V i)) fun i โฆ (V i).subtypeโแตข) โ
โ (x : DirectSum ฮน fun i โฆ โฅ(V i)) (i : ฮน) [inst_4 : CompleteSpace โฅ(V i)],
(V i).orthogonalProjectionOnto ((DirectSum.coeAddMonoidHom V) x) = x i
If a family of submodules is orthogonal, then the orthogonalProjection on a direct sum
is just the coefficient of that direct sum.
abbrev OrthogonalFamily.decomposition E1 #
{๐ : Type u_1} โ
{E : Type u_2} โ
[inst : RCLike ๐] โ
[inst_1 : NormedAddCommGroup E] โ
[inst_2 : InnerProductSpace ๐ E] โ
{ฮน : Type u_4} โ
[inst_3 : DecidableEq ฮน] โ
[Fintype ฮน] โ
{V : ฮน โ Submodule ๐ E} โ
[โ (i : ฮน), CompleteSpace โฅ(V i)] โ
(OrthogonalFamily ๐ (fun i โฆ โฅ(V i)) fun i โฆ (V i).subtypeโแตข) โ
iSup V = โค โ DirectSum.Decomposition V
If a family of submodules is orthogonal and they span the whole space, then the orthogonal projection provides a means to decompose the space into its submodules.
The projection function is decompose V x i = (V i).orthogonalProjection x.
See note [reducible non-instances].
theorem maximal_orthonormal_iff_orthogonalComplement_eq_bot E1 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{v : Set E}, Orthonormal ๐ Subtype.val โ ((โ u โ v, Orthonormal ๐ Subtype.val โ u = v) โ (Submodule.span ๐ v)แฎ = โฅ)
An orthonormal set in an InnerProductSpace is maximal, if and only if the orthogonal
complement of its span is empty.
theorem maximal_orthonormal_iff_basis_of_finiteDimensional E3 #
โ {๐ : Type u_1} {E : Type u_2} [inst : RCLike ๐] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace ๐ E]
{v : Set E} [FiniteDimensional ๐ E],
Orthonormal ๐ Subtype.val โ ((โ u โ v, Orthonormal ๐ Subtype.val โ u = v) โ โ b, โb = Subtype.val)
An orthonormal set in a finite-dimensional InnerProductSpace is maximal, if and only if it
is a basis.