Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.Next.STATIONARY.Shape.Vertex |
| 2 | |
| 3 | |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | /-! |
| 7 | # True-length and leading-order test on *input* loop path families |
| 8 | |
| 9 | On actual Bounds including normalized moments. Use even on harmonic and |
| 10 | wrapped site periods. Unmasked here. -/ |
| 11 | noncomputable section |
| 12 | namespace YM.Stationary |
| 13 | open Function Filter Finset Asymptotics Laurent Lattice Exterior Bloch Precision RG Wilson |
| 14 | open Matrix (transpose mulVec of) |
| 15 | open scoped Matrix Topology ContDiff BigOperators NNReal Matrix.Norms.Frobenius |
| 16 | variable {G : Gauge} {m : Side} {σ A Λ : ℝ} |
| 17 | |
| 18 | section group |
| 19 | variable (R : PathData G) (b : CurRun 2) (i : Ink G 2) |
| 20 | def coreRate : ℕ → ℝ := R.loop_coeff (plaqEquiv.symm ∘ b) i |
| 21 | |
| 22 | def wedgePlace (n : ℕ) : Cover := ((R.loop n).leg 1).offset-((R.loop n).leg 0).offset |
| 23 | |
| 24 | def basin (x : Cover) := ∑' n : wedgePlace R ⁻¹' {x}, coreRate R b i n |
| 25 | lemma core_zero (n : ℕ) : coreRate R b i n= |
| 26 | if b=fun j => plaquette (((R.loop n).leg j).plaq) then (R.loop n).coeff i else 0 := by |
| 27 | unfold coreRate PathData.loop_coeff |
| 28 | split_ifs with h he he <;> try rfl |
| 29 | · apply False.elim (he _); funext k; apply plaqEquiv.symm.injective; rw [show (((R.loop n).leg k).plaq)=_ from congr_fun h k]; exact (plaqEquiv.symm_apply_apply _).symm |
| 30 | exfalso; apply h; funext k; simp only [Function.comp_apply, he]; exact (plaqEquiv.symm_apply_apply _).symm |
| 31 | lemma wedge_tax (n : ℕ) : size (wedgePlace R n) ≤ (R.loop n).length := by |
| 32 | let f i := (R.loop n).leg i |
| 33 | have he (a : Slot) : size a.offset ≤ a.length := by |
| 34 | have hh := fees_end a.walk (0:Cover) |
| 35 | apply (hh.trans ?_); simp [Laurent.size,Slot.length] |
| 36 | unfold wedgePlace; rw [sub_eq_add_neg] |
| 37 | apply (size_add ..).trans; rw [size_neg, Atom.length, Fin.sum_univ_two,Nat.add_comm ((R.loop n).leg 0).length]; exact Nat.add_le_add (he _) (he _) |
| 38 | |
| 39 | variable {p : Clip} (h : R.Bounds p σ A Λ) |
| 40 | include h |
| 41 | private lemma spirit (M : ℕ) : ‖coreRate R b i M‖ * Real.exp (σ * size (wedgePlace R M))≤ (R.loop M).budget σ := by |
| 42 | rw [core_zero,Real.norm_eq_abs]; unfold Atom.budget; split |
| 43 | next hw => |
| 44 | have hp := h.width |
| 45 | apply mul_le_mul (b:= (R.loop M).magnitude) (single_le_sum (fun a _ => abs_nonneg ((R.loop M).coeff a)) (mem_univ i)) _ |
| 46 | (Real.exp_pos _).le (by unfold Atom.magnitude; positivity) |
| 47 | gcongr |
| 48 | exact wedge_tax R _ |
| 49 | simp only [abs_zero,zero_mul]; unfold Atom.magnitude; positivity |
| 50 | |
| 51 | lemma fillTank : Width σ Λ (basin R b i) := by |
| 52 | let F := coreRate R b i |
| 53 | let f (n : ℕ) := ‖F n‖*Real.exp (σ*size (wedgePlace R n)) |
| 54 | have he : SumBudget f Λ := Work.F08.budget_minor h.two (fun _ => mul_nonneg (norm_nonneg _) (Real.exp_pos _).le) (spirit R _ _ h) |
| 55 | have hs := he.2.1.hasSum.tsum_fiberwise (wedgePlace R) |
| 56 | unfold Width; refine Work.F08.budget_minor (show SumBudget _ Λ from ⟨fun i => tsum_nonneg fun _ => he.1 _,hs.summable, hs.tsum_eq.trans_le he.2.2⟩) |
| 57 | (fun _ => by positivity) ?_ |
| 58 | intro j |
| 59 | simp_rw [f,show ∀ (u : wedgePlace R ⁻¹' {j}), wedgePlace R u=j from fun i => i.property, tsum_mul_right,mul_comm _ ‖basin _ _ _ _‖] |
| 60 | exact mul_le_mul_of_nonneg_right (norm_tsum_le_tsum_norm (((h.loopTerms _ i).1.subtype (wedgePlace R ⁻¹' {j})).norm)) (Real.exp_pos _).le |
| 61 | |
| 62 | lemma basin_origin : Rays 2 (readable (basin R b i) ∘ axes) := by |
| 63 | let f := basin R b i |
| 64 | let C := coreRate R b i |
| 65 | have hw : Summable C := (h.loopTerms _ i).1 |
| 66 | have he := fillTank R b i h |
| 67 | have hy : AnalyticAt ℝ (readable (basin R b i) ∘ axes) 0 := |
| 68 | ((Firm.of_series (A:=Λ) (f:=fun x => (f x:ℂ)) (by simpa only [Width, Complex.norm_real] using he) h.width).analytic_real 0) |
| 69 | have hz0 : (∑' x,f x)=0 := (hw.hasSum.tsum_fiberwise _).tsum_eq.trans (h.loop_normal (plaqEquiv.symm ∘ b) i).1 |
| 70 | have H (k) : (∑' n, f n * (n k:ℤ))=0 := by |
| 71 | have hp := h.loopTerms (plaqEquiv.symm ∘ b) i |
| 72 | have hl : Summable (fun n : ℕ => C n*(wedgePlace R n k:ℤ)) := hp.2 k |
| 73 | have hz := hl.hasSum.tsum_fiberwise (wedgePlace R) |
| 74 | simp_rw [show ∀ (j) (b : wedgePlace R ⁻¹' {j}), wedgePlace R b=j from fun i b => b.property, tsum_mul_right] at hz |
| 75 | exact hz.tsum_eq.trans ((h.loop_normal (plaqEquiv.symm ∘ b) i).2 k) |
| 76 | have hx (k : Axis) : fderiv ℝ (readable (basin R b i) ∘ axes) 0 (Pi.single k 1)=0 := by |
| 77 | have ht := (vertical_moment he h.width k).2 |
| 78 | rw [show ∑' x, basin R b i x*_=0 from H k,Complex.ofReal_zero,zero_mul] at ht |
| 79 | exact (Push.side _ hy.differentiableAt _).unique ht |
| 80 | refine (rays_jet hy 2).2 fun k hk => ?_ |
| 81 | interval_cases k |
| 82 | · ext1 v; simp [Function.comp_apply,readable,Laurent.read, ← Complex.ofReal_tsum,show (∑' x,basin R b i x)=0 from hz0] |
| 83 | ext1 v; simp only [iteratedFDeriv_one_apply]; rw [show v 0=∑ i : Axis,(v 0 i) • Pi.single i (1:ℝ) by |
| 84 | funext i; simp [Finset.sum_apply,Pi.single_apply,mul_ite], map_sum]; simp [hx] |
| 85 | end group |
| 86 | |
| 87 | section fees |
| 88 | variable (R : PathData G) |
| 89 | def tendInk : Picture G 1 := fun i b p => ∑ x : CurRun 2, symbol 1 (-(axisPair p)) (x 0) (b 0) * |
| 90 | symbol 1 (axisPair p) (x 1) (b 1) * readable (basin R x i) (axisPair p) |
| 91 | |
| 92 | variable {p : Clip} (h : R.Bounds p σ A Λ) |
| 93 | include h |
| 94 | |
| 95 | lemma stem (a : CurRun 2) (v : Ink G 2) (P : Momentum) (hP : star P=P) : |
| 96 | HasSum (fun x : ℕ => mode P (wedgePlace R x) * ↑(coreRate R a v x)) (readable (basin R a v) P) := by |
| 97 | let f x := mode P (wedgePlace R x) * ↑(coreRate R a v x) |
| 98 | have ht : Summable f := by |
| 99 | refine Summable.of_norm ?_ |
| 100 | simp only [f,norm_mul,mode_real _ _ hP,one_mul,Complex.norm_real] |
| 101 | exact (h.loopTerms _ v).1.norm |
| 102 | have he := ht.hasSum.tsum_fiberwise (wedgePlace R) |
| 103 | simp_rw [f,show ∀ x (b : wedgePlace R ⁻¹' {x}),wedgePlace R b=x from fun _ b => b.property, |
| 104 | tsum_mul_left,← Complex.ofReal_tsum] at he |
| 105 | rw [show readable (basin R a v) P = ∑' i,f i from he.tsum_eq]; exact ht.hasSum |
| 106 | |
| 107 | private lemma bit (x : Fin 2→Site m) (hx : ∑ i,x i=0) (i : Ink G 2) (b : Run 2) (n : ℕ) : |
| 108 | enlarge (inkNote 0 (R.loop n)).toMultilinearMap (glyph x i b) = |
| 109 | ∑ a : CurRun 2, symbol 1 (-mon (x 1)) (a 0) (b 0) * |
| 110 | symbol 1 (mon (x 1)) (a 1) (b 1) * (mode (mon (x 1)) (wedgePlace R n)*(coreRate R a i n:ℂ)) := by |
| 111 | let q := fun i : Fin 2 => plaquette (((R.loop n).leg i).plaq) |
| 112 | simp_rw [core_zero]; change _=∑ a : CurRun 2, _*(_*((if a=q then _ else 0:ℝ):ℂ)) |
| 113 | rw [Finset.sum_eq_single q]; rotate_left |
| 114 | · intro a _ ha; simp [ha] |
| 115 | · simp |
| 116 | simp only [if_true] |
| 117 | have he := ties hx 0 |
| 118 | have hs : plotted (outphase x) 0= -mon (x 1) := by simp [plotted,missing]; rfl |
| 119 | rw [hs] at he |
| 120 | have H x' := he.exp x' |
| 121 | rw [ink_atom_wave (t:=1), show (∏ j : Fin (1+1), cell (x j) _ * symbol _ _ _ _) = _ from Fin.prod_univ_two _]; simp only [ add_zero,cell_wrap, |
| 122 | ← H, ← rolls_symbol he,mode_inverse,wedgePlace,sub_eq_add_neg,mode_shift,mode_opposite] |
| 123 | unfold q; ring |
| 124 | |
| 125 | lemma recoup_core (x : Fin 2→Site m) (i b) : enlarge (volumeInk m R.loop).toMultilinearMap (glyph x i b) = |
| 126 | collected (tendInk R) x i b := by |
| 127 | rw [volume_wave R.loop h.width h.two, collected]; split; swap; rfl |
| 128 | rename_i hx |
| 129 | congr 1; unfold tendInk; rw [show axisPair (outphase x)=mon (x 1) from rfl] |
| 130 | have hm (a : CurRun 2) := stem R h a i (mon (x 1)) (real_frequency _) |
| 131 | let k (a : CurRun 2) := symbol 1 (-mon (x 1)) (a 0) (b 0) *symbol 1 (mon (x 1)) (a 1) (b 1) |
| 132 | have ht (a : CurRun 2) := (hm a).mul_left (k a) |
| 133 | simp_rw [bit R h x hx] |
| 134 | exact (hasSum_sum (fun i _ => ht i)).tsum_eq |
| 135 | |
| 136 | def inheritRate (σ : ℝ) := (Fintype.card (CurRun 2):ℝ) * (4*(Real.exp σ + 1))^2 |
| 137 | lemma ink_exports (i : Ink G 2) b : Firm σ (Λ*inheritRate σ) (tendInk R i b) ∧ Rays 4 ((tendInk R i b) ∘ axes) := by |
| 138 | let d := 4*(Real.exp σ+1) |
| 139 | have he (a) := fillTank R a i h |
| 140 | have hA x : Firm σ Λ (fun p => readable (basin R x i) (axisPair p)) := by |
| 141 | exact pair_firm ((Firm.of_series (f:=fun y => (basin R x i y:ℂ)) (by simpa only [Width,Complex.norm_real] using he x) h.width)) |
| 142 | have hP a b : Firm σ d (fun p : Momentum => symbol 1 p a b) := strip_symbol (Function.Embedding.refl Axis) h.width a b |
| 143 | constructor |
| 144 | · unfold tendInk; convert Firm.sum univ _ _ h.width (fun (x : CurRun 2) _ => (((pair_firm (anti_ancestral (hP (x 0) (b 0)))).mul |
| 145 | (pair_firm (hP (x 1) (b 1)))).mul (hA x))) using 1 |
| 146 | unfold inheritRate; simp; unfold d; ring |
| 147 | unfold tendInk Function.comp; apply rays_total; intro x |
| 148 | have hp : Rays 1 (fun p => symbol 1 (-axisPair (axes p)) (x 0) (b 0)) := by |
| 149 | intro p; have ht := ray_symbol (Embedding.refl Axis) (x 0) (b 0) (-(p ∘ stick 0)) |
| 150 | simp_rw [smul_neg,axes_flip] at ht; exact ht |
| 151 | have hx : Rays 1 (fun p => symbol 1 (axisPair (axes p)) (x 1) (b 1)) := by |
| 152 | intro p; exact ray_symbol (stick 0) (x 1) (b 1) p |
| 153 | exact (hp.mul hx).mul (show Rays 2 (fun p => readable (basin R x i) (axisPair (axes p))) from fun p => basin_origin R x i h (p ∘ stick 0)) |
| 154 | end fees |
| 155 | end YM.Stationary |
| 156 | end |
| 157 | |
| 158 | /-! # Exact inheritance on all periods before pulling the stationary array. -/ |
| 159 | noncomputable section |
| 160 | namespace YM.Stationary |
| 161 | open Function Filter Finset Asymptotics Laurent Lattice Exterior Bloch Precision RG Wilson |
| 162 | open Matrix (transpose mulVec of) |
| 163 | open scoped Matrix Topology ContDiff BigOperators NNReal Matrix.Norms.Frobenius |
| 164 | variable {G : Gauge} {m : Side} {σ A Λ : ℝ} |
| 165 | |
| 166 | section perm |
| 167 | |
| 168 | def twain (d : Equiv.Perm (Fin 2)) (p : Space 1) : Space 1 := fun i => plotted p (d i.1.succ) i.2 |
| 169 | lemma twained (d : Equiv.Perm (Fin 2)) : twain d = (fun p => p) ∨ twain d=(fun p => -p) := by |
| 170 | have he (p : Space 1) : plotted p 0 = -projected (stick 0) p := by simp [plotted,missing]; rfl |
| 171 | have h : d 1=1 ∨ d 1=0 := by omega |
| 172 | rcases h with h|h |
| 173 | · left; funext p ⟨j,i⟩; have hj : j=0 := Subsingleton.elim .. |
| 174 | rw [twain,hj,show (0:Fin 1).succ=1 from rfl, h]; rfl |
| 175 | right; funext p ⟨j,i⟩; have hj : j=0 := Subsingleton.elim .. |
| 176 | rw [twain,hj,show (0:Fin 1).succ=1 from rfl,h,he]; rfl |
| 177 | end perm |
| 178 | variable (R : PathData G) |
| 179 | |
| 180 | def sortedIn (d : Equiv.Perm (Fin 2)) : Picture G 1 := fun i j p => tendInk R (i ∘ d) (j ∘ d) (twain d p) |
| 181 | def orderedInk : Picture G 1 := fun i j p => (2:ℂ)⁻¹ * ∑ d : Equiv.Perm (Fin 2), sortedIn R d i j p |
| 182 | |
| 183 | def filing : Picture G 1 := bleed (orderedInk R) |
| 184 | variable {p : Clip} (h : R.Bounds p σ A Λ) |
| 185 | include h |
| 186 | |
| 187 | lemma sorted_fee (d : Equiv.Perm (Fin 2)) (i j) : Firm σ (Λ*inheritRate σ) (sortedIn R d i j) ∧ Rays 4 ((sortedIn R d i j) ∘ axes) := by |
| 188 | have he := ink_exports R h (i ∘ d) (j ∘ d) |
| 189 | unfold sortedIn; rcases twained d with ht|ht <;> rw [ht] |
| 190 | · exact he |
| 191 | refine ⟨anti_ancestral he.1,fun p => ?_⟩ |
| 192 | have hh := he.2 (-p) |
| 193 | simp_rw [Function.comp_apply,smul_neg,axes_flip] at hh; exact hh |
| 194 | lemma ordered_cost (i j) : Firm σ (Λ*inheritRate σ) (orderedInk R i j) ∧ Rays 4 ((orderedInk R i j) ∘ axes) := by |
| 195 | have he d := sorted_fee R h d i j |
| 196 | constructor |
| 197 | · unfold orderedInk |
| 198 | convert (Firm.const h.width (_:ℂ)).mul (Firm.sum Finset.univ _ _ h.width (fun d _ => (he d).1)) using 1 |
| 199 | norm_num [Fintype.card_perm, Nat.factorial]; ring |
| 200 | intro v |
| 201 | exact ((rays_total (fun x => (he x).2) v).const_mul_left _) |
| 202 | |
| 203 | lemma sort_record (x : Fin (1+1)→Site m) (i : Ink G 2) (b : Run 2) (d : Equiv.Perm (Fin 2)) : |
| 204 | enlarge (volumeInk m R.loop).toMultilinearMap (glyph x i b ∘ d) = collected (sortedIn R d) x i b := by |
| 205 | rw [show glyph x i b ∘ ⇑d=glyph (x ∘ d) (i ∘ d) (b ∘ d) from rfl,recoup_core R h] |
| 206 | unfold collected sortedIn; rw [show ∑ j,(x ∘ d) j=∑ j,x j from Equiv.sum_comp d _] |
| 207 | split; next hv => |
| 208 | congr 1 |
| 209 | have hp : rolls (outphase (x ∘ d)) (twain d (outphase x)) := rolls_keys (fun j => (ties hv (d j.succ)).symm) |
| 210 | have hh := (ink_exports R h (i ∘ d) (b ∘ d)).1 |
| 211 | exact hp.apply hh (hh.in_range (out_real (x ∘ d))) |
| 212 | rfl |
| 213 | lemma sort_coins : Recorded (orderedInk R) (seriesScore m R.loop) 0 := by |
| 214 | apply (record_exact ..).2 |
| 215 | intro p i b |
| 216 | rw [ink_beat m R.loop h.width h.two]; norm_num only [show (1+1:ℕ)=2 from rfl, Nat.factorial] |
| 217 | simp_rw [sort_record R h]; unfold collected orderedInk; split <;> simp [mul_left_comm,Finset.mul_sum] |
| 218 | lemma filing_aux (i j) : Rays 4 ((filing R i j) ∘ axes) := by |
| 219 | intro p |
| 220 | unfold filing bleed Function.comp; refine IsBigO.const_mul_left ?_ _ |
| 221 | apply Asymptotics.IsBigO.sum |
| 222 | intro s _; unfold rotPix; dsimp only |
| 223 | let r := s.perm.symm ∘ axisEquiv.symm ∘ j |
| 224 | have ht : Firm σ _ _ := firmProd Finset.univ _ _ h.width (fun k _ => reflect_firm s h.width k (r k)) |
| 225 | have hh := rays_zero (ht.analytic_real 0) |
| 226 | exact hh.mul (rotjet s (ordered_cost R h i _).2) p |
| 227 | |
| 228 | /-- Linear budget in input norm. External kernel already vanishes to |
| 229 | order four; after evaluation on the A columns have to propagate this |
| 230 | order even on high parts. -/ |
| 231 | theorem filing_ready : (∀ i j, Firm σ (Λ*(reflectBill 1 σ*inheritRate σ)) (filing R i j) ∧ Rays 4 ((filing R i j) ∘ axes)) ∧ ∀ m : Side, Recorded (filing R) (turnSeries (m:=m) R.loop) 0 := by |
| 232 | refine ⟨fun i j => ⟨?_,filing_aux R h _ _⟩,fun m => ?_⟩ |
| 233 | · rw [mul_left_comm]; exact bleed_cap h.width (fun i j => (ordered_cost R h i j).1) _ _ |
| 234 | rw [funext (turns_frame R.loop)]; exact bleed_record (score_analytic m R.loop h.width h.two) (fun i j => (ordered_cost R h i j).1) (sort_coins R h) |
| 235 | end YM.Stationary |
| 236 | end |
| 237 | |
| 238 | /-! |
| 239 | # Launch: the *actual* Wilson jet at the top of every ancestry |
| 240 | -/ |
| 241 | noncomputable section |
| 242 | namespace YM.Stationary |
| 243 | open Function Lattice RG Exterior Wilson Precision Bloch Laurent Filter Finset Asymptotics Metric |
| 244 | open Matrix (transpose mulVec of) |
| 245 | open scoped Matrix Topology ContDiff BigOperators NNReal Matrix.Norms.Frobenius InnerProductSpace |
| 246 | variable {G : Gauge} {m : Side} {σ A R Λ : ℝ} {n t : ℕ} |
| 247 | |
| 248 | lemma strain (p : Clip) (X : PathData G) (h : X.Bounds p σ A Λ) : Pointwise (intended p X (m:=m)) := by |
| 249 | have he := fun i => h.invariant i |
| 250 | rw [intent] |
| 251 | exact ((stain_knit X p h).add (stain_ink _ h.width h.three (fun i => (he i).2.1))).add |
| 252 | (stain_ink _ h.width h.four (fun i => (he i).2.2)) |
| 253 | |
| 254 | lemma matched {p q : fieldDir G m 1 → ℝ} {n : ℕ} (hp : AnalyticAt ℝ (p ∘ (arm G m 1)) 0) (hq : AnalyticAt ℝ (q ∘ (arm G m 1)) 0) (h : Rays n ((p ∘ (arm G m 1))-(q ∘ (arm G m 1)))) (i : ℕ) (he : i<n) : SameJet i p q := by |
| 255 | have heq (F : fieldDir G m 1 → ℝ) (ht : AnalyticAt ℝ (F ∘ arm G m 1) 0) : ContDiffAt ℝ ω F 0 := by |
| 256 | have hh := (show AnalyticAt ℝ (F ∘ arm G m 1) ((arm G m 1).symm 0) by rw [map_zero]; exact ht).comp ((arm G m 1).symm.analyticAt 0) |
| 257 | simpa only [Function.comp_def, (arm G m 1).apply_symm_apply] using hh.contDiffAt (n:=ω) |
| 258 | have hh := (rays_jet (hp.sub hq) n).1 h i he |
| 259 | rw [iteratedFDeriv_sub_apply hp.contDiffAt hq.contDiffAt] at hh |
| 260 | exact ⟨heq p hp, heq q hq, inverts G _ p q _ (heq p hp) (heq q hq) (sub_eq_zero.mp hh)⟩ |
| 261 | |
| 262 | lemma freeLoop {B : Bed} (X : PathData G) (h : X.loop=(blank B G).loop) (i) : (X.loop i).coeff=0 := by rw [h]; exact blank_loop .. |
| 263 | |
| 264 | /-- Builds the top path and **all** its periodic comparisons with the Wilson |
| 265 | energy required by `peak`. Λ arbitrary for the stamp; period family cofinal |
| 266 | as used by any Gentle schedule. Row bank fixed by `A` and independent of cost |
| 267 | of the nonlinear corrections. Requires genuine data on the input Bed for every |
| 268 | large-volume tester. |
| 269 | -/ |
| 270 | theorem launch (G : Gauge) (σ₀ A Z : ℝ) (hσ : 0 < σ₀) (hz : 0≤Z) : |
| 271 | ∃ σ C : ℝ, 0 < σ ∧ σ≤σ₀ ∧ 0≤C ∧ |
| 272 | ∀ m : ℕ→Side, Tendsto (fun i => (m i).val) atTop atTop → |
| 273 | ∀ (p : Clip) (B : Bed) (a b : ℝ), p.direct ≤ Z → B.roots.strip σ₀ A → (∀ i : Side, Floor B p i a b) → |
| 274 | (∀ i, Bid.Sworn B (m i) G) → (∀ i, B.diagonal.acts (m i)=1) → |
| 275 | ∃ Q : PathData G, Q.row=rowPath B ∧ Attached B Q ∧ |
| 276 | (∀ i, (Q.loop i).coeff=0) ∧ (∀ τ k Λ, 0<τ → τ≤σ → C≤k → rowPrice σ₀ A ≤ k → 0≤Λ → Q.Bounds p τ k Λ) ∧ |
| 277 | ∀ i j, j ≤ 4 → SameJet j (fun x => mainTerm p Q (represent (x:fieldDir G (m i) 1))) (fun x => Wilson.energy (represent x)) := by |
| 278 | obtain ⟨h,C,yC,L,hL,Y⟩ := Wilson_stream G 2 |
| 279 | obtain ⟨w,B,hB,V,hV,Z'⟩ := Wilson_stream G 3 |
| 280 | let M := 1+C+B |
| 281 | have hy : 1≤M := le_add_of_nonneg_right hB |>.trans' (le_add_of_nonneg_right yC) |
| 282 | obtain ⟨τ,K,hτ,_,hK,H⟩ := assembly G 1 σ₀ A Z one_pos hσ hz |
| 283 | refine ⟨min τ σ₀,M*K, lt_min hτ hσ,min_le_right .., mul_nonneg (le_trans zero_le_one hy) hK,fun m hm p D a b hp hD hF hz hx => ?_⟩ |
| 284 | have hl i : Rays 3 (WilsonQ G (m i) - inputSeries p (blank D G)) := top_Wilson (blank_cap hσ hD (hF 1) (Ω:=A) le_rfl (Λ:=0) le_rfl) (rows_layout rfl) (hF _) (hz i) (hx i) |
| 285 | let E i := WilsonQ G (m i) |
| 286 | have he : HasRecord E 1 C 2 := ⟨L,hL,fun i => Y _⟩ |
| 287 | have hu : HasRecord E 1 B 3 := ⟨V,hV,fun i => Z' _⟩ |
| 288 | obtain ⟨X,O,HA,Hb,Hi⟩ := H m hm D p a b hD (hF 1) hp E (fun i => Wilson_witness) hl _ hy (he.mono one_pos le_rfl (by unfold M; linarith)) (hu.mono one_pos le_rfl (by unfold M; linarith)) |
| 289 | let Q := emitBase G D (blank D G).loop X O |
| 290 | have hq : Q.loop=(blank D G).loop := rfl |
| 291 | have HH s k Λ (hh : 0<s) (hs : s ≤ min τ σ₀) (he : M*K ≤ k) (hb : rowPrice σ₀ A ≤ k) (hx : 0 ≤ Λ) : Q.Bounds p s k Λ := by |
| 292 | let R := blank D G |
| 293 | have h1 := HA.mono (hs.trans (min_le_left ..)) he; have h2 := Hb.mono (hs.trans (min_le_left ..)) he |
| 294 | -- retarget price via exp4 monotonic using A>0 from actual rows |
| 295 | have ht : 0≤A := by |
| 296 | let P : PlaqAxes := ⟨(0,1),by decide⟩ |
| 297 | have hm := hD (plaquette P) (plaquette P) |
| 298 | exact (tsum_nonneg hm.1).trans hm.2.2 |
| 299 | have hS : s≤σ₀ := hs.trans (min_le_right ..) |
| 300 | have hR : R.Bounds p s k Λ := blank_cap hh (fun i j => (hD i j).mono hS le_rfl) (hF 1) (le_trans (show rowPrice s A ≤ rowPrice σ₀ A by unfold rowPrice; gcongr) hb) hx |
| 301 | exact ⟨hh,hR.rows,hR.two,h1.1,h2.1,fun i => ⟨(hR.invariant i).1,HA.2 _, Hb.2 _⟩,hR.symTerms,hR.metric,hR.loopTerms,hR.loop_normal⟩ |
| 302 | have ht := HH (min τ σ₀) (max (M*K) (rowPrice σ₀ A)) 0 (lt_min hτ hσ) le_rfl (le_max_left ..) (le_max_right ..) le_rfl |
| 303 | refine ⟨Q,rfl,rows_layout rfl,freeLoop Q hq,HH,fun i j hj => ?_⟩ |
| 304 | obtain ⟨h1,h2,h3⟩ := matched (p:=fun x : fieldDir G (m i) 1 => Wilson.energy (represent x)) (q:=fun x => mainTerm p Q (represent x)) (h _) (strain _ Q ht).analytic (Hi ((blank D G).loop) i) j (by omega) |
| 305 | exact ⟨h2,h1,h3.symm⟩ |
| 306 | end YM.Stationary |
| 307 | end |
| 308 | |
| 309 | /-! |
| 310 | # Assemble BEAT powers from classical soft kernels. Arbitrary PathData (not |
| 311 | assuming any fixed root path choices), coupons supplied at τ. Gain from |
| 312 | comparison with Wilson, using symmetry of H on one-cochain channel |
| 313 | and the zeroth jet H2-cost. -/ |
| 314 | noncomputable section |
| 315 | namespace YM.Stationary |
| 316 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 317 | open scoped Topology ContDiff BigOperators |
| 318 | variable {G : Gauge} {P : Patch} {t n u : ℕ} {c f L : Side} {σ A C D w η : ℝ} {p : Clip} {R : PathData G} |
| 319 | |
| 320 | abbrev ageCore (p : Clip) (R : PathData G) (m : ℕ→ Side) (i) := inputSeries p R (m:=m i) |
| 321 | def cureCore (R : PathData G) (m : ℕ→Side) (i) := turnSeries R.cubic (m:=m i)+turnSeries R.quartic |
| 322 | lemma intent_bound (p : Clip) (R : PathData G) (m : ℕ → Side) : (fun i=> intended p R (m:=m i))=ageCore p R m + cureCore R m := by |
| 323 | funext i; rw [Pi.add_apply,intent]; unfold ageCore cureCore; abel |
| 324 | lemma cures (m : ℕ → Side) (h : R.Bounds p σ C D) (i) : Pointwise (cureCore R m i) ∧ Rays 3 (cureCore R m i) := by |
| 325 | exact ⟨(stain_ink _ h.width h.three (fun i => (h.invariant i).2.1)).add (stain_ink _ h.width h.four (fun i => (h.invariant i).2.2)),(turns_low R.cubic h.width h.three).add ((turns_low R.quartic h.width h.four).weaker (by decide : 3≤4))⟩ |
| 326 | |
| 327 | section m |
| 328 | variable {m : ℕ → Side} {U V : ∀ i,Link G (m i)→ℝ} |
| 329 | lemma Drinkable.thins (h : Drinkable t m U n σ A) (hw : 0<η) (he : η≤σ) (hc : A≤C) (hk : u≤n) : Drinkable t m U u η C := by |
| 330 | obtain ⟨Q,h,H⟩ := h; exact ⟨Q,h,fun i j => ⟨(H i j).1.mono hw he hc,(H i j).2.weaker hk⟩⟩ |
| 331 | lemma Drinkable.more (h : Drinkable t m U n σ A) (hv : Drinkable t m V n σ C) (hf : ∀ i,AnalyticAt ℝ (U i) 0) (hh : ∀ i,AnalyticAt ℝ (V i) 0) : Drinkable t m (U+V) n σ (A+C) := by |
| 332 | obtain ⟨Q,h,H⟩ := h; obtain ⟨D,hD,HD⟩ := hv |
| 333 | exact ⟨Q+D,fun i => (h i).both (hf i) (hh i) (hD i),fun i j => ⟨(H i j).1.add (HD i j).1,(H i j).2.add (HD i j).2⟩⟩ |
| 334 | lemma wannabe (_ : ∀ i,AnalyticAt ℝ (U i) 0) (hv : ∀ i,iteratedFDeriv ℝ (t+1) (U i) 0=0) (hs : 0<σ) (hc : 0≤C) : Drinkable t m U u σ C := by |
| 335 | refine ⟨0,fun i p a b=> ?_,fun i j => ⟨(Firm.zero hs).mono hs le_rfl hc,fun p => isBigO_zero ..⟩⟩ |
| 336 | unfold noteAt beat collected; rw [hv i, enlarge]; split <;> simp [recording_apply] |
| 337 | |
| 338 | |
| 339 | lemma pact {B : Bed} {x y : ℝ} (hp : R.Bounds p σ C D) (he : Attached B R) (hf : ∀ i, Floor B p (m i) x y) (hx : ∀ i,Bid.Sworn B (m i) G) (i : ℕ) : fderiv ℝ (intended p R) (0:Link G (m i))=0 := by |
| 340 | have hL := intent_bound p R m |
| 341 | rw [show intended p R (m:=_) = ageCore p R m i+cureCore R m i from congr_fun hL i] |
| 342 | have ha := (stain_knit R p hp (m:=m i)).analytic |
| 343 | obtain ⟨hV,hW⟩ := cures m hp i |
| 344 | rw [fderiv_add ha.differentiableAt hV.analytic.differentiableAt,(show fderiv ℝ (ageCore p R m i) (0:Link G (m i))=0 from (low_columns hp he (hf i) (hx i)).2.1),zero_add] |
| 345 | have he := (rays_jet hV.analytic 3).1 hW 1 (by decide) |
| 346 | ext1 u; have hv := DFunLike.congr_fun he ![u]; simpa [iteratedFDeriv_one_apply] using hv |
| 347 | end m |
| 348 | |
| 349 | theorem veneer (G : Gauge) (σ : ℝ) (hs : 0<σ) : |
| 350 | ∃ η B, 0<η ∧ 0≤B ∧ ∀ (m : ℕ→Side), Tendsto (fun i => (m i).val) atTop atTop → |
| 351 | ∀ (p : Clip) (R : PathData G) (A C : ℝ), 0≤ A → R.Bounds p σ A C → |
| 352 | ∀ i, i>0 → i≤3 → Drinkable i m (cureCore R m) (4-i) η (A*B) := by |
| 353 | obtain ⟨x,K,hx,hk,E⟩ := extra_curves G σ hs; refine ⟨x,K,hx,hk,fun m hm p R A C hA hY i he hi => ?_⟩ |
| 354 | obtain ⟨L,M,hy,hv,H⟩ := E m hm R.cubic R.quartic A hA ⟨hY.three,fun i=> (hY.invariant i).2.1⟩ ⟨hY.four,fun i=> (hY.invariant i).2.2⟩ |
| 355 | interval_cases i |
| 356 | · exact wannabe (fun i=> (cures m hY i).1.analytic) (fun i=> (rays_jet (cures m hY i).1.analytic 3).1 (cures m hY i).2 (1+1) (by decide)) hx (mul_nonneg hA hk) |
| 357 | · exact ⟨L,fun i=> (H i).1, hy⟩ |
| 358 | exact ⟨M,fun i=> (H i).2, hv⟩ |
| 359 | |
| 360 | -- Weighted cost of the propagated vacuum step on an ARBITRARY PathData |
| 361 | -- with Bounds. Compare Wilson before any gauge charts. Uses fder=0 from |
| 362 | -- symmetries of the local unmasked terms. |
| 363 | lemma greyson (G : Gauge) (σ ε C Z τ A : ℝ) (hs : 0<σ) (hC : 0≤C) (hZ : 0≤Z) (hτ : 0<τ) (hA : 0≤A) : ∃ s M,0<s ∧ 0≤M ∧ ∀ (m : ℕ→ Side), Tendsto (fun i => (m i).val) atTop atTop → ∀ (B : Bed) (p : Clip) (R : PathData G) Λ, R.Bounds p τ A Λ → Attached B R → B.metric.strip σ C → p.direct ≤ Z → (∀ n,Floor B p n ε C) → (∀ i,Bid.Sworn B (m i) G) → |
| 364 | ∀ i, i>0 → i≤3 → Drinkable i m (fun i => intended (m:=m i) p R-WilsonQ G (m i)) (4-i) s M := by |
| 365 | obtain ⟨w,P,hp,hq,L⟩ := column_price G 2 A Z hτ hZ |
| 366 | obtain ⟨v,T,hv,hk,U⟩ := column_price G 3 A Z hτ hZ |
| 367 | obtain ⟨hk',x,hx,H,h,H₀⟩ := Wilson_stream G 2 |
| 368 | obtain ⟨hq',y,hy,V,hV,H₁⟩ := Wilson_stream G 3 |
| 369 | obtain ⟨u,W,hu,hW,X⟩ := veneer G τ hτ |
| 370 | let d := min w v; let e := min σ 1 |
| 371 | let a := min d e |
| 372 | have hd : 0<d := lt_min hp hv |
| 373 | have he : 0<e := lt_min hs zero_lt_one |
| 374 | have ha : 0<a := lt_min hd he |
| 375 | let b := bedCharge σ C+ bedCharge σ 1 |
| 376 | let g := b+P+T+x+y |
| 377 | have hb : 0≤ b := add_nonneg (bedCharge_nonneg hC) (bedCharge_nonneg zero_le_one) |
| 378 | have hg : 0≤g := by unfold g; positivity |
| 379 | let s := min a u |
| 380 | have ht : 0<s := lt_min ha hu |
| 381 | refine ⟨s,g+A*W,ht,add_nonneg hg (mul_nonneg hA hW),fun m hm B p R Λ hR hB hw hY hh hj k hN hM => ?_⟩ |
| 382 | -- f=raw minus Wilson (Log not Dough) |
| 383 | have hk : BankRows R τ A := hR.rows |
| 384 | obtain ⟨hL,l,hl,l'⟩ := L p R _ _ _ hY hR hk |
| 385 | obtain ⟨hT,j,hj',j'⟩ := U p R _ _ _ hY hR hk |
| 386 | let F i := inputSeries (m:=m i) p R-WilsonQ G (m i) |
| 387 | have ht' i : Pointwise (inputSeries p R (m:=m i)) := stain_knit R p hR |
| 388 | have hf i : Pointwise (F i) := (ht' i).sub Wilson_witness |
| 389 | have hu₀ := (whites_on_K hR hB hw hs (fun i=> hh (m i)) hj (F:=ageCore p R m) (fun _=>rfl)).2 |
| 390 | have he (i j') : Firm a g ((l-H) i j') := (((hl i j').mono ha ((min_le_left ..).trans (min_le_left ..)) le_rfl).sub ((h i j').mono ha ((min_le_right ..).trans (min_le_right ..)) le_rfl)).mono ha le_rfl (by unfold g; linarith) |
| 391 | have hE (i k') : Firm a g ((j-V) i k') := (((hj' i k').mono ha ((min_le_left ..).trans (min_le_right ..)) le_rfl).sub ((hV i k').mono ha ((min_le_right ..).trans (min_le_right ..)) le_rfl)).mono ha le_rfl (by unfold g; linarith) |
| 392 | have hr i : Recorded (l-H) (F i) 0 := (l' (m i)).less (ht' i).analytic (hk' (m i)) (H₀ (m i)) |
| 393 | have hr' i : Recorded (j-V) (F i) 0 := (j' (m i)).less (ht' i).analytic (hq' (m i)) (H₁ (m i)) |
| 394 | obtain ⟨hQ,hQ'⟩ := pure_grey hm hf (fun i => (show fderiv ℝ (F i) 0=0 by unfold F; rw [fderiv_sub (ht' i).analytic.differentiableAt (hk' _).differentiableAt,(low_columns hR hB (hh (m i)) (hj i)).2.1,(outright G _).2.1,sub_self])) hu₀ (l-H) (j-V) he hr hE hr' |
| 395 | have h₀ (k) (hN : 0<k) (hM : k≤3) : Drinkable k m F (4-k) a g := by |
| 396 | interval_cases k |
| 397 | · refine ⟨slots B.metric G-slots leader G,fun i=> (according (B.metric.rights _ _ hw hs.le) (low_columns hR hB (hh (m i)) (hj i)).2.2).less (ht' i).analytic Wilson_witness.analytic (outright G (m i)).2.2,fun i j => ⟨?_,slots_gain hs hw (hh 1).starts i j⟩⟩ |
| 398 | apply ((slots_cost hs hw i j).sub (slots_cost hs (leader_pay σ) i j)).mono ha ((min_le_right ..).trans (min_le_left ..)); show b≤g; unfold g; linarith |
| 399 | · exact ⟨_,hr,fun i j=> ⟨he i j,hQ i j⟩ ⟩ |
| 400 | exact ⟨_,hr',fun i j => ⟨hE i j,hQ' i j⟩ ⟩ |
| 401 | have hW i : intended (m:=m i) p R-WilsonQ G (m i)=(F+cureCore R m) i := by |
| 402 | rw [show intended (m:=m i) p R=ageCore p R m i+cureCore R m i from congr_fun (intent_bound p R m) i]; change inputSeries _ _+_ - _ = (inputSeries _ _-_)+_; abel |
| 403 | rw [show (fun i=> intended (m:=m i) p R-WilsonQ G (m i))=F+cureCore R m from funext hW]; exact ((h₀ k hN hM).thins ht (min_le_left ..) le_rfl le_rfl).more ((X m hm p R A Λ hA hR k hN hM).thins ht (min_le_right ..) le_rfl le_rfl) (fun i=> (hf i).analytic) (fun i=> (cures m hR i).1.analytic) |
| 404 | |
| 405 | -- Wilson's head alone can be charged independently of the tick paths. |
| 406 | -- Order of notation: joint `t+1` waves, derivative divided by (t+1)!, |
| 407 | -- explicit analytic continuation. |
| 408 | lemma whiteWilson (G : Gauge) : ∃ B:ℝ,0≤B ∧ ∀ (m : ℕ→Side), Tendsto (fun i=> (m i).val) atTop atTop → ∀ k, k>0 → k≤3 → Drinkable k m (fun i => WilsonQ G (m i)) (3-k) 1 B := by |
| 409 | obtain ⟨hV,Y,hY,F,h,H⟩ := Wilson_stream G 2 |
| 410 | obtain ⟨_,Z,hZ,K,hK,hU⟩ := Wilson_stream G 3 |
| 411 | let D := bedCharge 1 1 |
| 412 | have h₁ : (0:ℝ)<1 := zero_lt_one |
| 413 | have hd : 0≤D := bedCharge_nonneg (le_of_lt h₁) |
| 414 | refine ⟨D+Y+Z,by positivity,fun m hm k hk he => ?_⟩ |
| 415 | let V i := WilsonQ G (m i) |
| 416 | have hx : Drinkable 1 m V 2 1 D := ⟨slots leader G,fun i=> (outright G _).2.2,fun i j=> ⟨slots_cost h₁ (leader_pay 1) i j,bed_rays h₁ (leader_pay 1) i j⟩⟩ |
| 417 | interval_cases k |
| 418 | · exact hx.thins h₁ le_rfl (by linarith) (by decide) |
| 419 | · have hf : LawfulSum 2 m V 1 := by |
| 420 | rcases hx with ⟨x,y,Y⟩; exact ⟨x,⟨1,D,fun i j=> (Y i j).1⟩,y,fun i j=> (Y i j).2⟩ |
| 421 | exact ⟨F,fun i=>H _,fun i j=> ⟨(h i j).mono h₁ le_rfl (by linarith),pure_white hm (fun i=> Wilson_witness) (fun i=> (outright G _).2.1) hf _ h (fun _=>H _) i j⟩⟩ |
| 422 | exact ⟨K,fun i=> hU _,fun i j=> ⟨(hK i j).mono h₁ le_rfl (by linarith),rays_zero ((hK i j).analytic_real 0)⟩⟩ |
| 423 | |
| 424 | end YM.Stationary |
| 425 | end |