AFTD Auto-Formalizing Theoretical Domains

LinearPMap.IsSymmetric.numericalRange_eq

theoremverifiedformalizationimported Lean

The numerical range of a symmetric operator is equal to its projection onto 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_eq : Θ T = ofReal '' Θᵣₑ T
Formalizes
Physlib, `LinearPMap.IsSymmetric.numericalRange_eq`
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 6

Lean source view module on GitHub

set_option quotPrecheck falseopen LinearPMap LinearPMap.IsSymmetric@[inherit_doc realNumericalRange]local notation "Θᵣₑ" => realNumericalRangeopen LinearPMap@[inherit_doc numericalRange]local notation "Θ" => numericalRangeset_option autoImplicit true inset_option relaxedAutoImplicit true inopen LinearPMap LinearPMap.IsSymmetric inopen InnerProductSpace inopen Complex inopen Set invariable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] invariable {T : H →ₗ.[ℂ] H} (hT : T.IsSymmetric) ininclude hT in/-- The numerical range of a symmetric operator is equal to its projection onto the real axis. -/lemma LinearPMap.IsSymmetric.numericalRange_eq : Θ T = ofReal '' Θᵣₑ T := by  rw [realNumericalRange_eq, ← image_comp]  exact (image_id _).symm.trans    (image_congr fun z hz ↦ Complex.ext rfl (hT.im_eq_zero_of_mem_numericalRange hz))
See it in the graphDiscuss this resultChallenge it