Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/yang/blob/main/proofs/WilsonWordClustering.lean # yang This project has not described itself yet. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `yang / proofs / WilsonWordClustering.lean` 154 lines · 7904 bytes Raw Blame History 1 -- SPDX-License-Identifier: Apache-2.0 2 import WilsonBlocking 3 4 namespace YangMills.PeriodicWilson 5 open FundamentalSU2 WilsonPolymer MeasureTheory Real 6 noncomputable section 7 private abbrev Config (l : ℕ+) := Configuration gaugeGroup l 8 9 /-- A product of normalized Wilson plaquette traces. Repeated faces are allowed. -/ 10 def plaquetteProduct {l : ℕ+} : List (Face l) → Config l → ℝ 11 | [], _ => 1 12 | p :: ps, U => wilsonPlaquetteTrace p U * plaquetteProduct ps U 13 14 theorem plaquetteProduct_gauge {l : ℕ+} (ps : List (Face l)) (Ω : Site l → gaugeGroup.image) (U : Config l) : 15 plaquetteProduct ps (gaugeAct Ω U) = plaquetteProduct ps U := by 16 induction ps with 17 | nil => rfl 18 | cons p ps ih => rw [plaquetteProduct, plaquetteProduct, wilsonPlaquetteTrace_gauge_invariant, ih] 19 20 theorem plaquetteProduct_abs_le_one {l : ℕ+} (ps : List (Face l)) (U : Config l) : |plaquetteProduct ps U| ≤ 1 := by 21 induction ps with 22 | nil => simp [plaquetteProduct] 23 | cons p ps ih => 24 have eq : wilsonPlaquetteTrace p U = cos (polarAngle (plaquette U p.1 p.2.val.1 p.2.val.2)) := by 25 rw [wilsonPlaquetteTrace, scalar_trace, cos_polarAngle]; ring 26 rw [plaquetteProduct, abs_mul, eq] 27 exact (mul_le_mul (abs_le.mpr ⟨neg_one_le_cos _,cos_le_one _⟩) ih (abs_nonneg _) zero_le_one).trans_eq (one_mul 1) 28 29 theorem plaquetteProduct_continuous {l : ℕ+} (ps : List (Face l)) : Continuous (plaquetteProduct ps) := by 30 induction ps with 31 | nil => exact continuous_const 32 | cons p ps ih => exact (wilsonPlaquetteTrace_variation p).continuous.mul ih 33 34 private def productProfile (b : ℕ+) {l : ℕ+} : List (Face l) → Edge (b*l) → ℝ 35 | [], _ => 0 36 | p :: ps, e => blockProfile b (plaquetteWeight p) e + productProfile b ps e 37 38 private theorem productProfile_bounds (b : ℕ+) {l : ℕ+} (hl : 1 < l.val) (ps : List (Face l)) (e : Edge (b*l)) : 39 0 ≤ productProfile b ps e ∧ productProfile b ps e ≤ ps.length := by 40 induction ps with 41 | nil => simp [productProfile] 42 | cons p ps ih => 43 obtain ⟨h0,h1⟩ := blockedPlaquetteProfile_bounds b hl p e 44 exact ⟨add_nonneg h0 ih.1,by simpa [productProfile, add_comm] using add_le_add h1 ih.2⟩ 45 46 private theorem productProfile_sum (b : ℕ+) {l : ℕ+} (ps : List (Face l)) : 47 ∑ e, productProfile b ps e = 4*b.val*ps.length := by 48 induction ps with 49 | nil => simp [productProfile] 50 | cons p ps ih => 51 simp only [productProfile, Finset.sum_add_distrib, blockedPlaquetteProfile_sum, ih, List.length_cons, Nat.cast_add, Nat.cast_one] 52 ring 53 54 private theorem product_variation (b : ℕ+) {l : ℕ+} (hl : 1 < l.val) (ps : List (Face l)) : 55 LinkVariation (productProfile b ps) (plaquetteProduct ps ∘ blockLinks b) := by 56 induction ps with 57 | nil => intro U V; simp [plaquetteProduct, productProfile, Function.comp] 58 | cons p ps ih => 59 intro U V 60 let u : Config l := blockLinks b U 61 let v : Config l := blockLinks b V 62 let x := wilsonPlaquetteTrace p u 63 let y := wilsonPlaquetteTrace p v 64 let s := plaquetteProduct ps u 65 let t := plaquetteProduct ps v 66 have hy : |y| ≤ 1 := by simpa [y,plaquetteProduct] using plaquetteProduct_abs_le_one [p] v 67 have hs : |s| ≤ 1 := plaquetteProduct_abs_le_one ps u 68 change |x*s-y*t| ≤ _ 69 calc 70 _ = |(x-y)*s + y*(s-t)| := by congr 1; ring 71 _ ≤ |(x-y)*s| + |y*(s-t)| := abs_add_le .. 72 _ ≤ |x-y| + |s-t| := by 73 rw [abs_mul, abs_mul] 74 exact add_le_add (mul_le_of_le_one_right (abs_nonneg _) hs) (mul_le_of_le_one_left (abs_nonneg _) hy) 75 _ ≤ _ := by 76 have hp := (wilsonPlaquetteTrace_variation p).blockLinks b (fun e => (plaquetteWeight_bounds hl p e).1) U V 77 simp only [productProfile, add_mul, Finset.sum_add_distrib] 78 exact add_le_add hp (ih U V) 79 80 private theorem productProfile_support (b : ℕ+) {l : ℕ+} (ps : List (Face l)) (e : Edge (b*l)) 81 (he : productProfile b ps e ≠ 0) : ∃ p ∈ ps, blockProfile b (plaquetteWeight p) e ≠ 0 := by 82 induction ps with 83 | nil => exact (he rfl).elim 84 | cons p ps ih => 85 by_cases h : blockProfile b (plaquetteWeight p) e = 0 86 · have htail : productProfile b ps e ≠ 0 := by simpa [productProfile,h] using he 87 obtain ⟨q,hq,hv⟩ := ih htail 88 exact ⟨q,List.mem_cons_of_mem _ hq,hv⟩ 89 · exact ⟨p,List.mem_cons_self ..,h⟩ 90 91 /-- Spatial insertions may occupy several slices in each word. Every cross 92 pair must respect k steps of cyclic time separation. -/ 93 def separatedPlaquetteProducts {l : ℕ+} (t : Axis) (k : ℕ) (ps qs : List (Face l)) : Prop := 94 ∀ p ∈ ps, ∀ q ∈ qs, t ≠ p.2.val.1 ∧ t ≠ p.2.val.2 ∧ t ≠ q.2.val.1 ∧ t ≠ q.2.val.2 ∧ 95 k ≤ (q.1 t-p.1 t).valMinAbs.natAbs 96 97 theorem blockedProduct_clustering (b : ℕ+) {l : ℕ+} (hl : 1 < l.val) {β : ℝ} 98 (hβ : 0 ≤ β) (hwindow : β < sqrt 3/18) (t : Axis) (k : ℕ) (ps qs : List (Face l)) 99 (hs : separatedPlaquetteProducts t k ps qs) : 100 |blockedCovariance b β (plaquetteProduct ps) (plaquetteProduct qs)| ≤ 101 (ps.length * (qs.length:ℝ)) * (4*b.val*π^2/(1-straightRow β)) * (straightRow β ^ b.val)^k := by 102 have hfine : 1 < (b*l).val := hl.trans_le (Nat.le_mul_of_pos_left _ b.prop) 103 have sep : SupportsSeparated (productProfile b ps) (productProfile b qs) (b.val*k) := by 104 apply supportsSeparated_of_axis hfine t 105 intro e a he ha 106 obtain ⟨p,hp,hpe⟩ := productProfile_support b ps e he 107 obtain ⟨q,hq,hqa⟩ := productProfile_support b qs a ha 108 obtain ⟨hi,hj,hi',hj',hk⟩ := hs p hp q hq 109 rw [periodicAxisDistance, blockedPlaquette_slice b t p hi hj e hpe, blockedPlaquette_slice b t q hi' hj' a hqa, 110 blockCoordinate_distance b l] 111 exact Nat.mul_le_mul_left _ hk 112 rw [blockedCovariance_eq b β (plaquetteProduct_continuous ps) (plaquetteProduct_continuous qs)] 113 have H := wilson_spatial_clustering hfine hβ hwindow (B := qs.length) (Nat.cast_nonneg _) 114 (fun e => (productProfile_bounds b hl ps e).1) (fun e => (productProfile_bounds b hl qs e).1) 115 (fun e => (productProfile_bounds b hl qs e).2) (product_variation b hl ps) (product_variation b hl qs) _ sep 116 rw [productProfile_sum, pow_mul] at H 117 convert H using 1 118 ring 119 120 /-- One real coefficient in a signed expansion of connected Wilson correlations. -/ 121 structure WilsonProductTerm (l : ℕ+) where 122 coefficient : ℝ 123 left : List (Face l) 124 right : List (Face l) 125 126 def productExpansion (b : ℕ+) {l : ℕ+} (β : ℝ) (terms : List (WilsonProductTerm l)) := 127 (terms.map fun a => a.coefficient * blockedCovariance b β (plaquetteProduct a.left) (plaquetteProduct a.right)).sum 128 129 def productExpansionWeight {l : ℕ+} (terms : List (WilsonProductTerm l)) := 130 (terms.map fun a => |a.coefficient| * (a.left.length * (a.right.length:ℝ))).sum 131 132 theorem productExpansion_bound (b : ℕ+) {l : ℕ+} (hl : 1 < l.val) {β : ℝ} 133 (hβ : 0 ≤ β) (hwindow : β < sqrt 3/18) (t : Axis) (k : ℕ) (terms : List (WilsonProductTerm l)) 134 (hs : ∀ a ∈ terms, a.coefficient ≠ 0 → separatedPlaquetteProducts t k a.left a.right) : 135 |productExpansion b β terms| ≤ productExpansionWeight terms * 136 ((4*b.val*π^2/(1-straightRow β))*(straightRow β ^ b.val)^k) := by 137 induction terms with 138 | nil => simp [productExpansion, productExpansionWeight] 139 | cons a as ih => 140 have hrest := ih (fun x hx => hs x (List.mem_cons_of_mem _ hx)) 141 simp only [productExpansion, productExpansionWeight, List.map_cons, List.sum_cons, add_mul] 142 apply (abs_add_le ..).trans (add_le_add ?_ hrest) 143 by_cases h : a.coefficient = 0 144 · simp [h] 145 · rw [abs_mul] 146 apply (mul_le_mul_of_nonneg_left (blockedProduct_clustering b hl hβ hwindow t k _ _ 147 (hs a (List.mem_cons_self ..) h)) (abs_nonneg _)).trans_eq 148 ring 149 150 #print axioms plaquetteProduct_gauge 151 #print axioms blockedProduct_clustering 152 #print axioms productExpansion_bound 153 end 154 end YangMills.PeriodicWilson