yang
This project has not described itself yet.
Brought by drakestapleton
yang / proofs / WilsonReplicaSlabs.lean
| 1 | -- SPDX-License-Identifier: Apache-2.0 |
| 2 | import WilsonReplicaFrame |
| 3 | |
| 4 | namespace YangMills.PeriodicWilson |
| 5 | open FundamentalSU2 MeasureTheory Real |
| 6 | noncomputable section |
| 7 | |
| 8 | def cyclicDistance {l : ℕ+} (s v : ZMod l.val) : ℕ := (v-s).valMinAbs.natAbs |
| 9 | |
| 10 | /-- The swap acts on every link based within r cyclic time steps of s. -/ |
| 11 | def slabMask {l : ℕ+} (t : Axis) (s : ZMod l.val) (r : ℕ) (e : Edge l) : Bool := |
| 12 | decide (cyclicDistance (l := l) s (e.1 t) ≤ r) |
| 13 | |
| 14 | private theorem distance_step {l : ℕ+} (hl : 1 < l.val) (s v : ZMod l.val) : |
| 15 | cyclicDistance (l := l) s (v+1) ≤ cyclicDistance (l := l) s v + 1 ∧ |
| 16 | cyclicDistance (l := l) s v ≤ cyclicDistance (l := l) s (v+1) + 1 := by |
| 17 | have ho : (1 : ZMod l.val).valMinAbs.natAbs = 1 := by |
| 18 | rw [ZMod.valMinAbs_natAbs_eq_min, ZMod.val_one'' (by omega)] |
| 19 | omega |
| 20 | constructor |
| 21 | · unfold cyclicDistance |
| 22 | rw [show v+1-s = (v-s)+1 by abel] |
| 23 | exact ((ZMod.natAbs_valMinAbs_add_le ..).trans (Int.natAbs_add_le ..)).trans_eq (by rw [ho]) |
| 24 | · unfold cyclicDistance |
| 25 | conv_lhs => rw [show v-s = (v+1-s)+(-1) by abel] |
| 26 | exact ((ZMod.natAbs_valMinAbs_add_le ..).trans (Int.natAbs_add_le ..)).trans_eq |
| 27 | (by rw [ZMod.natAbs_valMinAbs_neg,ho]) |
| 28 | |
| 29 | theorem face_base_times {l : ℕ+} (p : Face l) (t : Axis) {e : Edge l} (he : e ∈ faceEdges p) : |
| 30 | e.1 t = p.1 t ∨ e.1 t = p.1 t+1 := by |
| 31 | simp only [faceEdges, Finset.mem_insert, Finset.mem_singleton] at he |
| 32 | rcases he with rfl | rfl | rfl | rfl |
| 33 | · exact .inl rfl |
| 34 | · change (p.1 + Pi.single p.2.val.1 (1:ZMod l.val) : Site l) t = p.1 t ∨ |
| 35 | (p.1 + Pi.single p.2.val.1 (1:ZMod l.val) : Site l) t = p.1 t+1 |
| 36 | by_cases h : t=p.2.val.1 <;> simp [h] |
| 37 | · change (p.1 + Pi.single p.2.val.2 (1:ZMod l.val) : Site l) t = p.1 t ∨ |
| 38 | (p.1 + Pi.single p.2.val.2 (1:ZMod l.val) : Site l) t = p.1 t+1 |
| 39 | by_cases h : t=p.2.val.2 <;> simp [h] |
| 40 | · exact .inl rfl |
| 41 | |
| 42 | theorem slab_boundaries_disjoint {l : ℕ+} (hl : 1 < l.val) (t : Axis) (s : ZMod l.val) |
| 43 | {i j : ℕ} (hij : i ≠ j) (p : Face l) : uniformOnFace (slabMask t s i) p ∨ uniformOnFace (slabMask t s j) p := by |
| 44 | let d := cyclicDistance (l := l) s (p.1 t) |
| 45 | let d' := cyclicDistance (l := l) s (p.1 t+1) |
| 46 | have hc (r : ℕ) (h : d ≤ r ↔ d' ≤ r) : uniformOnFace (slabMask t s r) p := by |
| 47 | refine ⟨decide (d ≤ r), fun e he => ?_⟩ |
| 48 | rcases face_base_times p t he with hx | hx |
| 49 | · simp [slabMask,hx,d] |
| 50 | · simp [slabMask,hx,d',Bool.decide_congr h.symm] |
| 51 | have hh : d' ≤ d+1 ∧ d ≤ d'+1 := distance_step hl s (p.1 t) |
| 52 | by_cases h : d ≤ i ↔ d' ≤ i |
| 53 | · exact .inl (hc i h) |
| 54 | · exact .inr (hc j (by omega)) |
| 55 | |
| 56 | def spatialSlice {l : ℕ+} (t : Axis) (s : ZMod l.val) (ps : List (Face l)) : Prop := |
| 57 | ∀ p ∈ ps, p.1 t = s ∧ t ≠ p.2.val.1 ∧ t ≠ p.2.val.2 |
| 58 | |
| 59 | private theorem blocked_trace_local {l : ℕ+} (hl : 1 < l.val) (b : ℕ+) (p : Face l) (t : Axis) |
| 60 | (hi : t ≠ p.2.val.1) (hj : t ≠ p.2.val.2) (U V : WilsonConfig (b*l)) |
| 61 | (he : ∀ e : Edge (b*l), e.1 t = blockCoordinate b l (p.1 t) → U e = V e) : |
| 62 | wilsonPlaquetteTrace p (blockLinks b U) = wilsonPlaquetteTrace p (blockLinks b V) := by |
| 63 | have H := (wilsonPlaquetteTrace_variation p).blockLinks b (fun e => (plaquetteWeight_bounds hl p e).1) U V |
| 64 | have hz (e : Edge (b*l)) : blockProfile b (plaquetteWeight p) e * linkGeodesic (U e) (V e) = 0 := by |
| 65 | by_cases h : blockProfile b (plaquetteWeight p) e = 0 |
| 66 | · rw [h,zero_mul] |
| 67 | · rw [he e (blockedPlaquette_slice b t p hi hj e h), linkGeodesic_eq_angle, InnerProductGeometry.angle_self, mul_zero] |
| 68 | exact norm_ne_zero_iff.mp (by rw [coordinates_norm]; norm_num) |
| 69 | simp only [hz,Finset.sum_const_zero,abs_nonpos_iff,sub_eq_zero,Function.comp_apply] at H |
| 70 | exact H |
| 71 | |
| 72 | private theorem blocked_product_local {l : ℕ+} (hl : 1 < l.val) (b : ℕ+) (ps : List (Face l)) (t : Axis) |
| 73 | (s : ZMod l.val) (hs : spatialSlice t s ps) (U V : WilsonConfig (b*l)) |
| 74 | (he : ∀ e : Edge (b*l), e.1 t = blockCoordinate b l s → U e = V e) : |
| 75 | plaquetteProduct ps (blockLinks b U) = plaquetteProduct ps (blockLinks b V) := by |
| 76 | induction ps with |
| 77 | | nil => rfl |
| 78 | | cons p ps ih => |
| 79 | obtain ⟨hp,hi,hj⟩ := hs p (List.mem_cons_self ..) |
| 80 | rw [plaquetteProduct, plaquetteProduct, blocked_trace_local hl b p t hi hj U V (fun e h => he e (hp ▸ h)), |
| 81 | ih (fun q hq => hs q (List.mem_cons_of_mem _ hq))] |
| 82 | |
| 83 | /-- The effective attenuation at separation k is an expectation of a product |
| 84 | under the *fine* Wilson law at its actual beta. No shell independence is required. -/ |
| 85 | def slabMoment {l : ℕ+} (β : ℝ) (t : Axis) (s : ZMod l.val) (k : ℕ) |
| 86 | (ν : Measure (WilsonReplicas l) := replicaLaw l β) := |
| 87 | ∫ z, ∏ r ∈ Finset.range k, |tanh (exchangeField β (slabMask t s r) z)| ∂ν |
| 88 | |
| 89 | private theorem blocked_shell_anti {l : ℕ+} (hl : 1 < l.val) (b : ℕ+) |
| 90 | (t : Axis) (s u : ZMod l.val) (ps qs : List (Face l)) |
| 91 | (hp : spatialSlice t s ps) (hq : spatialSlice t u qs) : |
| 92 | ∀ r ∈ Finset.range (b.val * cyclicDistance (l := l) s u), ∀ z, |
| 93 | replicaDifference (plaquetteProduct ps ∘ blockLinks b) (plaquetteProduct qs ∘ blockLinks b) |
| 94 | (exchangeLinks (slabMask t (blockCoordinate b l s) r) z) = |
| 95 | -replicaDifference (plaquetteProduct ps ∘ blockLinks b) (plaquetteProduct qs ∘ blockLinks b) z := by |
| 96 | let s' := blockCoordinate b l s |
| 97 | let F := plaquetteProduct ps ∘ (blockLinks b : WilsonConfig (b*l) → WilsonConfig l) |
| 98 | let G := plaquetteProduct qs ∘ (blockLinks b : WilsonConfig (b*l) → WilsonConfig l) |
| 99 | intro r hr z |
| 100 | have hru : r < cyclicDistance (l := b*l) s' (blockCoordinate b l u) := by |
| 101 | rw [cyclicDistance,blockCoordinate_distance]; exact Finset.mem_range.mp hr |
| 102 | let S := exchangeLinks (slabMask t s' r) z |
| 103 | have at_s (e : Edge (b*l)) (he : e.1 t = blockCoordinate b l s) : slabMask t s' r e = true := by |
| 104 | simp only [slabMask,cyclicDistance,he,s',sub_self,ZMod.valMinAbs_zero,Int.natAbs_zero,Nat.zero_le,decide_true] |
| 105 | have at_u (e : Edge (b*l)) (he : e.1 t = blockCoordinate b l u) : slabMask t s' r e = false := by |
| 106 | simpa [slabMask,he] using hru |
| 107 | have f₁ : F S.1 = F z.2 := blocked_product_local hl b ps t s hp _ _ fun e he => by simp [S,exchangeLinks,at_s e he] |
| 108 | have f₂ : F S.2 = F z.1 := blocked_product_local hl b ps t s hp _ _ fun e he => by simp [S,exchangeLinks,at_s e he] |
| 109 | have g₁ : G S.1 = G z.1 := blocked_product_local hl b qs t u hq _ _ fun e he => by simp [S,exchangeLinks,at_u e he] |
| 110 | have g₂ : G S.2 = G z.2 := blocked_product_local hl b qs t u hq _ _ fun e he => by simp [S,exchangeLinks,at_u e he] |
| 111 | change (F S.1-F S.2)*(G S.1-G S.2) = -((F z.1-F z.2)*(G z.1-G z.2)) |
| 112 | rw [f₁,f₂,g₁,g₂]; ring |
| 113 | |
| 114 | /-- All-beta, finite-volume correlation estimate for the actual blocked |
| 115 | Wilson products. Each fine shell between the two slices supplies one factor. -/ |
| 116 | theorem blockedProduct_replica_bound {l : ℕ+} (hl : 1 < l.val) (b : ℕ+) (β : ℝ) |
| 117 | (t : Axis) (s u : ZMod l.val) (ps qs : List (Face l)) |
| 118 | (hp : spatialSlice t s ps) (hq : spatialSlice t u qs) : |
| 119 | |blockedCovariance b β (plaquetteProduct ps) (plaquetteProduct qs)| ≤ |
| 120 | 2*slabMoment β t (blockCoordinate b l s) (b.val*cyclicDistance (l := l) s u) := by |
| 121 | let s' := blockCoordinate b l s |
| 122 | let k := b.val * cyclicDistance (l := l) s u |
| 123 | rw [blockedCovariance_eq b β (plaquetteProduct_continuous ps) (plaquetteProduct_continuous qs)] |
| 124 | apply replica_covariance_bound β (Finset.range k) (slabMask t s') |
| 125 | ((plaquetteProduct_continuous ps).comp (blockLinks_continuous b l)) |
| 126 | ((plaquetteProduct_continuous qs).comp (blockLinks_continuous b l)) |
| 127 | (fun U => plaquetteProduct_abs_le_one ps _) (fun U => plaquetteProduct_abs_le_one qs _) |
| 128 | · exact blocked_shell_anti hl b t s u ps qs hp hq |
| 129 | · exact fun _ _ _ _ hij p => slab_boundaries_disjoint (hl.trans_le (Nat.le_mul_of_pos_left _ b.prop)) _ _ hij p |
| 130 | |
| 131 | /-- The same blocked-product estimate with all exchanges evaluated in a pinned frame. -/ |
| 132 | theorem framed_blockedProduct_replica_bound {l : ℕ+} (hl : 1 < l.val) (b : ℕ+) (β : ℝ) (P : PinnedFrame (b*l)) |
| 133 | (t : Axis) (s u : ZMod l.val) (ps qs : List (Face l)) |
| 134 | (hp : spatialSlice t s ps) (hq : spatialSlice t u qs) : |
| 135 | |blockedCovariance b β (plaquetteProduct ps) (plaquetteProduct qs)| ≤ |
| 136 | 2*slabMoment β t (blockCoordinate b l s) (b.val*cyclicDistance (l := l) s u) (P.framedLaw β) := by |
| 137 | let F := plaquetteProduct ps ∘ (blockLinks b : WilsonConfig (b*l) → WilsonConfig l) |
| 138 | let H := plaquetteProduct qs ∘ (blockLinks b : WilsonConfig (b*l) → WilsonConfig l) |
| 139 | let D := replicaDifference F H |
| 140 | have cF : Continuous F := (plaquetteProduct_continuous ps).comp (blockLinks_continuous b l) |
| 141 | have cH : Continuous H := (plaquetteProduct_continuous qs).comp (blockLinks_continuous b l) |
| 142 | have cD : Continuous D := ((cF.comp continuous_fst).sub (cF.comp continuous_snd)).mul ((cH.comp continuous_fst).sub (cH.comp continuous_snd)) |
| 143 | have hg (z : WilsonReplicas (b*l)) : D (P.pair z) = D z := by |
| 144 | simp [D,F,H,replicaDifference,PinnedFrame.pair,PinnedFrame.project,blockLinks_gauge b hl,plaquetteProduct_gauge] |
| 145 | rw [blockedCovariance_eq b β (plaquetteProduct_continuous ps) (plaquetteProduct_continuous qs)] |
| 146 | apply replica_covariance_bound_of_integral β (P.framedLaw β) _ _ cF cH |
| 147 | (fun U => plaquetteProduct_abs_le_one ps _) (fun U => plaquetteProduct_abs_le_one qs _) |
| 148 | rw [twice_wilsonCovariance β cF cH, ← P.integral_projected β cD hg] |
| 149 | exact shell_identity_of_exchange β _ (P.framed_exchange β) _ _ cD (blocked_shell_anti hl b t s u ps qs hp hq) |
| 150 | fun _ _ _ _ hij p => slab_boundaries_disjoint (hl.trans_le (Nat.le_mul_of_pos_left _ b.prop)) _ _ hij p |
| 151 | |
| 152 | #print axioms framed_blockedProduct_replica_bound |
| 153 | #print axioms slab_boundaries_disjoint |
| 154 | #print axioms blockedProduct_replica_bound |
| 155 | end |
| 156 | end YangMills.PeriodicWilson |