The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V16. Normed spaces and functional analysis

Mathlib.Analysis.InnerProductSpace.Symmetric

47 declarations and 3 deprecated aliases. Mathlib docs · Source

Symmetric linear maps in an inner product space

This file defines and proves basic theorems about symmetric not necessarily bounded operators on an inner product space, i.e linear maps T : E → E such that ∀ x y, ⟪T x, y⟫ = ⟪x, T y⟫.

In comparison to IsSelfAdjoint, this definition works for non-continuous linear maps, and doesn't rely on the definition of the adjoint, which allows it to be stated in non-complete space.

Main definitions

  • LinearMap.IsSymmetric: a (not necessarily bounded) operator on an inner product space is symmetric, if for all x, y, we have ⟪T x, y⟫ = ⟪x, T y⟫

Main statements

  • IsSymmetric.continuous: if a symmetric operator is defined on a complete space, then it is automatically continuous.

Tags

self-adjoint, symmetric

Symmetric operators

def LinearMap.IsSymmetric E3 #

{𝕜 : Type u_1} →
  {E : Type u_2} →
    [inst : RCLike 𝕜] → [inst_1 : SeminormedAddCommGroup E] → [inst_2 : InnerProductSpace 𝕜 E] → (E →ₗ[𝕜] E) → Prop

A (not necessarily bounded) operator on an inner product space is symmetric, if for all x, y, we have ⟪T x, y⟫ = ⟪x, T y⟫.

theorem LinearMap.isSymmetric_iff_sesqForm E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →ₗ[𝕜] E), T.IsSymmetric ↔ (innerₛₗ 𝕜).flip.IsSelfAdjoint ⇑T

An operator T on an inner product space is symmetric if and only if it is LinearMap.IsSelfAdjoint with respect to the sesquilinear form given by the inner product.

theorem LinearMap.IsSymmetric.conj_inner_sym E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (x y : E), (starRingEnd 𝕜) (inner 𝕜 (T x) y) = inner 𝕜 (T y) x

theorem LinearMap.IsSymmetric.apply_clm E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →L[𝕜] E}, (↑T).IsSymmetric → ∀ (x y : E), inner 𝕜 (T x) y = inner 𝕜 x (T y)

theorem LinearMap.IsSymmetric.zero E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E],
  LinearMap.IsSymmetric 0

theorem LinearMap.IsSymmetric.id E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E],
  LinearMap.id.IsSymmetric

theorem LinearMap.IsSymmetric.one E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E],
  LinearMap.IsSymmetric 1

theorem LinearMap.IsSymmetric.add E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T S : E →ₗ[𝕜] E}, T.IsSymmetric → S.IsSymmetric → (T + S).IsSymmetric

theorem LinearMap.isSymmetric_sum E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {ι : Type u_3} {T : ι → E →ₗ[𝕜] E} (s : Finset ι), (∀ i ∈ s, (T i).IsSymmetric) → (∑ i ∈ s, T i).IsSymmetric

theorem LinearMap.IsSymmetric.sub E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T S : E →ₗ[𝕜] E}, T.IsSymmetric → S.IsSymmetric → (T - S).IsSymmetric

theorem LinearMap.IsSymmetric.smul E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {c : 𝕜}, (starRingEnd 𝕜) c = c → ∀ {T : E →ₗ[𝕜] E}, T.IsSymmetric → (c • T).IsSymmetric

theorem LinearMap.IsSymmetric.natCast E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (n : ℕ), (↑n).IsSymmetric

theorem LinearMap.IsSymmetric.intCast E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (n : ℤ), (↑n).IsSymmetric

theorem LinearMap.IsSymmetric.mul_of_commute E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {S T : E →ₗ[𝕜] E}, S.IsSymmetric → T.IsSymmetric → Commute S T → (S * T).IsSymmetric

theorem LinearMap.IsSymmetric.pow E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (n : ℕ), (T ^ n).IsSymmetric

theorem LinearMap.IsSymmetric.coe_reApplyInnerSelf_apply E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →L[𝕜] E}, (↑T).IsSymmetric → ∀ (x : E), ↑(T.reApplyInnerSelf x) = inner 𝕜 (T x) x

For a symmetric operator T, the function fun x ↦ ⟪T x, x⟫ is real-valued.

