interplane.Get Omega
Read in your language

yang

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

yang / proofs / WilsonFieldResponse.lean

294 lines · 17001 bytes Raw Blame History
1-- SPDX-License-Identifier: Apache-2.0
2import WilsonPoleTransport
3import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds
4import Mathlib.Analysis.Real.Pi.Bounds
5
6namespace YangMills.PeriodicWilson
7open FundamentalSU2 MeasureTheory Real Set
8open scoped Matrix.Norms.Frobenius ENNReal
9noncomputable section
10private abbrev G := gaugeGroup.image
11
12theorem pole_inverse_distance (k j : G) : linkGeodesic k⁻¹ j⁻¹ = linkGeodesic k j := calc
13 _ = linkGeodesic (k*k⁻¹*j) (k*j⁻¹*j) := by rw [linkGeodesic_mul_right,linkGeodesic_mul_left]
14 _ = linkGeodesic j k := by simp [mul_assoc]
15 _ = _ := by simp only [linkGeodesic_eq_angle]; exact InnerProductGeometry.angle_comm ..
16
17/-- A uniform Lipschitz estimate in the Cartesian staple field. Its squared constant
18contains the radial contribution 1/12 and the round angular contribution π²/16 after the arc-to-chord estimate. -/
19theorem cartesian_field_mean_square {r s : ℝ} (hr : 0 ≤ r) (hs : 0 ≤ s) (k j : G) :
20 linkWassersteinSq (poleLaw r k) (poleLaw s j) ≤ ENNReal.ofReal
21 ((1/12 + π^2/16) * ‖r • linkCoordinates k - s • linkCoordinates j‖^2) := by
22 apply (mean_square_pole_wasserstein hr hs k j).trans (ENNReal.ofReal_le_ofReal ?_)
23 rw [pole_inverse_distance]
24 let D := linkGeodesic k j
25 let m := min r s
26 let a := |s-r|
27 let b := 2/π*m*D
28 let L := (sqrt 12)⁻¹
29 let B := π/4
30 have hm : 0 ≤ m := le_min hr hs
31 have hD : 0 ≤ D := arccos_nonneg _
32 have hpi : π ≠ 0 := pi_pos.ne'
33 have hchord := cos_le_one_sub_mul_cos_sq (show |D| ≤ π from by rw [abs_of_nonneg hD]; exact arccos_le_pi _)
34 have hchord2 : (2/π*D)^2 ≤ 2*(1-cos D) := by
35 have he : (2/π*D)^2 = 2*(2/π^2*D^2) := by field_simp
36 rw [he]; linarith only [hchord]
37 have hmm : m^2 ≤ r*s := by
38 dsimp [m]
39 rcases le_total r s with h | h
40 · rw [min_eq_left h,sq]; exact mul_le_mul_of_nonneg_left h hr
41 · rw [min_eq_right h,sq]; exact mul_le_mul_of_nonneg_right h hs
42 have hb : b^2 ≤ 2*r*s*(1-cos D) := calc
43 _ = m^2*(2/π*D)^2 := by dsimp [b]; ring
44 _ ≤ m^2*(2*(1-cos D)) := mul_le_mul_of_nonneg_left hchord2 (sq_nonneg _)
45 _ ≤ (r*s)*(2*(1-cos D)) := mul_le_mul_of_nonneg_right hmm (by linarith [cos_le_one D])
46 _ = _ := by ring
47 have hc : cos D = inner ℝ (linkCoordinates k) (linkCoordinates j) :=
48 (cos_polarAngle (k*j⁻¹)).trans (relative_scalar k j)
49 have hv : ‖r • linkCoordinates k - s • linkCoordinates j‖^2 = a^2 + 2*r*s*(1-cos D) := by
50 rw [norm_sub_sq_real,norm_smul,norm_smul,Real.norm_eq_abs,Real.norm_eq_abs,abs_of_nonneg hr,
51 abs_of_nonneg hs,coordinates_norm,coordinates_norm,real_inner_smul_left,real_inner_smul_right,← hc]
52 dsimp only [a]; rw [sq_abs]; ring
53 have hBb : B*b = m/2*D := by dsimp [B,b]; field_simp; ring
54 have hL : L^2 = 1/12 := by simp [L,inv_pow,Real.sq_sqrt]
55 have hB : B^2 = π^2/16 := by dsimp [B]; ring
56 have hstep : a/sqrt 12 + m/2*D = L*a+B*b := by rw [hBb,div_eq_inv_mul]
57 calc
58 _ = (L*a+B*b)^2 := congrArg (·^2) hstep
59 _ ≤ (L^2+B^2)*(a^2+b^2) := by nlinarith only [sq_nonneg (L*b-B*a)]
60 _ ≤ (L^2+B^2)*‖r • linkCoordinates k-s • linkCoordinates j‖^2 := by
61 rw [hv]; exact mul_le_mul_of_nonneg_left (add_le_add_right hb _) (add_nonneg (sq_nonneg _) (sq_nonneg _))
62 _ = _ := by rw [hL,hB]
63
64theorem cartesian_field_wasserstein {r s : ℝ} (hr : 0 ≤ r) (hs : 0 ≤ s) (k j : G) :
65 linkWassersteinSq (poleLaw r k) (poleLaw s j) ≤ ENNReal.ofReal
66 ((1/12 + π^2/4) * ‖r • linkCoordinates k - s • linkCoordinates j‖^2) := by
67 exact (cartesian_field_mean_square hr hs k j).trans (ENNReal.ofReal_le_ofReal
68 (mul_le_mul_of_nonneg_right (by nlinarith [sq_nonneg π]) (sq_nonneg _)))
69
70private theorem matrixCoordinates_smul_sub (a b : ℝ) (A B : M) :
71 matrixCoordinates (a • A - b • B) = a • matrixCoordinates A - b • matrixCoordinates B := by
72 ext i; fin_cases i <;> simp [matrixCoordinates]
73
74private theorem matrixCoordinates_norm {A : M} (ha : A ∈ quaternionAlgebra) :
75 ‖matrixCoordinates A‖ = ‖A‖/sqrt 2 := by
76 have he : ‖matrixCoordinates A‖^2 = (length A)^2 := by
77 rw [EuclideanSpace.real_norm_sq_eq,length,Real.sq_sqrt (by positivity)]
78 simp [matrixCoordinates,Fin.sum_univ_four,←Complex.normSq_eq_norm_sq,Complex.normSq_apply]
79 ring
80 have hlen : ‖matrixCoordinates A‖ = length A := (sq_eq_sq₀ (norm_nonneg _) (sqrt_nonneg _)).mp he
81 rw [hlen,frobenius_eq ha]; field_simp
82
83/-- The full-link response to all changed neighboring links, counted with their
84periodic plaquette multiplicities. The bound covers every background and zero staples. -/
85theorem periodic_neighbors_of_field_bound {C : ℝ} (hC : 0 ≤ C)
86 (hField : ∀ {r s : ℝ}, 0 ≤ r → 0 ≤ s → ∀ k j : G,
87 linkWassersteinSq (poleLaw r k) (poleLaw s j) ≤ ENNReal.ofReal
88 (C * ‖r • linkCoordinates k - s • linkCoordinates j‖^2)) {l : ℕ+} (hl : 1 < l.val) {β : ℝ} (hβ : 0 ≤ β)
89 (U V : Configuration gaugeGroup l) (e : Edge l) :
90 linkWassersteinSq (heatBath β U e) (heatBath β V e) ≤ ENNReal.ofReal
91 (C*(β * ∑ i ∈ incidences e,
92 linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) / sqrt 2)^2) := by
93 let r := fieldStrength β U e
94 let s := fieldStrength β V e
95 obtain ⟨k,hk,hproj⟩ := su2_field_pole_with_matrix β U e
96 obtain ⟨j,hj,hproj'⟩ := su2_field_pole_with_matrix β V e
97 rw [heatBath_eq_tilt_of_projection hl β U e k hproj,heatBath_eq_tilt_of_projection hl β V e j hproj']
98 change linkWassersteinSq (poleLaw r k) (poleLaw s j) ≤ _
99 apply (hField (fieldStrength_mem hβ U e).1 (fieldStrength_mem hβ V e).1 k j).trans
100 apply ENNReal.ofReal_le_ofReal
101 apply mul_le_mul_of_nonneg_left _ hC
102 apply pow_le_pow_left₀ (norm_nonneg _) _ 2
103 let AU : M := stapleMatrix U e
104 let AV : M := stapleMatrix V e
105 let A : M := AU-AV
106 have hku : β • AU = r • suMat k := hk
107 have hjv : β • AV = s • suMat j := hj
108 have hsplit : β • A = r • suMat k - s • suMat j :=
109 (smul_sub β AU AV).trans (congrArg₂ (· - ·) hku hjv)
110 have ha : β • A ∈ quaternionAlgebra := hsplit ▸ quaternionAlgebra.sub_mem
111 (quaternionAlgebra.smul_mem k.prop r) (quaternionAlgebra.smul_mem j.prop s)
112 have he : r • linkCoordinates k - s • linkCoordinates j = matrixCoordinates (β • A) :=
113 (matrixCoordinates_smul_sub r s (suMat k) (suMat j)).symm.trans (congrArg matrixCoordinates hsplit.symm)
114 rw [he,matrixCoordinates_norm ha,norm_smul,Real.norm_eq_abs,abs_of_nonneg hβ,
115 mul_div_assoc, ← Finset.sum_div]
116 exact mul_le_mul_of_nonneg_left (div_le_div_of_nonneg_right (staple_perturbation hl U V e) (sqrt_nonneg _)) hβ
117
118theorem periodic_neighbor_mean_square {l : ℕ+} (hl : 1 < l.val) {β : ℝ} (hβ : 0 ≤ β)
119 (U V : Configuration gaugeGroup l) (e : Edge l) :
120 linkWassersteinSq (heatBath β U e) (heatBath β V e) ≤ ENNReal.ofReal
121 ((1/12+π^2/16)*(β * ∑ i ∈ incidences e,
122 linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) / sqrt 2)^2) :=
123 periodic_neighbors_of_field_bound (by positivity) cartesian_field_mean_square hl hβ U V e
124
125theorem periodic_neighbor_wasserstein {l : ℕ+} (hl : 1 < l.val) {β : ℝ} (hβ : 0 ≤ β)
126 (U V : Configuration gaugeGroup l) (e : Edge l) :
127 linkWassersteinSq (heatBath β U e) (heatBath β V e) ≤ ENNReal.ofReal
128 ((1/12+π^2/4)*(β * ∑ i ∈ incidences e,
129 linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) / sqrt 2)^2) := by
130 exact (periodic_neighbor_mean_square hl hβ U V e).trans (ENNReal.ofReal_le_ofReal
131 (mul_le_mul_of_nonneg_right (by nlinarith [sq_nonneg π]) (sq_nonneg _)))
132
133/-- Subunit finite-volume one-link response in the uniform neighbor distance. -/
134theorem periodic_neighbor_subunit {l : ℕ+} (hl : 1 < l.val) {β δ : ℝ} (hβ : 0 ≤ β) (hδ : 0 < δ)
135 (hwindow : (1/12+π^2/4)*(18*β)^2 < 1) (U V : Configuration gaugeGroup l) (e : Edge l)
136 (hneighbors : ∀ i ∈ incidences e,
137 linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) / sqrt 2 ≤ δ) :
138 linkWassersteinSq (heatBath β U e) (heatBath β V e) < ENNReal.ofReal (δ^2) := by
139 apply (periodic_neighbor_wasserstein hl hβ U V e).trans_lt
140 apply (ENNReal.ofReal_lt_ofReal_iff (sq_pos_of_pos hδ)).2
141 let S := ∑ i ∈ incidences e, linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) / sqrt 2
142 have hS : S ≤ 18*δ := calc
143 _ ≤ ∑ _i ∈ incidences e, δ := Finset.sum_le_sum hneighbors
144 _ = _ := by simp [incidence_count hl]
145 have hS0 : 0 ≤ S := Finset.sum_nonneg fun _ _ => div_nonneg (norm_nonneg _) (sqrt_nonneg _)
146 change (1/12+π^2/4)*(β*S)^2 < δ^2
147 calc
148 _ ≤ (1/12+π^2/4)*(β*(18*δ))^2 := mul_le_mul_of_nonneg_left
149 (pow_le_pow_left₀ (mul_nonneg hβ hS0) (mul_le_mul_of_nonneg_left hS hβ) 2) (by positivity)
150 _ = ((1/12+π^2/4)*(18*β)^2)*δ^2 := by ring
151 _ < _ := by simpa using mul_lt_mul_of_pos_right hwindow (sq_pos_of_pos hδ)
152
153/-- The normalized matrix chord is at most the unit-sphere geodesic. -/
154theorem normalized_chord_le_geodesic (u v : G) : linkChord u v / sqrt 2 ≤ linkGeodesic u v := by
155 let D := linkGeodesic u v
156 have hD : 0 ≤ D := arccos_nonneg _
157 have hp : D ≤ π := arccos_le_pi _
158 have hc : cos D = inner ℝ (linkCoordinates u) (linkCoordinates v) :=
159 (cos_polarAngle (u*v⁻¹)).trans (relative_scalar u v)
160 have he : matrixCoordinates (suMat u-suMat v) = linkCoordinates u-linkCoordinates v := by
161 simpa only [one_smul,linkCoordinates] using matrixCoordinates_smul_sub 1 1 (suMat u) (suMat v)
162 have ha : suMat u-suMat v ∈ quaternionAlgebra := quaternionAlgebra.sub_mem u.prop v.prop
163 rw [linkChord,← matrixCoordinates_norm (A := suMat u - suMat v) ha,he]
164 have hnorm : ‖linkCoordinates u-linkCoordinates v‖^2 = (2*sin (D/2))^2 := by
165 rw [norm_sub_sq_real,coordinates_norm,coordinates_norm,← hc]
166 have hcos := cos_two_mul_eq_one_sub (D/2)
167 rw [show 2*(D/2)=D by ring] at hcos
168 linarith only [hcos]
169 have hs := Real.sin_nonneg_of_nonneg_of_le_pi (by linarith : 0 ≤ D/2) (by linarith : D/2 ≤ π)
170 have h := (sq_eq_sq₀ (norm_nonneg _) (mul_nonneg (by norm_num) hs)).mp hnorm
171 change ‖linkCoordinates u-linkCoordinates v‖ ≤ D
172 rw [h]; linarith only [Real.sin_le (by linarith : 0 ≤ D/2)]
173
174/-- Number of plaquette incidences at e occupied by the link a. -/
175def neighborIncidenceCount {l : ℕ+} (e a : Edge l) : ℕ :=
176 ∑ i ∈ incidences e, if (neighbor e i.1 i.2).1 = a then 1 else 0
177
178/-- An entrywise upper bound on single-link geodesic Wasserstein influence.
179Repeated appearances of one periodic neighbor contribute to the same entry. -/
180def neighborInfluence {l : ℕ+} (β : ℝ) (e a : Edge l) :=
181 sqrt (1/12+π^2/4) * β * (neighborIncidenceCount e a : ℝ)
182
183private theorem chordSum_single {l : ℕ+} (U V : Configuration gaugeGroup l) (e a : Edge l)
184 (hfix : ∀ b, b ≠ a → U b = V b) : (∑ i ∈ incidences e,
185 linkChord (U (neighbor e i.1 i.2).1) (V (neighbor e i.1 i.2).1) / sqrt 2) =
186 (neighborIncidenceCount e a : ℝ) * (linkChord (U a) (V a) / sqrt 2) := by
187 simp only [neighborIncidenceCount,Nat.cast_sum,Nat.cast_ite,Nat.cast_one,Nat.cast_zero,Finset.sum_mul]
188 apply Finset.sum_congr rfl
189 intro i _
190 by_cases hi : (neighbor e i.1 i.2).1 = a
191 · simp [hi]
192 · simp [hi,hfix _ hi,linkChord]
193
194/-- Mean-square circle transport reduces the coefficient of each periodic incidence. -/
195def meanSquareInfluence {l : ℕ+} (β : ℝ) (e a : Edge l) :=
196 sqrt (1/12+π^2/16) * β * (neighborIncidenceCount e a : ℝ)
197
198theorem single_neighbor_mean_square {l : ℕ+} (hl : 1 < l.val) {β : ℝ} (hβ : 0 ≤ β)
199 (U V : Configuration gaugeGroup l) (e a : Edge l) (hfix : ∀ b, b ≠ a → U b = V b) :
200 linkWassersteinSq (heatBath β U e) (heatBath β V e) ≤
201 ENNReal.ofReal ((meanSquareInfluence β e a * linkGeodesic (U a) (V a))^2) := by
202 apply (periodic_neighbor_mean_square hl hβ U V e).trans (ENNReal.ofReal_le_ofReal ?_)
203 have hsum := chordSum_single U V e a hfix
204 have hm : 0 ≤ (neighborIncidenceCount e a : ℝ) := Nat.cast_nonneg _
205 have hcoef : 0 ≤ meanSquareInfluence β e a := mul_nonneg (mul_nonneg (sqrt_nonneg _) hβ) hm
206 rw [hsum]
207 calc _ = (meanSquareInfluence β e a * (linkChord (U a) (V a) / sqrt 2))^2 := by
208 unfold meanSquareInfluence; simp only [mul_pow,Real.sq_sqrt (by positivity : (0:ℝ) ≤ 1/12+π^2/16)]; ring
209 _ ≤ _ := pow_le_pow_left₀ (mul_nonneg hcoef (div_nonneg (norm_nonneg _) (sqrt_nonneg _)))
210 (mul_le_mul_of_nonneg_left (normalized_chord_le_geodesic _ _) hcoef) 2
211
212theorem single_neighbor_wasserstein {l : ℕ+} (hl : 1 < l.val) {β : ℝ} (hβ : 0 ≤ β)
213 (U V : Configuration gaugeGroup l) (e a : Edge l) (hfix : ∀ b, b ≠ a → U b = V b) :
214 linkWassersteinSq (heatBath β U e) (heatBath β V e) ≤
215 ENNReal.ofReal ((neighborInfluence β e a * linkGeodesic (U a) (V a))^2) := by
216 apply (single_neighbor_mean_square hl hβ U V e a hfix).trans (ENNReal.ofReal_le_ofReal ?_)
217 have hm : 0 ≤ (neighborIncidenceCount e a : ℝ) := Nat.cast_nonneg _
218 have hc : meanSquareInfluence β e a ≤ neighborInfluence β e a :=
219 mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right
220 (sqrt_le_sqrt (by nlinarith [sq_nonneg π])) hβ) hm
221 exact pow_le_pow_left₀ (mul_nonneg (mul_nonneg (mul_nonneg (sqrt_nonneg _) hβ) hm) (arccos_nonneg _))
222 (mul_le_mul_of_nonneg_right hc (arccos_nonneg _)) 2
223
224theorem incidence_row {l : ℕ+} (hl : 1 < l.val) (e : Edge l) :
225 (∑ a : Edge l, (neighborIncidenceCount e a : ℝ)) = 18 := by
226 simp only [neighborIncidenceCount,Nat.cast_sum,Nat.cast_ite,Nat.cast_one,Nat.cast_zero]
227 rw [Finset.sum_comm]
228 simp [incidence_count hl]
229
230theorem incidence_self {l : ℕ+} (hl : 1 < l.val) (e : Edge l) :
231 neighborIncidenceCount e e = 0 := Finset.sum_eq_zero fun i hi =>
232 if_neg (neighbor_ne_self hl (Finset.mem_product.mp hi).1 i.2)
233
234/-- Row sum of the explicit comparison matrix at every physical link. -/
235theorem neighborInfluence_row {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
236 ∑ a : Edge l, neighborInfluence β e a = 18 * β * sqrt (1/12+π^2/4) := by
237 simp only [neighborInfluence,← Finset.mul_sum,incidence_row hl]; ring
238
239theorem neighborInfluence_self {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
240 neighborInfluence β e e = 0 := by
241 simp [neighborInfluence,incidence_self hl]
242
243theorem neighborInfluence_subunit_iff {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
244 (∑ a : Edge l, neighborInfluence β e a) < 1 ↔ β < 1 / (18*sqrt (1/12+π^2/4)) := by
245 rw [neighborInfluence_row hl,lt_div_iff₀ (by positivity)]
246 ring_nf
247
248/-- An exact nonzero coupling with subunit full-link influence rows on every
249periodic side at least two, without any common-pole condition. -/
250theorem neighborInfluence_at_0034 {l : ℕ+} (hl : 1 < l.val) (e : Edge l) :
251 ∑ a : Edge l, neighborInfluence (17/500) e a < 1 := by
252 rw [neighborInfluence_row hl]
253 have hπ := sq_lt_sq' (by linarith [pi_pos] : -(3.15:ℝ) < π) pi_lt_d2
254 have hsq := sq_sqrt (by positivity : (0:ℝ) ≤ 1/12+π^2/4)
255 nlinarith only [hπ,hsq,sq_nonneg (sqrt (1/12+π^2/4) - 250/153)]
256
257theorem meanSquareInfluence_row {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
258 ∑ a : Edge l, meanSquareInfluence β e a = 18 * β * sqrt (1/12+π^2/16) := by
259 simp only [meanSquareInfluence,← Finset.mul_sum,incidence_row hl]; ring
260
261theorem meanSquareInfluence_self {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
262 meanSquareInfluence β e e = 0 := by
263 simp [meanSquareInfluence,incidence_self hl]
264
265theorem meanSquareInfluence_subunit_iff {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
266 (∑ a : Edge l, meanSquareInfluence β e a) < 1 ↔ β < 1 / (18*sqrt (1/12+π^2/16)) := by
267 rw [meanSquareInfluence_row hl,lt_div_iff₀ (by positivity)]
268 ring_nf
269
270theorem meanSquareInfluence_at_0066 {l : ℕ+} (hl : 1 < l.val) (e : Edge l) :
271 (∑ a : Edge l, meanSquareInfluence (33/500) e a) < 1 := by
272 rw [meanSquareInfluence_row hl]
273 have hπ := sq_lt_sq' (by linarith [pi_pos] : -(3.15:ℝ) < π) pi_lt_d2
274 have hsq := sq_sqrt (by positivity : (0:ℝ) ≤ 1/12+π^2/16)
275 nlinarith only [hπ,hsq,sq_nonneg (sqrt (1/12+π^2/16)-250/297)]
276
277#print axioms cartesian_field_mean_square
278#print axioms periodic_neighbor_mean_square
279#print axioms single_neighbor_mean_square
280#print axioms meanSquareInfluence_row
281#print axioms meanSquareInfluence_self
282#print axioms meanSquareInfluence_subunit_iff
283#print axioms meanSquareInfluence_at_0066
284#print axioms normalized_chord_le_geodesic
285#print axioms single_neighbor_wasserstein
286#print axioms neighborInfluence_self
287#print axioms neighborInfluence_subunit_iff
288#print axioms neighborInfluence_row
289#print axioms neighborInfluence_at_0034
290#print axioms cartesian_field_wasserstein
291#print axioms periodic_neighbor_wasserstein
292#print axioms periodic_neighbor_subunit
293end
294end YangMills.PeriodicWilson