AFTD Auto-Formalizing Theoretical Domains

LinearPMap.IsSymmetric.numericalRange_subset

theoremverifiedformalizationimported Lean

The numerical range of a symmetric operator is contained in the real axis.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open LinearPMap LinearPMap.IsSymmetric in
open InnerProductSpace in
open Complex in
open Set in
variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] in
variable {T : H →ₗ.[ℂ] H} (hT : T.IsSymmetric) in
include hT in
lemma LinearPMap.IsSymmetric.numericalRange_subset : Θ T ⊆ range ofReal
Formalizes
Physlib, `LinearPMap.IsSymmetric.numericalRange_subset`
Lean proof
By Adam Bornemann, Gregory J. Loges, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2026 Gregory J. Loges. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.34.1.
Verified
10 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 4
Used by 1

Lean source view module on GitHub

set_option quotPrecheck false
open LinearPMap
@[inherit_doc numericalRange]
local notation "Θ" => numericalRange

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open LinearPMap LinearPMap.IsSymmetric in
open InnerProductSpace in
open Complex in
open Set in
variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] in
variable {T : H →ₗ.[ℂ] H} (hT : T.IsSymmetric) in
include hT in
/-- The numerical range of a symmetric operator is contained in the real axis. -/
lemma LinearPMap.IsSymmetric.numericalRange_subset : Θ T ⊆ range ofReal :=
  fun z hz ↦ ⟨z.re, Complex.ext rfl (hT.im_eq_zero_of_mem_numericalRange hz).symm⟩
See it in the graphDiscuss this resultChallenge it