math / data /lean /OAI /Geometry /NodalSets /Spectral /CompactPositiveMaxEigenvector.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.43 kB
import Mathlib.Analysis.InnerProductSpace.Spectrum
namespace OAI
namespace Yau.Analysis
open Filter Set Module.End
noncomputable section
theorem compact_positive_max_eigenvector {E : Type*} [NormedAddCommGroup E]
[InnerProductSpace ℝ E] [CompleteSpace E] [Nontrivial E]
(T : E β†’L[ℝ] E) (hc : IsCompactOperator T) (hs : T.IsSymmetric)
(hp : βˆ€ x, 0 ≀ inner ℝ (T x) x) (hT : T β‰  0) :
βˆƒ v : E, β€–vβ€–=1 ∧ T v=β€–Tβ€– β€’ v ∧
inner ℝ (T v) v=β€–Tβ€– ∧ βˆ€ x : E, inner ℝ (T x) x ≀ β€–Tβ€–*β€–xβ€–^2 := by
have hn : 0 < β€–Tβ€– := norm_pos_iff.mpr hT
have hspec : β€–Tβ€– ∈ spectrum ℝ T ∨ -β€–Tβ€– ∈ spectrum ℝ T := by
by_contra! h
have h1 : β€–Tβ€– ∈ resolventSet ℝ T := by simpa only [spectrum,mem_compl_iff,not_not] using h.1
have h2 : -β€–Tβ€– ∈ resolventSet ℝ T := by simpa only [spectrum,mem_compl_iff,not_not] using h.2
obtain ⟨c,hc0,hc⟩ := T.abs_rayleighQuotient_le_of_norm_mem_resolventSet h1 h2
have hb : (⨆ x, |T.rayleighQuotient x|) ≀ β€–Tβ€–-c := ciSup_le hc
rw [← T.norm_eq_iSup_rayleighQuotient hs] at hb
linarith
have he : HasEigenvalue T.toLinearMap β€–Tβ€– := by
rcases hspec with h | h
Β· exact (hc.hasEigenvalue_iff_mem_spectrum hn.ne').mpr h
· obtain ⟨v,hv⟩ := ((hc.hasEigenvalue_iff_mem_spectrum (neg_ne_zero.mpr hn.ne')).mpr h).exists_hasEigenvector
have heq : T v = -β€–Tβ€– β€’ v := hv.apply_eq_smul
have hh := hp v
rw [heq,inner_smul_left_eq_smul,smul_eq_mul,real_inner_self_eq_norm_sq] at hh
have hvpos : 0 < β€–vβ€–^2 := sq_pos_of_pos (norm_pos_iff.mpr hv.2)
nlinarith
obtain ⟨v,hv⟩ := he.exists_hasEigenvector
have hvnorm : β€–vβ€– β‰  0 := norm_ne_zero_iff.mpr hv.2
let u := β€–v‖⁻¹ β€’ v
have hun : β€–uβ€–=1 := by
simp only [u,norm_smul,Real.norm_eq_abs,abs_inv,abs_norm,inv_mul_cancelβ‚€ hvnorm]
have heq : T v=β€–Tβ€– β€’ v := hv.apply_eq_smul
have hue : T u=β€–Tβ€– β€’ u := by
dsimp [u]
rw [map_smul,heq,smul_comm]
refine ⟨u,hun,hue,?_,?_⟩
Β· rw [hue,inner_smul_left_eq_smul,smul_eq_mul,real_inner_self_eq_norm_sq,hun]
ring
Β· intro x
calc
inner ℝ (T x) x ≀ β€–T xβ€–*β€–xβ€– := real_inner_le_norm _ _
_ ≀ (β€–Tβ€–*β€–xβ€–)*β€–xβ€– := mul_le_mul_of_nonneg_right (T.le_opNorm x) (norm_nonneg x)
_ = β€–Tβ€–*β€–xβ€–^2 := by ring
end
end Yau.Analysis
end OAI