yang
This project has not described itself yet.
Brought by drakestapleton
yang / proofs / WilsonReplicaVertex.lean
| 1 | -- SPDX-License-Identifier: Apache-2.0 |
| 2 | import WilsonReplicaSlabs |
| 3 | |
| 4 | namespace YangMills.PeriodicWilson |
| 5 | open FundamentalSU2 WilsonPolymer MeasureTheory Real |
| 6 | noncomputable section |
| 7 | |
| 8 | /-- One element at each vertex, shared by all its incident links. -/ |
| 9 | abbrev VertexGauge (l : ℕ+) := Site l → gaugeGroup.image |
| 10 | |
| 11 | /-- Leave the first replica alone and gauge-transform the second, before any swaps. -/ |
| 12 | def vertexReplica {l : ℕ+} (g : VertexGauge l) (z : WilsonReplicas l) : WilsonReplicas l := |
| 13 | (z.1, gaugeAct g z.2) |
| 14 | |
| 15 | private theorem gaugeContinuous {l : ℕ+} (g : VertexGauge l) : |
| 16 | Continuous (gaugeAct (l := l) g) := by |
| 17 | apply continuous_pi; intro e |
| 18 | change Continuous (fun U : WilsonConfig l => g e.1 * U e * (g (PinnedFrame.edgeEnd e))⁻¹) |
| 19 | fun_prop |
| 20 | |
| 21 | private theorem vertexContinuous {l : ℕ+} (g : VertexGauge l) : Continuous (vertexReplica g) := |
| 22 | continuous_fst.prodMk ((gaugeContinuous g).comp continuous_snd) |
| 23 | |
| 24 | theorem vertexReplica_preserving {l : ℕ+} (β : ℝ) (g : VertexGauge l) : |
| 25 | MeasurePreserving (vertexReplica g) (replicaLaw l β) (replicaLaw l β) := by |
| 26 | let μ := wilsonLaw gaugeGroup l β su2Haar |
| 27 | haveI : IsProbabilityMeasure μ := wilson_probability l β |
| 28 | have hg : MeasurePreserving (gaugeAct g) μ μ := |
| 29 | ⟨(gaugeContinuous g).measurable, PhaseFour.wilsonLaw_map_gaugeAct β su2Haar g⟩ |
| 30 | exact (MeasurePreserving.id μ).prod hg |
| 31 | |
| 32 | /-- Average a signed quantity over the list, counting repeated fields with multiplicity. |
| 33 | The list has no replica argument. An adaptive choice is not covered by the integral identity. -/ |
| 34 | def vertexAverage {l : ℕ+} (gs : List (VertexGauge l)) (Q : WilsonReplicas l → ℝ) |
| 35 | (z : WilsonReplicas l) : ℝ := |
| 36 | (∑ i : Fin gs.length, Q (vertexReplica gs[i] z)) / gs.length |
| 37 | |
| 38 | theorem vertexAverage_abs_le {l : ℕ+} (gs : List (VertexGauge l)) (Q : WilsonReplicas l → ℝ) |
| 39 | (z : WilsonReplicas l) : |vertexAverage gs Q z| ≤ vertexAverage gs (fun w => |Q w|) z := by |
| 40 | rw [vertexAverage, vertexAverage, abs_div, abs_of_nonneg (show (0 : ℝ) ≤ gs.length from Nat.cast_nonneg _)] |
| 41 | exact div_le_div_of_nonneg_right (Finset.abs_sum_le_sum_abs _ _) (Nat.cast_nonneg _) |
| 42 | |
| 43 | theorem vertexAverage_integral {l : ℕ+} (β : ℝ) (gs : List (VertexGauge l)) (hne : gs ≠ []) |
| 44 | {D Q : WilsonReplicas l → ℝ} (cD : Continuous D) (cQ : Continuous Q) |
| 45 | (fixed : ∀ g ∈ gs, ∀ z, D (vertexReplica g z) = D z) : |
| 46 | (∫ z, D z * vertexAverage gs Q z ∂replicaLaw l β) = ∫ z, D z * Q z ∂replicaLaw l β := by |
| 47 | let A := fun (i : Fin gs.length) z => D z * Q (vertexReplica gs[i] z) |
| 48 | let I := ∫ z, D z * Q z ∂replicaLaw l β |
| 49 | have eq (i : Fin gs.length) : (∫ z, A i z ∂replicaLaw l β) = I := by |
| 50 | have hp := vertexReplica_preserving β gs[i] |
| 51 | have c : Continuous (fun z => D z * Q z) := cD.mul cQ |
| 52 | have h := integral_map hp.measurable.aemeasurable (c.aestronglyMeasurable |
| 53 | (μ := (replicaLaw l β).map (vertexReplica gs[i]))) |
| 54 | rw [hp.map_eq] at h |
| 55 | have hf (z : WilsonReplicas l) : D (vertexReplica gs[i] z) = D z := |
| 56 | fixed gs[i] (List.getElem_mem ..) z |
| 57 | simpa only [A, I, hf] using h.symm |
| 58 | have hi (i : Fin gs.length) : Integrable (A i) (replicaLaw l β) := |
| 59 | (cD.mul (cQ.comp (vertexContinuous gs[i]))).integrable_of_hasCompactSupport |
| 60 | (HasCompactSupport.of_compactSpace _) |
| 61 | have factor (z : WilsonReplicas l) : D z * vertexAverage gs Q z = (∑ i, A i z) / gs.length := by |
| 62 | rw [vertexAverage, mul_div_assoc', Finset.mul_sum] |
| 63 | simp_rw [factor]; rw [integral_div, integral_finsetSum _ (fun i _ => hi i)] |
| 64 | have hn : (gs.length : ℝ) ≠ 0 := by |
| 65 | have hnNat : gs.length ≠ 0 := fun hz => hne (List.length_eq_zero_iff.mp hz) |
| 66 | exact_mod_cast hnNat |
| 67 | simp [eq, hn, I] |
| 68 | |
| 69 | theorem vertexAverage_bound {l : ℕ+} (β : ℝ) (gs : List (VertexGauge l)) (hne : gs ≠ []) |
| 70 | {D Q : WilsonReplicas l → ℝ} (cD : Continuous D) (cQ : Continuous Q) |
| 71 | (fixed : ∀ g ∈ gs, ∀ z, D (vertexReplica g z) = D z) : |
| 72 | |∫ z, D z * Q z ∂replicaLaw l β| ≤ ∫ z, |D z| * |vertexAverage gs Q z| ∂replicaLaw l β := by |
| 73 | rw [← vertexAverage_integral β gs hne cD cQ fixed] |
| 74 | simpa only [abs_mul] using (abs_integral_le_integral_abs (μ := replicaLaw l β) |
| 75 | (f := fun z => D z * vertexAverage gs Q z)) |
| 76 | |
| 77 | /-- The unframed *signed* shell product, not the product of shell magnitudes. -/ |
| 78 | def signedSlabProduct {l : ℕ+} (β : ℝ) (t : Axis) (s : ZMod l.val) (k : ℕ) (z : WilsonReplicas l) : ℝ := |
| 79 | ∏ r ∈ Finset.range k, tanh (exchangeField β (slabMask t s r) z) |
| 80 | |
| 81 | private theorem spatialFace_time {l : ℕ+} (p : Face l) (t : Axis) |
| 82 | (hi : t ≠ p.2.val.1) (hj : t ≠ p.2.val.2) {e : Edge l} (he : e ∈ faceEdges p) : e.1 t = p.1 t := by |
| 83 | simp only [faceEdges, Finset.mem_insert, Finset.mem_singleton] at he |
| 84 | rcases he with rfl | rfl | rfl | rfl |
| 85 | · rfl |
| 86 | · change (p.1 + Pi.single p.2.val.1 (1 : ZMod l.val) : Site l) t = _; simp [hi] |
| 87 | · change (p.1 + Pi.single p.2.val.2 (1 : ZMod l.val) : Site l) t = _; simp [hj] |
| 88 | · rfl |
| 89 | |
| 90 | /-- For spatial plaquettes p and q, any k up to their cyclic separation gives the |
| 91 | exact covariance with k signed slab factors, averaged jointly in fixed vertex fields. |
| 92 | The bound takes the absolute value only *after* the signed average. -/ |
| 93 | theorem plaquette_vertex_slab_covariance {l : ℕ+} (hl : 1 < l.val) (β : ℝ) |
| 94 | (gs : List (VertexGauge l)) (hne : gs ≠ []) (p q : Face l) (t : Axis) |
| 95 | (pi₁ : t ≠ p.2.val.1) (pi₂ : t ≠ p.2.val.2) (qi₁ : t ≠ q.2.val.1) (qi₂ : t ≠ q.2.val.2) |
| 96 | (k : ℕ) (hk : k ≤ cyclicDistance (l := l) (p.1 t) (q.1 t)) : |
| 97 | let D := replicaDifference (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) |
| 98 | let Q := signedSlabProduct β t (p.1 t) k |
| 99 | let C := wilsonCovariance β (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) |
| 100 | 2 * C = (∫ z, D z * vertexAverage gs Q z ∂replicaLaw l β) ∧ |
| 101 | |C| ≤ (∫ z, |D z| * |vertexAverage gs Q z| ∂replicaLaw l β) / 2 := by |
| 102 | dsimp only |
| 103 | let D := replicaDifference (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) |
| 104 | let Q := signedSlabProduct β t (p.1 t) k |
| 105 | have cp := (wilsonPlaquetteTrace_variation p).continuous |
| 106 | have cq := (wilsonPlaquetteTrace_variation q).continuous |
| 107 | have cD : Continuous D := ((cp.comp continuous_fst).sub (cp.comp continuous_snd)).mul |
| 108 | ((cq.comp continuous_fst).sub (cq.comp continuous_snd)) |
| 109 | have cQ : Continuous Q := continuous_finsetProd _ fun r _ => |
| 110 | replica_tanh_continuous.comp (exchangeField_cont β (slabMask t (p.1 t) r)) |
| 111 | have fixed (g : VertexGauge l) (_ : g ∈ gs) (z : WilsonReplicas l) : D (vertexReplica g z) = D z := by |
| 112 | simp [D, vertexReplica, replicaDifference, wilsonPlaquetteTrace_gauge_invariant] |
| 113 | have anti (r : ℕ) (hr : r ∈ Finset.range k) (z : WilsonReplicas l) : |
| 114 | D (exchangeLinks (slabMask t (p.1 t) r) z) = -D z := by |
| 115 | let m := slabMask t (p.1 t) r |
| 116 | have pIn (e : Edge l) (h : e ∈ faceEdges p) : m e = true := by |
| 117 | simp [m, slabMask, spatialFace_time p t pi₁ pi₂ h, cyclicDistance] |
| 118 | have qOut (e : Edge l) (h : e ∈ faceEdges q) : m e = false := by |
| 119 | simpa [m, slabMask, spatialFace_time q t qi₁ qi₂ h] using (Finset.mem_range.mp hr).trans_le hk |
| 120 | let S := exchangeLinks m z |
| 121 | have p₁ : wilsonPlaquetteTrace p S.1 = wilsonPlaquetteTrace p z.2 := |
| 122 | trace_agrees p _ _ fun e h => by simp [S, exchangeLinks, pIn e h] |
| 123 | have p₂ : wilsonPlaquetteTrace p S.2 = wilsonPlaquetteTrace p z.1 := |
| 124 | trace_agrees p _ _ fun e h => by simp [S, exchangeLinks, pIn e h] |
| 125 | have q₁ : wilsonPlaquetteTrace q S.1 = wilsonPlaquetteTrace q z.1 := |
| 126 | trace_agrees q _ _ fun e h => by simp [S, exchangeLinks, qOut e h] |
| 127 | have q₂ : wilsonPlaquetteTrace q S.2 = wilsonPlaquetteTrace q z.2 := |
| 128 | trace_agrees q _ _ fun e h => by simp [S, exchangeLinks, qOut e h] |
| 129 | change (wilsonPlaquetteTrace p S.1 - wilsonPlaquetteTrace p S.2) * |
| 130 | (wilsonPlaquetteTrace q S.1 - wilsonPlaquetteTrace q S.2) = -(_ * _) |
| 131 | rw [p₁, p₂, q₁, q₂]; ring |
| 132 | have eq : 2 * wilsonCovariance β (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) = |
| 133 | ∫ z, D z * Q z ∂replicaLaw l β := (twice_wilsonCovariance β cp cq).trans |
| 134 | (replica_shell_identity β _ _ cD anti fun _ _ _ _ hij a => slab_boundaries_disjoint hl _ _ hij a) |
| 135 | refine ⟨eq.trans (vertexAverage_integral β gs hne cD cQ fixed).symm, ?_⟩ |
| 136 | have H := vertexAverage_bound β gs hne cD cQ fixed |
| 137 | rw [← eq, abs_mul, abs_of_nonneg (by norm_num : (0 : ℝ) ≤ 2)] at H |
| 138 | change _ ≤ (∫ z, |D z| * |vertexAverage gs Q z| ∂replicaLaw l β) / 2 |
| 139 | linarith only [H] |
| 140 | |
| 141 | #print axioms vertexReplica_preserving |
| 142 | #print axioms vertexAverage_abs_le |
| 143 | #print axioms vertexAverage_integral |
| 144 | #print axioms vertexAverage_bound |
| 145 | #print axioms plaquette_vertex_slab_covariance |
| 146 | end |
| 147 | end YangMills.PeriodicWilson |