AFTD Auto-Formalizing Theoretical Domains

LinearPMap.IsSymmetric.im_eq_zero_of_mem_numericalRange

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 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.im_eq_zero_of_mem_numericalRange {z : ℂ} (hz : z ∈ Θ T) : z.im = 0
Formalizes
Physlib, `LinearPMap.IsSymmetric.im_eq_zero_of_mem_numericalRange`
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 2

Lean source view module on GitHub

set_option quotPrecheck falseopen LinearPMap@[inherit_doc numericalRange]local notation "Θ" => numericalRangeset_option autoImplicit true inset_option relaxedAutoImplicit true inopen LinearPMap 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 contained in the real axis. -/lemma LinearPMap.IsSymmetric.im_eq_zero_of_mem_numericalRange {z : ℂ} (hz : z ∈ Θ T) : z.im = 0 := by  obtain ⟨x, hx, hxz⟩ := hz  simp only [← hT x x] at hxz  exact conj_eq_iff_im.mp (hxz ▸ isSymmetric_iff_inner_map_self_real.mp hT x)
See it in the graphDiscuss this resultChallenge it