yang
This project has not described itself yet.
Brought by drakestapleton
yang / proofs / PeriodicWilson.lean
| 1 | -- SPDX-License-Identifier: Apache-2.0 |
| 2 | import OneLinkTransport |
| 3 | import FundamentalSU2 |
| 4 | |
| 5 | namespace YangMills.PeriodicWilson |
| 6 | |
| 7 | open MeasureTheory Matrix |
| 8 | open scoped BigOperators Matrix.Norms.Frobenius |
| 9 | noncomputable section |
| 10 | |
| 11 | abbrev Edge (l : ℕ+) := Site l × Axis |
| 12 | abbrev Face (l : ℕ+) := Site l × Directions |
| 13 | private abbrev Mat (g : GaugeGroup) := Matrix (Fin (g.n+1)) (Fin (g.n+1)) ℂ |
| 14 | private def rep {g : GaugeGroup} (v : g.image) : Mat g := v.val.val |
| 15 | private def score {g : GaugeGroup} (v : g.image) : ℝ := (rep v).trace.re / (g.n+1 : ℕ) |
| 16 | |
| 17 | private theorem score_cycle {g : GaugeGroup} (u v : g.image) : score (u*v) = score (v*u) := by |
| 18 | unfold score |
| 19 | change (rep u * rep v).trace.re / _ = (rep v * rep u).trace.re / _ |
| 20 | rw [Matrix.trace_mul_comm] |
| 21 | |
| 22 | private theorem score_inv {g : GaugeGroup} (u : g.image) : score u⁻¹ = score u := by |
| 23 | unfold score |
| 24 | change (rep u).conjTranspose.trace.re / _ = _ |
| 25 | rw [Matrix.trace_conjTranspose] |
| 26 | rfl |
| 27 | |
| 28 | private theorem unitary_norm {g : GaugeGroup} (u : g.image) : |
| 29 | ‖rep u‖ = Real.sqrt (g.n+1 : ℕ) := by |
| 30 | have he : rep u * (rep u).conjTranspose = 1 := by |
| 31 | change rep (u*u⁻¹) = rep (1 : g.image) |
| 32 | rw [mul_inv_cancel] |
| 33 | have row (i : Fin (g.n+1)) : ∑ j, ‖rep u i j‖ ^ 2 = 1 := by |
| 34 | have hh := congrArg (fun A : Mat g => (A i i).re) he |
| 35 | simp only [Matrix.mul_apply, Matrix.conjTranspose_apply, Matrix.one_apply_eq, |
| 36 | Complex.one_re] at hh |
| 37 | simpa [Complex.mul_re, Complex.normSq_apply, ← Complex.normSq_eq_norm_sq] using hh |
| 38 | rw [Matrix.frobenius_norm_def] |
| 39 | simp [row, Real.sqrt_eq_rpow] |
| 40 | |
| 41 | private def shift {l : ℕ+} (i : Axis) : Site l := Pi.single i 1 |
| 42 | |
| 43 | private theorem shifted_ne {l : ℕ+} (hl : 1 < l.val) (x : Site l) (i : Axis) : |
| 44 | x + shift i ≠ x := by |
| 45 | haveI : Fact (1 < l.val) := ⟨hl⟩ |
| 46 | intro h |
| 47 | have h' := congrFun h i |
| 48 | simp [shift] at h' |
| 49 | |
| 50 | def corners {l : ℕ+} (p : Face l) : Edge l × Edge l × Edge l × Edge l := |
| 51 | let i := p.2.val.1 |
| 52 | let j := p.2.val.2 |
| 53 | ((p.1,i), (p.1+shift i,j), (p.1+shift j,i), (p.1,j)) |
| 54 | |
| 55 | /-- Incident faces of a positive oriented periodic link, in the ordered direction |
| 56 | convention of PublicWilson. Each transverse axis contributes the face based at the |
| 57 | link and the face one step back in that transverse direction. -/ |
| 58 | def incidentFaces {l : ℕ+} (e : Edge l) : Finset (Face l) := |
| 59 | (Finset.univ.filter (fun p : Directions => p.val.1 = e.2 ∨ p.val.2 = e.2)).biUnion fun p => |
| 60 | {(e.1,p), (e.1 - shift (if p.val.1=e.2 then p.val.2 else p.val.1),p)} |
| 61 | |
| 62 | private theorem direction_count (μ : Axis) : |
| 63 | (Finset.univ.filter (fun p : Directions => p.val.1=μ ∨ p.val.2=μ)).card = 3 := by |
| 64 | fin_cases μ <;> decide |
| 65 | |
| 66 | theorem incident_faces_le_six {l : ℕ+} (e : Edge l) : (incidentFaces e).card ≤ 6 := by |
| 67 | unfold incidentFaces |
| 68 | apply Finset.card_biUnion_le.trans |
| 69 | calc _ ≤ ∑ _p ∈ Finset.univ.filter (fun p : Directions => p.val.1=e.2 ∨ p.val.2=e.2), 2 := |
| 70 | Finset.sum_le_sum fun _ _ => Finset.card_insert_le _ _ |>.trans (by simp) |
| 71 | _ = 6 := by simp [direction_count] |
| 72 | |
| 73 | |
| 74 | theorem incident_faces_eq_six {l : ℕ+} (hl : 1 < l.val) (e : Edge l) : (incidentFaces e).card = 6 := by |
| 75 | classical |
| 76 | unfold incidentFaces |
| 77 | rw [Finset.card_biUnion] |
| 78 | · calc _ = ∑ _p ∈ Finset.univ.filter (fun p : Directions => p.val.1=e.2 ∨ p.val.2=e.2), 2 := by |
| 79 | apply Finset.sum_congr rfl |
| 80 | intro p _ |
| 81 | rw [Finset.card_insert_of_notMem, Finset.card_singleton] |
| 82 | simp only [Finset.mem_singleton, Prod.mk.injEq, and_true, eq_sub_iff_add_eq] |
| 83 | exact shifted_ne hl _ _ |
| 84 | _ = 6 := by simp [direction_count] |
| 85 | · intro p _ q _ hpq |
| 86 | apply Finset.disjoint_left.mpr |
| 87 | intro z hp hq |
| 88 | simp only [Finset.mem_insert, Finset.mem_singleton] at hp hq |
| 89 | rcases hp with rfl | rfl <;> rcases hq with h | h <;> exact hpq (congrArg Prod.snd h) |
| 90 | |
| 91 | /-- These labels retain multiplicity when two plaquettes use the same neighbor link. -/ |
| 92 | def incidences {l : ℕ+} (e : Edge l) := (incidentFaces e) ×ˢ (Finset.univ : Finset (Fin 3)) |
| 93 | |
| 94 | theorem incidence_count {l : ℕ+} (hl : 1 < l.val) (e : Edge l) : (incidences e).card = 18 := by |
| 95 | simp [incidences, incident_faces_eq_six hl] |
| 96 | |
| 97 | private theorem incident_iff {l : ℕ+} (p : Face l) (e : Edge l) : |
| 98 | p ∈ incidentFaces e ↔ (corners p).1 = e ∨ (corners p).2.1 = e ∨ |
| 99 | (corners p).2.2.1 = e ∨ (corners p).2.2.2 = e := by |
| 100 | rcases p with ⟨x,q⟩ |
| 101 | have hmem : (x,q) ∈ incidentFaces e ↔ (q.val.1=e.2 ∨ q.val.2=e.2) ∧ |
| 102 | (x=e.1 ∨ x=e.1-shift (if q.val.1=e.2 then q.val.2 else q.val.1)) := by |
| 103 | simp only [incidentFaces, Finset.mem_biUnion, Finset.mem_filter, Finset.mem_univ, true_and, |
| 104 | Finset.mem_insert, Finset.mem_singleton, Prod.mk.injEq] |
| 105 | constructor |
| 106 | · rintro ⟨q', h, ⟨ha,rfl⟩ | ⟨hb,rfl⟩⟩ |
| 107 | · exact ⟨h,Or.inl ha⟩ |
| 108 | · exact ⟨h,Or.inr hb⟩ |
| 109 | · rintro ⟨h, ha | hb⟩ |
| 110 | · exact ⟨q,h,Or.inl ⟨ha,rfl⟩⟩ |
| 111 | · exact ⟨q,h,Or.inr ⟨hb,rfl⟩⟩ |
| 112 | rw [hmem] |
| 113 | have hij := ne_of_lt q.property |
| 114 | rcases e with ⟨y,μ⟩ |
| 115 | by_cases hi : q.val.1 = μ <;> by_cases hj : q.val.2 = μ <;> |
| 116 | simp [corners, hi, hj, eq_sub_iff_add_eq, or_comm] at * |
| 117 | |
| 118 | /-- Product of the other three links, rotated so the updated link is the first |
| 119 | factor. For a negatively traversed link we reverse the entire plaquette. -/ |
| 120 | private def staple {g : GaugeGroup} {l : ℕ+} (U : Configuration g l) (e : Edge l) |
| 121 | (p : Face l) : g.image := |
| 122 | let (a,b,c,d) := corners p |
| 123 | if a=e then U b*(U c)⁻¹*(U d)⁻¹ |
| 124 | else if b=e then (U c)⁻¹*(U d)⁻¹*U a |
| 125 | else if c=e then (U b)⁻¹*(U a)⁻¹*U d |
| 126 | else U c*(U b)⁻¹*(U a)⁻¹ |
| 127 | |
| 128 | /-- On the one-site torus a face traverses both of its links twice. Its action |
| 129 | is a commutator and the six three-link staples are not a linear external field. -/ |
| 130 | theorem period_one_plaquette {g : GaugeGroup} (U : Configuration g 1) (x : Site 1) (i j : Axis) : |
| 131 | plaquette U x i j = U (x,i) * (U (x,j) * ((U (x,i))⁻¹ * (U (x,j))⁻¹)) := by |
| 132 | letI : Subsingleton (Site 1) := inferInstanceAs (Subsingleton (Fin 4 → Fin 1)) |
| 133 | unfold plaquette |
| 134 | have hi : x + Pi.single i 1 = x := Subsingleton.elim _ _ |
| 135 | have hj : x + Pi.single j 1 = x := Subsingleton.elim _ _ |
| 136 | rw [hi,hj] |
| 137 | |
| 138 | theorem corners_distinct {l : ℕ+} (hl : 1 < l.val) (p : Face l) : |
| 139 | let (a,b,c,d) := corners p |
| 140 | a ≠ b ∧ a ≠ c ∧ a ≠ d ∧ b ≠ c ∧ b ≠ d ∧ c ≠ d := by |
| 141 | let a := (corners p).1 |
| 142 | let b := (corners p).2.1 |
| 143 | let c := (corners p).2.2.1 |
| 144 | let d := (corners p).2.2.2 |
| 145 | have ij := ne_of_lt p.2.property |
| 146 | have ab : a ≠ b := fun h => ij (congrArg Prod.snd h) |
| 147 | have ac : a ≠ c := fun h => shifted_ne hl p.1 p.2.val.2 (congrArg Prod.fst h).symm |
| 148 | have ad : a ≠ d := fun h => ij (congrArg Prod.snd h) |
| 149 | have bc : b ≠ c := fun h => ij (congrArg Prod.snd h).symm |
| 150 | have bd : b ≠ d := fun h => shifted_ne hl p.1 p.2.val.1 (congrArg Prod.fst h) |
| 151 | have cd : c ≠ d := fun h => ij (congrArg Prod.snd h) |
| 152 | exact ⟨ab,ac,ad,bc,bd,cd⟩ |
| 153 | |
| 154 | /-- Each incidence names a real link and its orientation in the three-link staple. |
| 155 | The Boolean is true for inverse traversal. -/ |
| 156 | def neighbor {l : ℕ+} (e : Edge l) (p : Face l) : Fin 3 → Edge l × Bool := |
| 157 | let (a,b,c,d) := corners p |
| 158 | if a=e then ![(b,false),(c,true),(d,true)] |
| 159 | else if b=e then ![(c,true),(d,true),(a,false)] |
| 160 | else if c=e then ![(b,true),(a,true),(d,false)] |
| 161 | else ![(c,false),(b,true),(a,true)] |
| 162 | |
| 163 | theorem neighbor_ne_self {l : ℕ+} (hl : 1 < l.val) {e : Edge l} {p : Face l} |
| 164 | (hp : p ∈ incidentFaces e) (j : Fin 3) : (neighbor e p j).1 ≠ e := by |
| 165 | have h := corners_distinct hl p |
| 166 | have hh := (incident_iff p e).mp hp |
| 167 | unfold neighbor |
| 168 | generalize corners p = Q at * |
| 169 | obtain ⟨a,b,c,d⟩ := Q |
| 170 | obtain ⟨ab,ac,ad,bc,bd,cd⟩ := h |
| 171 | rcases hh with rfl | rfl | rfl | rfl <;> fin_cases j <;> simp_all [ne_comm] |
| 172 | |
| 173 | /-- The base sites of links on one Wilson plaquette differ by zero or one |
| 174 | periodic step along each coordinate axis. -/ |
| 175 | theorem neighbor_axis_step {l : ℕ+} (e : Edge l) {p : Face l} (hp : p ∈ incidentFaces e) |
| 176 | (j : Fin 3) (t : Axis) : |
| 177 | let d := (neighbor e p j).1.1 t - e.1 t |
| 178 | d = 0 ∨ d = 1 ∨ d = -1 := by |
| 179 | let inFace := fun a : Edge l => (corners p).1 = a ∨ (corners p).2.1 = a ∨ |
| 180 | (corners p).2.2.1 = a ∨ (corners p).2.2.2 = a |
| 181 | have hasNeighbor : inFace (neighbor e p j).1 := by |
| 182 | unfold inFace neighbor |
| 183 | generalize corners p = Q |
| 184 | rcases Q with ⟨a,b,c,d⟩ |
| 185 | dsimp only |
| 186 | split |
| 187 | · fin_cases j <;> simp |
| 188 | split |
| 189 | · fin_cases j <;> simp |
| 190 | split <;> fin_cases j <;> simp |
| 191 | have displaced (i : Axis) : |
| 192 | (p.1 + shift (l := l) i : Site l) t = p.1 t ∨ (p.1 + shift (l := l) i : Site l) t = p.1 t + 1 := by |
| 193 | by_cases h : t=i <;> simp [h,shift] |
| 194 | have site (a : Edge l) (ha : inFace a) : a.1 t = p.1 t ∨ a.1 t = p.1 t+1 := by |
| 195 | rcases ha with rfl | rfl | rfl | rfl |
| 196 | · exact Or.inl rfl |
| 197 | · exact displaced _ |
| 198 | · exact displaced _ |
| 199 | · exact Or.inl rfl |
| 200 | rcases site e ((incident_iff p e).mp hp) with h | h <;> |
| 201 | rcases site _ hasNeighbor with h' | h' <;> simp [h,h'] |
| 202 | |
| 203 | private def traverse {g : GaugeGroup} {l : ℕ+} (U : Configuration g l) (k : Edge l × Bool) := |
| 204 | if k.2 then (U k.1)⁻¹ else U k.1 |
| 205 | |
| 206 | private theorem staple_eq_neighbor_product {g : GaugeGroup} {l : ℕ+} (U : Configuration g l) |
| 207 | (e : Edge l) (p : Face l) : staple U e p = traverse U (neighbor e p 0) * |
| 208 | traverse U (neighbor e p 1) * traverse U (neighbor e p 2) := by |
| 209 | unfold staple neighbor |
| 210 | generalize corners p = Q |
| 211 | obtain ⟨a,b,c,d⟩ := Q |
| 212 | by_cases ha : a=e <;> by_cases hb : b=e <;> by_cases hc : c=e <;> simp [ha,hb,hc,traverse] |
| 213 | |
| 214 | private theorem face_delta {g : GaugeGroup} {l : ℕ+} (hl : 1 < l.val) |
| 215 | (U : Configuration g l) (e : Edge l) (v : g.image) (p : Face l) : |
| 216 | let V := Function.update U e v |
| 217 | score (plaquette V p.1 p.2.val.1 p.2.val.2) - score (plaquette U p.1 p.2.val.1 p.2.val.2) = |
| 218 | if p ∈ incidentFaces e then score (v*staple U e p) - score (U e*staple U e p) else 0 := by |
| 219 | classical |
| 220 | let a := (corners p).1 |
| 221 | let b := (corners p).2.1 |
| 222 | let c := (corners p).2.2.1 |
| 223 | let d := (corners p).2.2.2 |
| 224 | let V := Function.update U e v |
| 225 | change score (V a*(V b*((V c)⁻¹*(V d)⁻¹))) - score (U a*(U b*((U c)⁻¹*(U d)⁻¹))) = _ |
| 226 | have hdis : a≠b ∧ a≠c ∧ a≠d ∧ b≠c ∧ b≠d ∧ c≠d := corners_distinct hl p |
| 227 | obtain ⟨ab,ac,ad,bc,bd,cd⟩ := hdis |
| 228 | by_cases hp : p ∈ incidentFaces e |
| 229 | · rw [if_pos hp] |
| 230 | change _ = score (v * (if a=e then _ else if b=e then _ else if c=e then _ else _)) - |
| 231 | score (U e * (if a=e then _ else if b=e then _ else if c=e then _ else _)) |
| 232 | by_cases ha : a=e |
| 233 | · subst e |
| 234 | simp [V, ab.symm, ac.symm, ad.symm, mul_assoc] |
| 235 | rfl |
| 236 | by_cases hb : b=e |
| 237 | · subst e |
| 238 | simp [V, ab, bc.symm, bd.symm, mul_assoc] |
| 239 | rw [score_cycle (U a), score_cycle (U a)] |
| 240 | simp [mul_assoc] |
| 241 | rfl |
| 242 | by_cases hc : c=e |
| 243 | · subst e |
| 244 | simp [V, ac, bc, cd.symm, mul_assoc] |
| 245 | rw [← score_inv (U a * _), ← score_inv (U a * _)] |
| 246 | simp only [_root_.mul_inv_rev, inv_inv, mul_assoc] |
| 247 | rw [score_cycle (U d), score_cycle (U d)] |
| 248 | simp [mul_assoc] |
| 249 | rfl |
| 250 | have hde : d=e := (((incident_iff p e).mp hp).resolve_left ha |>.resolve_left hb).resolve_left hc |
| 251 | subst e |
| 252 | simp [V, ad, bd, cd, mul_assoc] |
| 253 | rw [← score_inv (U a * _), ← score_inv (U a * _)] |
| 254 | simp [_root_.mul_inv_rev, mul_assoc] |
| 255 | rfl |
| 256 | · have habsent := mt (incident_iff p e).mpr hp |
| 257 | simp only [not_or] at habsent |
| 258 | obtain ⟨ha,hb,hc,hd⟩ := habsent |
| 259 | simp [V, if_neg hp, show a≠e from ha, show b≠e from hb, show c≠e from hc, show d≠e from hd] |
| 260 | |
| 261 | /-- Sum of the six oriented three-link staples. Anchoring the chosen link to the |
| 262 | identity makes independence from its value explicit in the data used for this sum. -/ |
| 263 | def stapleMatrix {g : GaugeGroup} {l : ℕ+} (U : Configuration g l) (e : Edge l) : Mat g := |
| 264 | ∑ p ∈ incidentFaces e, rep (staple (Function.update U e 1) e p) |
| 265 | |
| 266 | def fieldStrength {g : GaugeGroup} {l : ℕ+} (β : ℝ) (U : Configuration g l) (e : Edge l) : ℝ := |
| 267 | β * (‖stapleMatrix U e‖ / Real.sqrt (g.n+1 : ℕ)) |
| 268 | |
| 269 | def fieldProjection {g : GaugeGroup} {l : ℕ+} (U : Configuration g l) (e : Edge l) |
| 270 | (v : g.image) : ℝ := ((rep v * stapleMatrix U e).trace.re) / (g.n+1 : ℕ) |
| 271 | |
| 272 | private theorem projection_sum {g : GaugeGroup} {l : ℕ+} (U : Configuration g l) |
| 273 | (e : Edge l) (v : g.image) : |
| 274 | fieldProjection U e v = ∑ p ∈ incidentFaces e, score (v * staple (Function.update U e 1) e p) := by |
| 275 | simp only [fieldProjection, stapleMatrix, Finset.mul_sum, Matrix.trace_sum, |
| 276 | Complex.re_sum, Finset.sum_div] |
| 277 | rfl |
| 278 | |
| 279 | /-- This identity connects the staple to the actual ordered plaquettes in the Wilson |
| 280 | Hamiltonian. The period-one torus has self-incidences and is excluded. -/ |
| 281 | theorem one_link_energy_difference {g : GaugeGroup} {l : ℕ+} (hl : 1 < l.val) |
| 282 | (U : Configuration g l) (e : Edge l) (v : g.image) : |
| 283 | wilsonEnergy (Function.update U e v) - wilsonEnergy (Function.update U e 1) = |
| 284 | fieldProjection U e 1 - fieldProjection U e v := by |
| 285 | classical |
| 286 | let A := Function.update U e 1 |
| 287 | have h (p : Face l) := face_delta hl A e v p |
| 288 | have hu : Function.update A e v = Function.update U e v := Function.update_idem _ _ _ |
| 289 | have ha : A e = 1 := Function.update_self .. |
| 290 | simp only [hu,ha] at h |
| 291 | unfold wilsonEnergy |
| 292 | rw [← Finset.sum_sub_distrib, projection_sum, projection_sum, ← Finset.sum_sub_distrib] |
| 293 | change (∑ p : Face l, ((1-score (plaquette (Function.update U e v) p.1 p.2.val.1 p.2.val.2)) - |
| 294 | (1-score (plaquette A p.1 p.2.val.1 p.2.val.2)))) = _ |
| 295 | calc _ = ∑ p : Face l, if p ∈ incidentFaces e then score (1*staple A e p)-score (v*staple A e p) else 0 := by |
| 296 | apply Finset.sum_congr rfl; intro p _ |
| 297 | by_cases hp : p ∈ incidentFaces e <;> have hh := h p <;> simp only [hp, if_true, if_false] at hh ⊢ <;> linarith |
| 298 | _ = _ := by rw [← Finset.sum_filter]; simp [A] |
| 299 | |
| 300 | /-- Exact full-measure factorization at a link. The background factor and staple are |
| 301 | evaluated with that link pinned. The variable link enters only in the exponential |
| 302 | of its normalized trace against the staple. -/ |
| 303 | theorem wilsonLaw_one_link_factorization {g : GaugeGroup} {l : ℕ+} (hl : 1 < l.val) |
| 304 | (β : ℝ) (haar : Measure g.image) (e : Edge l) : |
| 305 | let prior := Measure.pi fun _ : Edge l => haar |
| 306 | let Z := ∫ U, Real.exp (-β * wilsonEnergy U) ∂prior |
| 307 | wilsonLaw g l β haar = prior.withDensity (fun U => ENNReal.ofReal |
| 308 | (Real.exp (-β*(wilsonEnergy (Function.update U e 1) + fieldProjection U e 1)) * |
| 309 | Real.exp (β * fieldProjection U e (U e)) / Z)) := by |
| 310 | dsimp only [wilsonLaw] |
| 311 | congr 1 |
| 312 | funext U |
| 313 | have hh := one_link_energy_difference hl U e (U e) |
| 314 | rw [Function.update_eq_self] at hh |
| 315 | rw [← Real.exp_add] |
| 316 | congr 3 |
| 317 | linear_combination -β * hh |
| 318 | |
| 319 | theorem fieldStrength_mem {g : GaugeGroup} {l : ℕ+} {β : ℝ} (hb : 0 ≤ β) |
| 320 | (U : Configuration g l) (e : Edge l) : fieldStrength β U e ∈ Set.Icc 0 (6*β) := by |
| 321 | have hdim : 0 < Real.sqrt (g.n+1 : ℕ) := by positivity |
| 322 | have hnorm := norm_sum_le (incidentFaces e) (fun p => rep (staple (Function.update U e 1) e p)) |
| 323 | simp only [unitary_norm, Finset.sum_const, nsmul_eq_mul] at hnorm |
| 324 | have hcard : ((incidentFaces e).card:ℝ) ≤ 6 := by exact_mod_cast incident_faces_le_six e |
| 325 | have hh : ‖stapleMatrix U e‖ / Real.sqrt (g.n+1 : ℕ) ≤ 6 := |
| 326 | (div_le_iff₀ hdim).2 (hnorm.trans (mul_le_mul_of_nonneg_right hcard hdim.le)) |
| 327 | exact ⟨mul_nonneg hb (div_nonneg (norm_nonneg _) hdim.le), by |
| 328 | simpa [fieldStrength,mul_comm] using mul_le_mul_of_nonneg_left hh hb⟩ |
| 329 | |
| 330 | open OneLinkTransport |
| 331 | |
| 332 | /-- Unfixed degree-18 trial coefficient at the Wilson staple, uniformly in the |
| 333 | configuration and link. The trial energies are the SU(2) fundamental S³ energies. -/ |
| 334 | theorem periodic_trial_row_lt_one {g : GaugeGroup} {l : ℕ+} {β : ℝ} |
| 335 | (hb : 0 ≤ β) (hβ : β < Real.sqrt 3/9) (U : Configuration g l) (e : Edge l) |
| 336 | {c s : ℝ} (hunit : c^2+s^2=1) : |
| 337 | let r := fieldStrength β U e |
| 338 | 18*β*Real.sqrt (c^2*parallelEnergy r + s^2*transverseEnergy r) < 1 := by |
| 339 | have hs := Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3) |
| 340 | have hmax : β ≤ 7/25 := by nlinarith |
| 341 | have h := OneLinkTransport.s3_w2_orthogonality_bound hmax (fieldStrength_mem hb U e) hunit |
| 342 | calc 18*β*Real.sqrt _ ≤ 18*β*(1/(2*Real.sqrt 3)) := mul_le_mul_of_nonneg_left h (by positivity) |
| 343 | _ = 18*(1/(2*Real.sqrt 3))*β := by ring |
| 344 | _ < 1 := WilsonPolymer.su2_4d_w2_dobrushin_window hβ |
| 345 | |
| 346 | theorem strict_witness : (19/100 : ℝ) < 24/125 ∧ (24/125 : ℝ) < Real.sqrt 3/9 := by |
| 347 | constructor |
| 348 | · norm_num |
| 349 | · nlinarith [Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3), Real.sqrt_nonneg 3] |
| 350 | |
| 351 | open FundamentalSU2 |
| 352 | |
| 353 | def suMat (u : gaugeGroup.image) : M := u.val.val |
| 354 | |
| 355 | /-- Frobenius chord length in the fundamental representation. The normalized S³ |
| 356 | chord length is this quantity divided by √2. -/ |
| 357 | def linkChord (u v : gaugeGroup.image) : ℝ := ‖suMat u - suMat v‖ |
| 358 | |
| 359 | private theorem norm_mul_unit {A : M} (ha : A ∈ quaternionAlgebra) (u : gaugeGroup.image) : |
| 360 | ‖A * suMat u‖ = ‖A‖ ∧ ‖suMat u * A‖ = ‖A‖ := by |
| 361 | obtain ⟨v,hv⟩ := polar ha |
| 362 | have hrad := frobenius_eq ha |
| 363 | have h (k : gaugeGroup.image) : ‖suMat k‖ = Real.sqrt 2 := unitary_norm k |
| 364 | have hlen : 0 ≤ length A := Real.sqrt_nonneg _ |
| 365 | rw [hrad] |
| 366 | constructor |
| 367 | · calc ‖A * suMat u‖ = ‖(length A • suMat v) * suMat u‖ := congrArg (fun B : M => ‖B*suMat u‖) hv |
| 368 | _ = _ := by |
| 369 | rw [Matrix.smul_mul, norm_smul, Real.norm_of_nonneg hlen] |
| 370 | change length A * ‖suMat (v*u)‖ = _ |
| 371 | rw [h]; ring |
| 372 | · calc ‖suMat u * A‖ = ‖suMat u * (length A • suMat v)‖ := congrArg (fun B : M => ‖suMat u*B‖) hv |
| 373 | _ = _ := by |
| 374 | rw [Matrix.mul_smul, norm_smul, Real.norm_of_nonneg hlen] |
| 375 | change length A * ‖suMat (u*v)‖ = _ |
| 376 | rw [h]; ring |
| 377 | |
| 378 | private theorem chord_mul (u v a b : gaugeGroup.image) : |
| 379 | linkChord (u*v) (a*b) ≤ linkChord u a + linkChord v b := by |
| 380 | have hq (k : gaugeGroup.image) : suMat k ∈ quaternionAlgebra := k.prop |
| 381 | change ‖suMat u*suMat v-suMat a*suMat b‖ ≤ _ |
| 382 | rw [show suMat u*suMat v-suMat a*suMat b = (suMat u-suMat a)*suMat v + suMat a*(suMat v-suMat b) |
| 383 | by rw [sub_mul, mul_sub]; abel] |
| 384 | apply (norm_add_le _ _).trans_eq |
| 385 | rw [(norm_mul_unit (quaternionAlgebra.sub_mem (hq u) (hq a)) v).1, |
| 386 | (norm_mul_unit (quaternionAlgebra.sub_mem (hq v) (hq b)) a).2] |
| 387 | rfl |
| 388 | |
| 389 | private theorem chord_traverse {l : ℕ+} (U V : Configuration gaugeGroup l) (k : Edge l × Bool) : |
| 390 | linkChord (traverse U k) (traverse V k) = linkChord (U k.1) (V k.1) := by |
| 391 | rcases k with ⟨i, rev⟩ |
| 392 | cases rev |
| 393 | · rfl |
| 394 | · change ‖(suMat (U i)).conjTranspose - (suMat (V i)).conjTranspose‖ = _ |
| 395 | rw [← Matrix.conjTranspose_sub, Matrix.frobenius_norm_conjTranspose] |
| 396 | rfl |
| 397 | |
| 398 | /-- Changing neighboring links changes the actual staple by at most the sum of |
| 399 | their chords, counted with the multiplicities of the periodic plaquettes. -/ |
| 400 | theorem staple_perturbation {l : ℕ+} (hl : 1 < l.val) (U V : Configuration gaugeGroup l) |
| 401 | (e : Edge l) : |
| 402 | ‖stapleMatrix U e - stapleMatrix V e‖ ≤ |
| 403 | ∑ i ∈ incidences e, linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) := by |
| 404 | let A := Function.update U e 1 |
| 405 | let B := Function.update V e 1 |
| 406 | unfold stapleMatrix |
| 407 | rw [← Finset.sum_sub_distrib] |
| 408 | apply (norm_sum_le _ _).trans |
| 409 | rw [incidences, Finset.sum_product] |
| 410 | apply Finset.sum_le_sum |
| 411 | intro p hp |
| 412 | change linkChord (staple A e p) (staple B e p) ≤ _ |
| 413 | rw [staple_eq_neighbor_product, staple_eq_neighbor_product] |
| 414 | let a := fun j : Fin 3 => traverse A (neighbor e p j) |
| 415 | let b := fun j : Fin 3 => traverse B (neighbor e p j) |
| 416 | have hdiff (j : Fin 3) : linkChord (a j) (b j) = |
| 417 | linkChord (U (neighbor e p j).1) (V (neighbor e p j).1) := by |
| 418 | rw [show linkChord (a j) (b j) = _ from chord_traverse A B (neighbor e p j)] |
| 419 | simp only [A, B, Function.update_of_ne (neighbor_ne_self hl hp j)] |
| 420 | have h₁ := chord_mul (a 0*a 1) (a 2) (b 0*b 1) (b 2) |
| 421 | have h₂ := chord_mul (a 0) (a 1) (b 0) (b 1) |
| 422 | apply h₁.trans |
| 423 | rw [Fin.sum_univ_three, ← hdiff, ← hdiff, ← hdiff] |
| 424 | linarith |
| 425 | |
| 426 | /-- The normalized Wilson action sampled along the link uses an actual SU(2) pole, |
| 427 | including when the external field vanishes. -/ |
| 428 | theorem su2_field_pole_with_matrix {l : ℕ+} (β : ℝ) (U : Configuration gaugeGroup l) (e : Edge l) : |
| 429 | ∃ K : gaugeGroup.image, β • stapleMatrix U e = fieldStrength β U e • suMat K ∧ |
| 430 | ∀ v : gaugeGroup.image, |
| 431 | β * fieldProjection U e v = fieldStrength β U e * (suMat (v*K) 0 0).re := by |
| 432 | let A : M := stapleMatrix U e |
| 433 | have ha : A ∈ quaternionAlgebra := |
| 434 | quaternionAlgebra.sum_mem fun p _ => (staple (Function.update U e 1) e p).prop |
| 435 | obtain ⟨K,hK⟩ := polar ha |
| 436 | have hlen : ‖A‖ / Real.sqrt 2 = length A := by |
| 437 | rw [frobenius_eq ha] |
| 438 | field_simp |
| 439 | refine ⟨K,?_,fun v => ?_⟩ |
| 440 | · change β • A = (β * (‖A‖ / Real.sqrt 2)) • suMat K |
| 441 | rw [hlen,← smul_smul] |
| 442 | exact congrArg (fun B : M => β • B) hK |
| 443 | have hproj : (suMat (v*K)).trace.re / 2 = (suMat (v*K) 0 0).re := by |
| 444 | have hq : suMat (v*K) ∈ quaternionAlgebra := (v*K).prop |
| 445 | have hdiag : suMat (v*K) 1 1 = star (suMat (v*K) 0 0) := hq.1 |
| 446 | change (suMat (v*K)).trace.re / 2 = (suMat (v*K) 0 0).re |
| 447 | simp [Matrix.trace, Fin.sum_univ_two, hdiag] |
| 448 | change β * ((suMat v * A).trace.re / 2) = |
| 449 | (β*(‖A‖/Real.sqrt 2))*_ |
| 450 | rw [hlen] |
| 451 | have ht : (suMat v*A).trace.re = length A * (suMat (v*K)).trace.re := calc |
| 452 | _ = (suMat v * (length A • suMat K)).trace.re := congrArg (fun B : M => (suMat v * B).trace.re) hK |
| 453 | _ = _ := by rw [Matrix.mul_smul, Matrix.trace_smul, Complex.smul_re]; rfl |
| 454 | rw [ht, ← hproj] |
| 455 | change β * (length A * (suMat (v*K)).trace.re / 2) = β * length A * ((suMat (v*K)).trace.re / 2) |
| 456 | ring |
| 457 | |
| 458 | theorem su2_field_pole {l : ℕ+} (β : ℝ) (U : Configuration gaugeGroup l) (e : Edge l) : |
| 459 | ∃ K : gaugeGroup.image, ∀ v : gaugeGroup.image, |
| 460 | β * fieldProjection U e v = fieldStrength β U e * (suMat (v*K) 0 0).re := by |
| 461 | obtain ⟨k,_,hk⟩ := su2_field_pole_with_matrix β U e |
| 462 | exact ⟨k,hk⟩ |
| 463 | |
| 464 | /-- Direct finite-volume SU(2) Wilson specialization. The first conclusion is the |
| 465 | full Wilson law at the selected link. Its tilt is the scalar part of v*K times the |
| 466 | actual field strength. The second bounds the sum of trial speeds over all oriented |
| 467 | plaquette incidences, uniformly in every configuration and every unit direction. |
| 468 | It does not identify this sum with the metric W₂ interdependence matrix. -/ |
| 469 | theorem su2_wilson_degree18 {l : ℕ+} (hl : 1 < l.val) {β : ℝ} (hb : 0 ≤ β) |
| 470 | (hβ : β < Real.sqrt 3/9) (haar : Measure gaugeGroup.image) (e : Edge l) : |
| 471 | let prior := Measure.pi fun _ : Edge l => haar |
| 472 | let Z := ∫ U, Real.exp (-β * wilsonEnergy U) ∂prior |
| 473 | ∃ pole : Configuration gaugeGroup l → gaugeGroup.image, |
| 474 | (∀ U v, pole (Function.update U e v) = pole U) ∧ |
| 475 | (wilsonLaw gaugeGroup l β haar = prior.withDensity (fun U => ENNReal.ofReal |
| 476 | (Real.exp (-β*(wilsonEnergy (Function.update U e 1) + fieldProjection U e 1)) * |
| 477 | Real.exp (fieldStrength β U e * (suMat (U e * pole U) 0 0).re) / Z))) ∧ |
| 478 | ∀ (U : Configuration gaugeGroup l) (c s : Face l × Fin 3 → ℝ), |
| 479 | (∀ i ∈ incidences e, c i ^ 2 + s i ^ 2 = 1) → |
| 480 | (∑ i ∈ incidences e, β*Real.sqrt |
| 481 | (c i ^ 2 * parallelEnergy (fieldStrength β U e) + |
| 482 | s i ^ 2 * transverseEnergy (fieldStrength β U e))) < 1 := by |
| 483 | classical |
| 484 | choose raw hraw using fun (U : Configuration gaugeGroup l) => su2_field_pole β U e |
| 485 | let pole := fun U => raw (Function.update U e 1) |
| 486 | have hPole (U : Configuration gaugeGroup l) (v : gaugeGroup.image) : |
| 487 | β * fieldProjection U e v = fieldStrength β U e * (suMat (v*pole U) 0 0).re := by |
| 488 | simpa only [pole, fieldProjection, fieldStrength, stapleMatrix, Function.update_idem] |
| 489 | using hraw (Function.update U e 1) v |
| 490 | refine ⟨pole, fun U v => by simp [pole, Function.update_idem], ?_, ?_⟩ |
| 491 | · rw [wilsonLaw_one_link_factorization hl β haar e] |
| 492 | simp_rw [hPole] |
| 493 | · intro U c s hu |
| 494 | have hs := Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3) |
| 495 | have hmax : β ≤ 7/25 := by nlinarith |
| 496 | calc _ ≤ ∑ _i ∈ incidences e, β * (1/(2*Real.sqrt 3)) := |
| 497 | Finset.sum_le_sum fun i hi => mul_le_mul_of_nonneg_left |
| 498 | (OneLinkTransport.s3_w2_orthogonality_bound hmax (fieldStrength_mem hb U e) (hu i hi)) hb |
| 499 | _ = 18*(1/(2*Real.sqrt 3))*β := by simp [incidence_count hl]; ring |
| 500 | _ < 1 := WilsonPolymer.su2_4d_w2_dobrushin_window hβ |
| 501 | |
| 502 | /-- Normalized Haar probability measure on the concrete compact fundamental group. -/ |
| 503 | def su2Haar : Measure gaugeGroup.image := Measure.haarMeasure ⊤ |
| 504 | |
| 505 | instance : su2Haar.IsHaarMeasure := Measure.isHaarMeasure_haarMeasure _ |
| 506 | instance : IsProbabilityMeasure su2Haar := by |
| 507 | constructor |
| 508 | change Measure.haarMeasure (G := gaugeGroup.image) ⊤ Set.univ = 1 |
| 509 | rw [← TopologicalSpace.PositiveCompacts.coe_top] |
| 510 | exact Measure.haarMeasure_self |
| 511 | |
| 512 | /-- Wilson resampling measure from the energy with the surrounding links held fixed. -/ |
| 513 | def heatBath {l : ℕ+} (β : ℝ) (U : Configuration gaugeGroup l) (e : Edge l) := |
| 514 | su2Haar.tilted fun v => -β * wilsonEnergy (Function.update U e v) |
| 515 | |
| 516 | /-- Identify the resampling law with the tilt at a specified staple pole. -/ |
| 517 | theorem heatBath_eq_tilt_of_projection {l : ℕ+} (hl : 1 < l.val) (β : ℝ) |
| 518 | (U : Configuration gaugeGroup l) (e : Edge l) (K : gaugeGroup.image) |
| 519 | (hK : ∀ v, β * fieldProjection U e v = fieldStrength β U e * (suMat (v*K) 0 0).re) : |
| 520 | heatBath β U e = su2Haar.tilted (fun v => fieldStrength β U e * (suMat (v*K) 0 0).re) := by |
| 521 | let C := Real.exp (-β*(wilsonEnergy (Function.update U e 1)+fieldProjection U e 1)) |
| 522 | let w := fun v : gaugeGroup.image => Real.exp (fieldStrength β U e * (suMat (v*K) 0 0).re) |
| 523 | have hw : (fun v => Real.exp (-β * wilsonEnergy (Function.update U e v))) = fun v => C*w v := by |
| 524 | funext v |
| 525 | dsimp [C,w] |
| 526 | rw [← Real.exp_add, ← hK] |
| 527 | congr 1 |
| 528 | linear_combination -β * one_link_energy_difference hl U e v |
| 529 | unfold heatBath Measure.tilted |
| 530 | rw [hw, integral_const_mul] |
| 531 | congr 1 |
| 532 | funext v |
| 533 | apply congrArg ENNReal.ofReal |
| 534 | change Real.exp (-β * wilsonEnergy (Function.update U e v)) / (C * ∫ a, w a ∂su2Haar) = |
| 535 | w v / ∫ a, w a ∂su2Haar |
| 536 | rw [show Real.exp (-β * wilsonEnergy (Function.update U e v)) = C*w v from congrFun hw v] |
| 537 | exact mul_div_mul_left _ _ (Real.exp_pos _).ne' |
| 538 | |
| 539 | theorem heatBath_eq_tilt {l : ℕ+} (hl : 1 < l.val) (β : ℝ) |
| 540 | (U : Configuration gaugeGroup l) (e : Edge l) : |
| 541 | ∃ K : gaugeGroup.image, heatBath β U e = |
| 542 | su2Haar.tilted (fun v => fieldStrength β U e * (suMat (v*K) 0 0).re) := by |
| 543 | obtain ⟨K,hK⟩ := su2_field_pole β U e |
| 544 | exact ⟨K,heatBath_eq_tilt_of_projection hl β U e K hK⟩ |
| 545 | |
| 546 | theorem heatBath_probability {l : ℕ+} (hl : 1 < l.val) |
| 547 | (β : ℝ) (U : Configuration gaugeGroup l) (e : Edge l) : IsProbabilityMeasure (heatBath β U e) := by |
| 548 | obtain ⟨K,h⟩ := heatBath_eq_tilt hl β U e |
| 549 | rw [h] |
| 550 | apply isProbabilityMeasure_tilted |
| 551 | have hc : Continuous (fun v : gaugeGroup.image => Real.exp (fieldStrength β U e * (suMat (v*K) 0 0).re)) := by |
| 552 | have hmat : Continuous suMat := continuous_subtype_val.comp continuous_subtype_val |
| 553 | have entry : Continuous (fun m : M => m 0 0) := (continuous_apply _).comp (continuous_apply _) |
| 554 | exact Real.continuous_exp.comp (continuous_const.mul (Complex.continuous_re.comp |
| 555 | (entry.comp (hmat.comp (continuous_mul_const K))))) |
| 556 | exact hc.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 557 | |
| 558 | /-- A concrete coupling strictly above 0.19, on every nondegenerate periodic volume. |
| 559 | The heat-bath tilt and its subunit trial row use the same Wilson staple field. -/ |
| 560 | theorem su2_wilson_at_0192 {l : ℕ+} (hl : 1 < l.val) |
| 561 | (U : Configuration gaugeGroup l) (e : Edge l) : |
| 562 | let β : ℝ := 24/125 |
| 563 | let r := fieldStrength β U e |
| 564 | (∃ K : gaugeGroup.image, heatBath β U e = |
| 565 | su2Haar.tilted (fun v => r * (suMat (v*K) 0 0).re)) ∧ |
| 566 | ∀ c s : Face l × Fin 3 → ℝ, (∀ i ∈ incidences e, c i^2 + s i^2 = 1) → |
| 567 | (∑ i ∈ incidences e, β*Real.sqrt (c i^2*parallelEnergy r + s i^2*transverseEnergy r)) < 1 := by |
| 568 | refine ⟨heatBath_eq_tilt hl _ U e, ?_⟩ |
| 569 | obtain ⟨_, _, _, h⟩ := su2_wilson_degree18 hl (by norm_num) strict_witness.2 su2Haar e |
| 570 | exact h U |
| 571 | |
| 572 | #print axioms staple_perturbation |
| 573 | #print axioms neighbor_axis_step |
| 574 | #print axioms neighbor_ne_self |
| 575 | #print axioms heatBath_probability |
| 576 | #print axioms heatBath_eq_tilt |
| 577 | #print axioms su2_wilson_at_0192 |
| 578 | |
| 579 | #print axioms period_one_plaquette |
| 580 | #print axioms incidence_count |
| 581 | #print axioms su2_field_pole |
| 582 | #print axioms su2_wilson_degree18 |
| 583 | |
| 584 | #print axioms one_link_energy_difference |
| 585 | #print axioms wilsonLaw_one_link_factorization |
| 586 | #print axioms periodic_trial_row_lt_one |
| 587 | #print axioms strict_witness |
| 588 | |
| 589 | end |
| 590 | end YangMills.PeriodicWilson |