forked from leanprover-community/mathlib4
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSpectrum.lean
More file actions
36 lines (27 loc) · 1.14 KB
/
Spectrum.lean
File metadata and controls
36 lines (27 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/-
Copyright (c) 2021 Jireh Loreaux. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jireh Loreaux
-/
module
public import Mathlib.Algebra.Algebra.Spectrum.Quasispectrum
public import Mathlib.Analysis.Complex.Basic
/-!
# Some lemmas on the spectrum and quasispectrum of elements and positivity on `ℂ`
-/
public section
namespace SpectrumRestricts
variable {A : Type*} [Ring A]
lemma real_iff [Algebra ℂ A] {a : A} :
SpectrumRestricts a Complex.reCLM ↔ ∀ x ∈ spectrum ℂ a, x = x.re := by
simp [spectrumRestricts_iff, Set.LeftInvOn, Function.LeftInverse, eq_comm]
end SpectrumRestricts
namespace QuasispectrumRestricts
local notation "σₙ" => quasispectrum
variable {A : Type*} [NonUnitalRing A]
set_option backward.isDefEq.respectTransparency false in
lemma real_iff [Module ℂ A] [IsScalarTower ℂ A A] [SMulCommClass ℂ A A] {a : A} :
QuasispectrumRestricts a Complex.reCLM ↔ ∀ x ∈ σₙ ℂ a, x = x.re := by
rw [quasispectrumRestricts_iff_spectrumRestricts_inr,
Unitization.quasispectrum_eq_spectrum_inr' _ ℂ, SpectrumRestricts.real_iff]
end QuasispectrumRestricts