theorem LinearMap.IsSymmetric.restrict_invariant E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ {V : Submodule 𝕜 E} (hV : ∀ v ∈ V, T v ∈ V), (T.restrict hV).IsSymmetric

If a symmetric operator preserves a submodule, its restriction to that submodule is symmetric.

theorem LinearMap.IsSymmetric.restrictScalars E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → (↑ℝ T).IsSymmetric

theorem LinearMap.IsSymmetric.im_inner_apply_self E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (x : E), RCLike.im (inner 𝕜 (T x) x) = 0

theorem LinearMap.IsSymmetric.im_inner_self_apply E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (x : E), RCLike.im (inner 𝕜 x (T x)) = 0

theorem LinearMap.IsSymmetric.coe_re_inner_apply_self E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (x : E), ↑(RCLike.re (inner 𝕜 (T x) x)) = inner 𝕜 (T x) x

theorem LinearMap.IsSymmetric.coe_re_inner_self_apply E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ∀ (x : E), ↑(RCLike.re (inner 𝕜 x (T x))) = inner 𝕜 x (T x)

structure LinearMap.IsSymmetricProjection E1 #

{𝕜 : Type u_1} →
  {E : Type u_2} →
    [inst : RCLike 𝕜] → [inst_1 : SeminormedAddCommGroup E] → [inst_2 : InnerProductSpace 𝕜 E] → (E →ₗ[𝕜] E) → Prop

A symmetric projection is a symmetric idempotent.

theorem LinearMap.isSymmetricProjection_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (T : E →ₗ[𝕜] E), T.IsSymmetricProjection ↔ IsIdempotentElem T ∧ T.IsSymmetric

ctor LinearMap.IsSymmetricProjection.mk E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, IsIdempotentElem T → T.IsSymmetric → T.IsSymmetricProjection

theorem LinearMap.IsSymmetricProjection.isIdempotentElem E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetricProjection → IsIdempotentElem T

theorem LinearMap.IsSymmetricProjection.isSymmetric E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetricProjection → T.IsSymmetric

theorem LinearMap.isSymmetric_iff_inner_map_self_real E1 #

∀ {V : Type u_3} [inst : SeminormedAddCommGroup V] [inst_1 : InnerProductSpace ℂ V] (T : V →ₗ[ℂ] V),
  T.IsSymmetric ↔ ∀ (v : V), (starRingEnd ℂ) (inner ℂ (T v) v) = inner ℂ (T v) v

A linear operator on a complex inner product space is symmetric precisely when ⟪T v, v⟫_ℂ is real for all v.

theorem LinearMap.IsSymmetric.inner_map_polarization E2 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E},
  T.IsSymmetric →
    ∀ (x y : E),
      inner 𝕜 (T x) y =
        (inner 𝕜 (T (x + y)) (x + y) - inner 𝕜 (T (x - y)) (x - y) -
              RCLike.I * inner 𝕜 (T (x + RCLike.I • y)) (x + RCLike.I • y) +
            RCLike.I * inner 𝕜 (T (x - RCLike.I • y)) (x - RCLike.I • y)) /
          4

Polarization identity for symmetric linear maps. See inner_map_polarization for the complex version without the symmetric assumption.

theorem LinearMap.isSymmetric_linearIsometryEquiv_conj_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {F : Type u_3} [inst_3 : SeminormedAddCommGroup F] [inst_4 : InnerProductSpace 𝕜 F] (T : E →ₗ[𝕜] E) (f : E ≃ₗᵢ[𝕜] F),
  (↑f.toLinearEquiv ∘ₗ T ∘ₗ ↑f.symm.toLinearEquiv).IsSymmetric ↔ T.IsSymmetric

theorem InnerProductSpace.isSymmetric_rankOne_self E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  (x : E), (↑(((InnerProductSpace.rankOne 𝕜) x) x)).IsSymmetric

theorem InnerProductSpace.isSymmetricProjection_rankOne_self E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {x : E}, ‖x‖ = 1 → (↑(((InnerProductSpace.rankOne 𝕜) x) x)).IsSymmetricProjection

theorem LinearMap.IsSymmetric.toLinearMap_symm E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E ≃ₗ[𝕜] E}, (↑T).IsSymmetric → (↑T.symm).IsSymmetric

