File size: 4,594 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import Mathlib
import OAI.MathematicalPhysics.PEPSFilters.LocalOperators
import OAI.MathematicalPhysics.PEPSSubvolume.SpectralPowers

namespace OAI

/-! Left and right unitary first variations. -/

noncomputable section
open scoped BigOperators ComplexOrder
open scoped BigOperators ComplexOrder Matrix.Norms.L2Operator
open scoped BigOperators
open scoped Topology
open Filter
open PolynomialPEPS.PinnedEntropy

namespace PolynomialPEPS.Subvolume.UnitaryStationarity
open scoped BigOperators ComplexOrder Matrix.Norms.L2Operator
open PolynomialPEPS.Subvolume.SpectralCurve
open Filter
variable {ΞΉ E : Type*} [Fintype ΞΉ] [DecidableEq ΞΉ]
  [NormedAddCommGroup E] [InnerProductSpace β„‚ E]

theorem real_inner_le_of_norm_le (v w : E) (h : β€–wβ€– ≀ β€–vβ€–) :
    (inner β„‚ v w).re ≀ (inner β„‚ v v).re := by
  calc
    (inner β„‚ v w).re ≀ β€–inner β„‚ v wβ€– := Complex.re_le_norm _
    _ ≀ β€–vβ€–*β€–wβ€– := norm_inner_le_norm _ _
    _ ≀ β€–vβ€–*β€–vβ€– := mul_le_mul_of_nonneg_left h (norm_nonneg _)
    _ = (inner β„‚ v v).re := by
      change β€–vβ€–*β€–vβ€– = RCLike.re (inner β„‚ v v)
      rw [← pow_two, norm_sq_eq_re_inner (π•œ := β„‚)]

theorem left_moment_real (T : Matrix ΞΉ ΞΉ β„‚ β†’β‚—[β„‚] E) (F : Matrix ΞΉ ΞΉ β„‚)
    (hb : βˆ€ V : unitary (Matrix ΞΉ ΞΉ β„‚), β€–T ((V : Matrix ΞΉ ΞΉ β„‚)*F)β€– ≀ β€–T Fβ€–)
    (H : Matrix ΞΉ ΞΉ β„‚) (hH : H.IsHermitian) :
    (inner β„‚ (T F) (T (H*F))).im = 0 := by
  let U := hH.eigenvectorUnitary
  let r := hH.eigenvalues
  let l : Matrix ΞΉ ΞΉ β„‚ β†’L[β„‚] β„‚ := (innerSL β„‚ (T F)).comp T.toContinuousLinearMap
  have hrep : spectralHom U (fun i => (r i : β„‚)) = H := hH.spectral_theorem.symm
  have hD : HasDerivAt (fun z : β„‚ => curve U r (z*Complex.I)*F)
      (Complex.I β€’ (H*F)) 0 := by
    have hz : HasDerivAt (fun z : β„‚ => z*Complex.I) Complex.I 0 := by
      simpa using (hasDerivAt_id (0 : β„‚)).mul_const Complex.I
    have hC := (hasDerivAt_curve_zero U r).scomp_of_eq 0 hz (by simp)
    simpa [hrep,smul_mul_assoc] using hC.mul_const F
  have hDl : HasDerivAt (fun z : β„‚ => l (curve U r (z*Complex.I)*F))
      (Complex.I * l (H*F)) 0 := by
    simpa +instances [Function.comp_def] using! l.hasFDerivAt.comp_hasDerivAt 0 hD
  have hm : IsLocalMax (fun t : ℝ => (l (curve U r ((t : β„‚)*Complex.I)*F)).re) 0 := by
    apply Filter.Eventually.of_forall
    intro t
    change (inner β„‚ (T F) (T (curve U r ((t : β„‚)*Complex.I)*F))).re ≀ _
    have h0 : l (curve U r (((0 : ℝ) : β„‚)*Complex.I)*F) = inner β„‚ (T F) (T F) := by
      simp [l]
    change _ ≀ (l _).re
    rw [h0]
    exact real_inner_le_of_norm_le _ _ (hb
      ⟨curve U r ((t : β„‚)*Complex.I), curve_mem_unitary U r _ (by simp)⟩)
  have hz := hm.hasDerivAt_eq_zero hDl.real_of_complex
  change (Complex.I * inner β„‚ (T F) (T (H*F))).re = 0 at hz
  simpa using hz

theorem right_moment_real (T : Matrix ΞΉ ΞΉ β„‚ β†’β‚—[β„‚] E) (F : Matrix ΞΉ ΞΉ β„‚)
    (hb : βˆ€ V : unitary (Matrix ΞΉ ΞΉ β„‚), β€–T (F*(V : Matrix ΞΉ ΞΉ β„‚))β€– ≀ β€–T Fβ€–)
    (H : Matrix ΞΉ ΞΉ β„‚) (hH : H.IsHermitian) :
    (inner β„‚ (T F) (T (F*H))).im = 0 := by
  let U := hH.eigenvectorUnitary
  let r := hH.eigenvalues
  let l : Matrix ΞΉ ΞΉ β„‚ β†’L[β„‚] β„‚ := (innerSL β„‚ (T F)).comp T.toContinuousLinearMap
  have hrep : spectralHom U (fun i => (r i : β„‚)) = H := hH.spectral_theorem.symm
  have hD : HasDerivAt (fun z : β„‚ => F*curve U r (z*Complex.I))
      (Complex.I β€’ (F*H)) 0 := by
    have hz : HasDerivAt (fun z : β„‚ => z*Complex.I) Complex.I 0 := by
      simpa using (hasDerivAt_id (0 : β„‚)).mul_const Complex.I
    have hC := (hasDerivAt_curve_zero U r).scomp_of_eq 0 hz (by simp)
    simpa [hrep,mul_smul_comm] using hC.const_mul F
  have hDl : HasDerivAt (fun z : β„‚ => l (F*curve U r (z*Complex.I)))
      (Complex.I * l (F*H)) 0 := by
    simpa +instances [Function.comp_def] using! l.hasFDerivAt.comp_hasDerivAt 0 hD
  have hm : IsLocalMax (fun t : ℝ => (l (F*curve U r ((t : β„‚)*Complex.I))).re) 0 := by
    apply Filter.Eventually.of_forall
    intro t
    change (inner β„‚ (T F) (T (F*curve U r ((t : β„‚)*Complex.I)))).re ≀ _
    have h0 : l (F*curve U r (((0 : ℝ) : β„‚)*Complex.I)) = inner β„‚ (T F) (T F) := by
      simp [l]
    change _ ≀ (l _).re
    rw [h0]
    exact real_inner_le_of_norm_le _ _ (hb
      ⟨curve U r ((t : β„‚)*Complex.I), curve_mem_unitary U r _ (by simp)⟩)
  have hz := hm.hasDerivAt_eq_zero hDl.real_of_complex
  change (Complex.I * inner β„‚ (T F) (T (F*H))).re = 0 at hz
  simpa using hz

end PolynomialPEPS.Subvolume.UnitaryStationarity

end

end OAI