AFTD Auto-Formalizing Theoretical Domains

Matrix.IsHermitian.spectrum_rcLike

theoremverifiedformalizationimported Lean

Matrix.IsHermitian.spectrum_rcLike

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {ฮฑ R ๐•œ : Type*} {m n : Type*} in
variable [Star R] [TrivialStar R] in
variable [RCLike ๐•œ] in
variable {d dโ‚‚ : Type*} [Fintype d] [DecidableEq d] [Fintype dโ‚‚] [DecidableEq dโ‚‚] in
variable [Fintype n] [DecidableEq n] [Fintype m] [DecidableEq m] in
theorem Matrix.IsHermitian.spectrum_rcLike {A : Matrix n n ๐•œ} (hA : A.IsHermitian) :
    RCLike.ofReal '' spectrum โ„ A = spectrum ๐•œ A
Formalizes
QuantumInfo, `Matrix.IsHermitian.spectrum_rcLike`
Lean proof
By Alex Meiburg, from github.com/leanprover-community/physlib at e411c6e89692 (Copyright (c) 2025 Alex Meiburg. 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
16 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Used by 1

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {ฮฑ R ๐•œ : Type*} {m n : Type*} in
variable [Star R] [TrivialStar R] in
variable [RCLike ๐•œ] in
variable {d dโ‚‚ : Type*} [Fintype d] [DecidableEq d] [Fintype dโ‚‚] [DecidableEq dโ‚‚] in
variable [Fintype n] [DecidableEq n] [Fintype m] [DecidableEq m] in
theorem Matrix.IsHermitian.spectrum_rcLike {A : Matrix n n ๐•œ} (hA : A.IsHermitian) :
    RCLike.ofReal '' spectrum โ„ A = spectrum ๐•œ A := by
  rw [hA.spectrum_eq_image_range, hA.spectrum_real_eq_range_eigenvalues]
See it in the graphDiscuss this resultChallenge it