theorem LinearEquiv.isSymmetric_symm_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : SeminormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E ≃ₗ[𝕜] E}, (↑T.symm).IsSymmetric ↔ (↑T).IsSymmetric

theorem LinearMap.IsSymmetric.continuous E3 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  [CompleteSpace E] {T : E →ₗ[𝕜] E}, T.IsSymmetric → Continuous ⇑T

The Hellinger--Toeplitz theorem: if a symmetric operator is defined on a complete space, then it is automatically continuous.

theorem LinearMap.IsSymmetric.inner_map_self_eq_zero E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → ((∀ (x : E), inner 𝕜 (T x) x = 0) ↔ T = 0)

A symmetric linear map T is zero if and only if ⟪T x, x⟫_ℝ = 0 for all x. See inner_map_self_eq_zero for the complex version without the symmetric assumption.

theorem LinearMap.ker_le_ker_of_range E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {S T : E →ₗ[𝕜] E}, S.IsSymmetric → T.IsSymmetric → S.range ≤ T.range → T.ker ≤ S.ker

theorem Submodule.isSymmetric_projection_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {U V : Submodule 𝕜 E} (hUV : IsCompl U V), (U.projection V hUV).IsSymmetric ↔ U ⟂ V

A linear projection onto U along its complement V is symmetric if and only if U and V are pairwise orthogonal.

theorem Submodule.isSymmetricProjection_projection_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {U V : Submodule 𝕜 E} (hUV : IsCompl U V), (U.projection V hUV).IsSymmetricProjection ↔ U ⟂ V

theorem Submodule.isSymmetricProjection_projection_of_isOrtho E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {U V : Submodule 𝕜 E} (hUV : IsCompl U V), U ⟂ V → (U.projection V hUV).IsSymmetricProjection

Alias of the reverse direction of Submodule.isSymmetricProjection_projection_iff.

theorem LinearMap.IsIdempotentElem.isSymmetric_iff_isOrtho_range_ker E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, IsIdempotentElem T → (T.IsSymmetric ↔ T.range ⟂ T.ker)

An idempotent operator is symmetric if and only if its range is pairwise orthogonal to its kernel.

theorem LinearMap.IsSymmetric.orthogonal_range E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, T.IsSymmetric → T.rangeᗮ = T.ker

theorem LinearMap.IsIdempotentElem.isSymmetric_iff_orthogonal_range E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {T : E →ₗ[𝕜] E}, IsIdempotentElem T → (T.IsSymmetric ↔ T.rangeᗮ = T.ker)

theorem LinearMap.IsSymmetricProjection.ext_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {S T : E →ₗ[𝕜] E}, S.IsSymmetricProjection → T.IsSymmetricProjection → (S = T ↔ S.range = T.range)

Symmetric projections are equal iff their range are.

theorem LinearMap.IsSymmetricProjection.ext E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {S T : E →ₗ[𝕜] E}, S.IsSymmetricProjection → T.IsSymmetricProjection → S.range = T.range → S = T

Alias of the reverse direction of LinearMap.IsSymmetricProjection.ext_iff.


Symmetric projections are equal iff their range are.

theorem LinearMap.IsSymmetricProjection.sub_of_range_le_range E1 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {p q : E →ₗ[𝕜] E},
  p.IsSymmetricProjection → q.IsSymmetricProjection → p.range ≤ q.range → (q - p).IsSymmetricProjection

theorem LinearMap.IsSymmetric.isSymmetric_smul_iff E0 #

∀ {𝕜 : Type u_1} {E : Type u_2} [inst : RCLike 𝕜] [inst_1 : NormedAddCommGroup E] [inst_2 : InnerProductSpace 𝕜 E]
  {f : E →ₗ[𝕜] E}, f.IsSymmetric → f ≠ 0 → ∀ {α : 𝕜}, (α • f).IsSymmetric ↔ IsSelfAdjoint α

Deprecated aliases

NameNew nameSince
Submodule.IsCompl.projection_isSymmetricProjection_iffSubmodule.isSymmetricProjection_projection_iff2026-05-05
Submodule.IsCompl.projection_isSymmetricProjection_of_isOrthoSubmodule.isSymmetricProjection_projection_of_isOrtho2026-05-05
Submodule.IsCompl.projection_isSymmetric_iffSubmodule.isSymmetric_projection_iff2026-05-05