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.Films.LeadingRay |
| 2 | import YM.Next.STATIONARY.OneLoop.Lattice |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | /-! |
| 6 | # Plane Wilson ops. Compact identities for jets of the actual square. |
| 7 | Includes constants for cost to use before small-L. -/ |
| 8 | noncomputable section |
| 9 | namespace YM.Stationary |
| 10 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 11 | open scoped Topology ContDiff BigOperators |
| 12 | variable {α β : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] {G : Gauge} {m : Side} {n : ℕ} |
| 13 | /- upsurge adapts the ordered-partition simplification in Mathlib's iteratedDerivWithin_vcomp_three to Wilson jets. Copyright (c) 2025 Yury Kudryashov. All rights reserved. Apache-2.0. See NOTICE. -/ |
| 14 | section three |
| 15 | set_option backward.defeqAttrib.useBackward true in |
| 16 | set_option backward.isDefEq.respectTransparency false in |
| 17 | lemma upsurge (f : Corn α → Corn β) (g : Corn β→ℝ) (hf : AnalyticAt ℝ f 0) (hg : AnalyticAt ℝ g (f 0)) (v x y : Phase α) : beat (g ∘ f) 0 3 ![v,x,y]= beat g (f 0) 3 ![cluster f 0 1 ![v],cluster f 0 1 ![x],cluster f 0 1 ![y]]+ (beat g (f 0) 2 ![cluster f 0 2 ![v,x],cluster f 0 1 ![y]] + beat g (f 0) 2 ![cluster f 0 1 ![x],cluster f 0 2 ![v,y]]) + (beat g (f 0) 2 ![cluster f 0 1 ![v],cluster f 0 2 ![x,y]] + beat g (f 0) 1 ![cluster f 0 3 ![v,x,y]]) := by |
| 18 | let T : Fin 3→Phase α := ![v,x,y] |
| 19 | rw [chain_eval f g 0 hf hg] |
| 20 | simp only [← (OrderedFinpartition.extendEquiv 1).sum_comp, |
| 21 | ← (OrderedFinpartition.extendEquiv 2).sum_comp, Fintype.sum_sigma, |
| 22 | Fintype.sum_option, Nat.reduceAdd, OrderedFinpartition.extendEquiv_apply, |
| 23 | OrderedFinpartition.extend_none, OrderedFinpartition.extend_some, |
| 24 | OrderedFinpartition.extendMiddle_length, OrderedFinpartition.default_eq, Fintype.sum_unique, |
| 25 | OrderedFinpartition.atomic_length, OrderedFinpartition.extendLeft_length, Fin.sum_univ_two] |
| 26 | refine congr_arg₂ _ (congr_arg₂ _ (congr_arg _ ?_) (congr_arg₂ _ (congr_arg _ ?_) (congr_arg _ ?_))) (congr_arg₂ _ (congr_arg _ ?_) (congr_arg _ ?_)) |
| 27 | all_goals funext i; fin_cases i <;> apply congr_arg (⇑(cluster f 0 _)) <;> ext1 k |
| 28 | all_goals fin_cases k <;> rfl |
| 29 | end three |
| 30 | end YM.Stationary |
| 31 | end |
| 32 | |
| 33 | /-! |
| 34 | # Hessian of an orbit commutator -/ |
| 35 | noncomputable section |
| 36 | namespace YM.Stationary |
| 37 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 38 | open scoped Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 39 | variable {G : Gauge} {p : Clip} {X A : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedRing A] [NormedAlgebra ℝ A] |
| 40 | |
| 41 | variable [CompleteSpace A] |
| 42 | lemma furtiveP (f g : X→A) (a : X) (h : DifferentiableAt ℝ f a) (he : DifferentiableAt ℝ g a) (p) : fderiv ℝ (f*g) a p= f a * fderiv ℝ g a p+ fderiv ℝ f a p * g a := by rw [fderiv_mul' h he]; rfl |
| 43 | lemma furtive (f g : X→A) (h : AnalyticAt ℝ f 0) (he : AnalyticAt ℝ g 0) (p q) : iteratedFDeriv ℝ 2 (f*g) 0 ![p,q] = f 0*iteratedFDeriv ℝ 2 g 0 ![p,q] + fderiv ℝ f 0 p*fderiv ℝ g 0 q+ (fderiv ℝ f 0 q*fderiv ℝ g 0 p+ iteratedFDeriv ℝ 2 f 0 ![p,q] * g 0) := by |
| 44 | let V (U : X→A) (z : X) := fderiv ℝ U z q |
| 45 | have hv (F : X→ A) (hf : AnalyticAt ℝ F 0) : fderiv ℝ (V F) 0 p = iteratedFDeriv ℝ 2 F 0 ![p,q] := by |
| 46 | have hh := prodT (n:=1) ![p] q F 0 hf.contDiffAt |
| 47 | rw [iteratedFDeriv_one_apply,show (Fin.snoc (![p]:Fin 1 → _) q)= ![p,q] by ext1 i; fin_cases i <;> rfl] at hh; exact hh |
| 48 | have hp (f : X→A) (h : AnalyticAt ℝ f 0) : DifferentiableAt ℝ (V f) 0 := ((h.contDiffAt (n:=ω)).fderiv_right (m:=ω) (by simp)).differentiableAt (by simp) |>.clm_apply (differentiableAt_const _) |
| 49 | have ht : V (f*g) =ᶠ[𝓝 0] f * V g + V f*g := by |
| 50 | filter_upwards [h.eventually_analyticAt, he.eventually_analyticAt] with x hx hb |
| 51 | exact furtiveP _ _ _ hx.differentiableAt hb.differentiableAt _ |
| 52 | rw [← hv _ (h.mul he), ht.fderiv_eq, fderiv_add (h.differentiableAt.mul (hp g he)) ((hp f h).mul he.differentiableAt),_root_.add_apply, furtiveP _ _ 0 h.differentiableAt (hp g he), furtiveP _ _ 0 (hp f h) he.differentiableAt, hv f h, hv g he] |
| 53 | |
| 54 | lemma spark_stone (V F E : X→A) (hp : AnalyticAt ℝ V 0) (hf : AnalyticAt ℝ F 0) (hh : AnalyticAt ℝ E 0) (h : F 0=1) (he : E 0=1) (hF : V 0=1) : |
| 55 | let H := (F*E-E*F)*V+1 |
| 56 | AnalyticAt ℝ H 0 ∧ H 0=1 ∧ fderiv ℝ H 0=0 ∧ ∀ p q, iteratedFDeriv ℝ 2 H 0 ![p,q]= ((fderiv ℝ F 0 p)*(fderiv ℝ E 0 q)-(fderiv ℝ E 0 q)*(fderiv ℝ F 0 p)) + ((fderiv ℝ F 0 q)*(fderiv ℝ E 0 p)-(fderiv ℝ E 0 p)*(fderiv ℝ F 0 q)) := by |
| 57 | intro H |
| 58 | let B := F*E-E*F |
| 59 | have h0 : B 0=0 := by simp [B,h,he] |
| 60 | have hK : fderiv ℝ B 0=0 := by |
| 61 | apply ContinuousLinearMap.ext; intro x; unfold B |
| 62 | rw [fderiv_sub (hf.mul hh|>.differentiableAt) (hh.mul hf|>.differentiableAt), _root_.sub_apply,furtiveP _ _ _ hf.differentiableAt hh.differentiableAt,furtiveP _ _ _ hh.differentiableAt hf.differentiableAt,h,he]; simp [add_comm] |
| 63 | have hb : AnalyticAt ℝ (B*V) 0 := ((hf.mul hh).sub (hh.mul hf)).mul hp |
| 64 | have hu : AnalyticAt ℝ (1:X→A) 0 := analyticAt_const |
| 65 | refine ⟨(hb.add hu),by unfold H; simp [h,he],?_,?_⟩ |
| 66 | · apply ContinuousLinearMap.ext; intro x; unfold H |
| 67 | change fderiv ℝ (B*V+1) 0 x=_ |
| 68 | rw [fderiv_add hb.differentiableAt hu.differentiableAt,_root_.add_apply,furtiveP B _ _ ((hf.mul hh|>.sub (hh.mul hf)).differentiableAt) hp.differentiableAt,h0,hK,show fderiv ℝ (1:X→A) 0=0 from (hasFDerivAt_const 1 _).fderiv]; simp |
| 69 | intro p q; change iteratedFDeriv ℝ 2 (B*V+1) _ _=_ |
| 70 | rw [iteratedFDeriv_add_apply hb.contDiffAt hu.contDiffAt,_root_.add_apply, furtive B V ((hf.mul hh).sub (hh.mul hf)) hp,h0,hK,hF, show iteratedFDeriv ℝ 2 (1:X→A) 0=0 from congr_fun (iteratedFDeriv_const_of_ne (by decide) 1) (0:X)] |
| 71 | simp only [_root_.zero_apply,zero_mul,zero_add,mul_one,add_zero]; unfold B |
| 72 | rw [iteratedFDeriv_sub_apply (hf.mul hh|>.contDiffAt) (hh.mul hf|>.contDiffAt),_root_.sub_apply, furtive F E hf hh,furtive E F hh hf,h,he]; simp only [mul_one,one_mul]; abel |
| 73 | |
| 74 | variable {T W : X → G.El} |
| 75 | def jointly (t w : G.El) := t*w*t⁻¹*w⁻¹ |
| 76 | -- Taylor of commutator at unit matrix |
| 77 | lemma echo_mat (h : T 0=1) (he : W 0=1) (hf : AnalyticAt ℝ (G.mat ∘ T) 0) (hh : AnalyticAt ℝ (G.mat ∘ W) 0) : |
| 78 | let F := G.mat ∘ T; let E := G.mat ∘ W; let H x := G.mat (jointly (T x) (W x)); AnalyticAt ℝ H 0 ∧ H 0=1 ∧ fderiv ℝ H 0=0 ∧ ∀ p q, iteratedFDeriv ℝ 2 H 0 ![p,q]= ((fderiv ℝ F 0 p)*(fderiv ℝ E 0 q)-(fderiv ℝ E 0 q)*(fderiv ℝ F 0 p)) + ((fderiv ℝ F 0 q)*(fderiv ℝ E 0 p)-(fderiv ℝ E 0 p)*(fderiv ℝ F 0 q)) := by |
| 79 | intro F E H; let u : X→G.Mat := fun _=>1 |
| 80 | let B := F*E-E*F |
| 81 | let V x := G.mat ((T x)⁻¹)*G.mat ((W x)⁻¹) |
| 82 | have ht : H=B*V+u := by |
| 83 | ext1 i; change G.mat (jointly (T i) (W i))=(G.mat (T i)*G.mat (W i)-G.mat (W i)*G.mat (T i)) * (G.mat ((T i)⁻¹)*G.mat ((W i)⁻¹)) +1 |
| 84 | rw [Matrix.sub_mul, ← G.mat_mul, ← G.mat_mul, ← G.mat_mul, ← G.mat_mul, ← G.mat_mul,show W i*T i*((T i)⁻¹*(W i)⁻¹)=1 by group,G.mat_one, sub_add_cancel]; unfold jointly; rw [mul_assoc (T i*W i)] |
| 85 | have hF : F 0=1 := by simp [F,h]; |
| 86 | have hE : E 0=1 := by simp [E,he] |
| 87 | have h0 : H 0=1 := by simp [H,jointly,h,he] |
| 88 | |
| 89 | have hp : AnalyticAt ℝ V 0 := by |
| 90 | let z : G.Mat≃L[ℝ] G.Mat := starL ℝ |
| 91 | unfold V; simp only [G.mat_inv]; exact AnalyticAt.mul (z.contDiff.contDiffAt.comp (f:=F) _ hf.contDiffAt|>.analyticAt) ((z.contDiff.contDiffAt.comp (f:=E) _ hh.contDiffAt).analyticAt) |
| 92 | rw [ht] |
| 93 | exact spark_stone V F E hp hf hh hF hE (by simp [V,h,he]) |
| 94 | lemma echo_clr (x : G.Color) : fderiv ℝ G.plog 1 (G.colorMat x)=x := by |
| 95 | let F (b : ℝ) := G.lieExp (b • x) |
| 96 | have hz : F (0:ℝ)=1 := by simp [F] |
| 97 | have ht : HasFDerivAt G.plog (fderiv ℝ G.plog 1) (G.mat (F (0:ℝ))) := by erw [hz,G.mat_one]; exact G.plog_diff.differentiableAt (by simp)|>.hasFDerivAt |
| 98 | exact (ht.comp_hasDerivAt 0 (exp_ray x)).unique (ray_recall hz (exp_ray x)) |
| 99 | lemma echo_power (h : T 0=1) (he : W 0=1) (hf : AnalyticAt ℝ (G.mat ∘ T) 0) (hh : AnalyticAt ℝ (G.mat ∘ W) 0) |
| 100 | {v w : X → G.Color} (hv : ∀ p,fderiv ℝ (G.mat ∘ T) 0 p=G.colorMat (v p)) (hw : ∀ p,fderiv ℝ (G.mat ∘ W) 0 p=G.colorMat (w p)) (x y) : iteratedFDeriv ℝ 2 (fun x=> plogC G (jointly (T x) (W x))) 0 ![x,y]= G.ad (v x) (w y)+G.ad (v y) (w x) := by |
| 101 | let H x := G.mat (jointly (T x) (W x)); change iteratedFDeriv ℝ 2 (G.plog ∘ H) 0 ![x,y]=_ |
| 102 | obtain ⟨hL,h1,h2,h3⟩ := echo_mat h he hf hh |
| 103 | have hK (x y) : iteratedFDeriv ℝ 2 H 0 ![x,y]= _ := h3 x y |
| 104 | erw [pay_second _ (show ContDiffAt ℝ ω H 0 from hL.contDiffAt),show H 0=1 from h1,show fderiv ℝ H 0=0 from h2,hK, hv,hv,hw,hw,← Gauge.colorMat_ad,← Gauge.colorMat_ad,← map_add,echo_clr]; pick_goal 2 |
| 105 | · erw [show H 0=1 from h1]; exact G.plog_diff |
| 106 | simp [iteratedFDeriv_two_apply] |
| 107 | change fderiv ℝ (fderiv ℝ G.plog) 1 0 0=0 |
| 108 | simp |
| 109 | end YM.Stationary |
| 110 | end |
| 111 | |
| 112 | /-! |
| 113 | # The plaq logarithm as scalar orbit potential. First order stencil for two |
| 114 | chart blocks (potential and left-vector perturbation). Record volumes preserved. |
| 115 | -/ |
| 116 | noncomputable section |
| 117 | namespace YM.Stationary |
| 118 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 119 | open scoped Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 120 | variable {G : Gauge} {p : Clip} {α : Type} [Fintype α] {m : Side} |
| 121 | |
| 122 | section |
| 123 | variable (G) |
| 124 | abbrev Gem := Fin 4×Bool×G.ColorIndex |
| 125 | def deter (u : Bool) (i : Fin 4) : Corn (Gem G)→L[ℝ] G.Color := |
| 126 | (WithLp.linearEquiv 2 ℝ (Corn G.ColorIndex)).symm.toContinuousLinearEquiv.toContinuousLinearMap ∘L (ContinuousLinearMap.pi fun j => ContinuousLinearMap.proj (i,u,j)) |
| 127 | |
| 128 | def spree (i : Fin 4) : Corn (Gem G) →L[ℝ] G.Color := deter G true i + deter G false i |
| 129 | def pious (i : Fin 4) (x : Corn (Gem G)) := G.lieExp (deter G true i x)*G.lieExp (deter G false i x) |
| 130 | def pliant (x : Corn (Gem G)) := pious G 0 x*pious G 1 x*(pious G 2 x)⁻¹*(pious G 3 x)⁻¹ |
| 131 | variable {G} |
| 132 | lemma gemat0 (i : Fin 4) : pious G i 0=1 := by simp [pious] |
| 133 | @[simp] lemma pliant0 : pliant G 0=1 := by simp [pliant,gemat0] |
| 134 | lemma gemDiff (i : Fin 4) : AnalyticAt ℝ (G.mat ∘ pious G i) 0 := by |
| 135 | simp only [Function.comp_def,pious,G.mat_mul] |
| 136 | let U (u : Bool) := fun x => G.mat (G.lieExp (deter G u i x)) |
| 137 | have he u : AnalyticAt ℝ (U u) 0 := (G.exp_jet.comp (f:=deter G u i) (deter G u i).contDiff).contDiffAt.analyticAt |
| 138 | exact (he true).mul (he false) |
| 139 | lemma piecePitch (i : Fin 4) (x : Corn (Gem G)) : HasDerivAt (fun t : ℝ => G.mat (pious G i (t • x))) (G.colorMat (spree G i x)) 0 := by |
| 140 | let T := deter G true i; let W := deter G false i |
| 141 | simp only [pious,G.mat_mul,map_smul] |
| 142 | convert! (exp_ray (T x)).mul (exp_ray (W x)) using 1 |
| 143 | change _=G.colorMat _ * _ + _*G.colorMat _ |
| 144 | simp only [zero_smul,G.mat_lieExp_zero,G.mat_one,mul_one,one_mul]; rw [spree]; simp [T,W] |
| 145 | |
| 146 | lemma pliantDiff : AnalyticAt ℝ (G.mat ∘ pliant G) 0 := by |
| 147 | let z : G.Mat≃L[ℝ] G.Mat := starL ℝ |
| 148 | have hx i := gemDiff (G:=G) i |
| 149 | have he i : AnalyticAt ℝ (fun x=> star (G.mat (pious G i x))) 0 := (z.contDiff.contDiffAt.comp (f:=G.mat∘pious G i) _ (hx i).contDiffAt).analyticAt |
| 150 | simp only [Function.comp_def,pliant,G.mat_mul,G.mat_inv] |
| 151 | exact (((hx 0).mul (hx 1)).mul (he 2)).mul (he 3) |
| 152 | lemma pliant_ray (x : Corn (Gem G)) : HasDerivAt (fun t : ℝ => G.mat (pliant G (t • x))) (G.colorMat (spree G 0 x+spree G 1 x -spree G 2 x - spree G 3 x)) 0 := by |
| 153 | have hx i := piecePitch i x |
| 154 | simp only [pliant,G.mat_mul,G.mat_inv]; convert! (((hx 0).mul (hx 1)).mul (hx 2).star).mul (hx 3).star using 1 |
| 155 | simp only [zero_smul,gemat0, G.mat_one,G.colorMat_skew,mul_one,one_mul, map_add,map_sub,Pi.mul_apply,star_one] |
| 156 | abel |
| 157 | |
| 158 | abbrev Lilts (G : Gauge) : G.Color ≃L[ℝ] Corn G.ColorIndex := (WithLp.linearEquiv 2 ℝ _).toContinuousLinearEquiv |
| 159 | |
| 160 | def peridot (x : Corn (Gem G)) := Lilts G (plogC G (pliant G x)) |
| 161 | def pricePow (G : Gauge) (x : Corn G.ColorIndex) := G.price (G.lieExp ((Lilts G).symm x)) |
| 162 | lemma peridot0 (G : Gauge) : peridot (0:Corn (Gem G))=0 := by simp [peridot] |
| 163 | lemma peridot_green : AnalyticAt ℝ (peridot (G:=G)) 0 := by |
| 164 | apply ContDiffAt.analyticAt; refine (Lilts G).contDiff.contDiffAt.comp (f:=G.plog ∘ (G.mat ∘ pliant G)) _ ?_; exact (show ContDiffAt ℝ ω G.plog ((G.mat∘pliant G) 0) by simp only [Function.comp_apply, pliant0,G.mat_one]; exact G.plog_diff).comp (f:=G.mat∘pliant G) _ pliantDiff.contDiffAt |
| 165 | lemma peridot_live : AnalyticAt ℝ (pricePow G) 0 := |
| 166 | matrix_price_jet ((G.exp_jet.comp (Lilts G).symm.contDiff).contDiffAt) |>.analyticAt |
| 167 | lemma peridot_call : pricePow G ∘ peridot =ᶠ[𝓝 0] G.price ∘ pliant G := by |
| 168 | have he i : Continuous (pious G i) := by unfold pious; fun_prop |
| 169 | have hx : Continuous (pliant G) := by unfold pliant; fun_prop |
| 170 | filter_upwards [(show Tendsto (pliant G) (𝓝 0) (𝓝 1) from pliant0 ▸ hx.continuousAt.tendsto).eventually G.plog_right] with x hx |
| 171 | unfold pricePow peridot; simp only [Function.comp_apply,ContinuousLinearEquiv.symm_apply_apply]; rw [show G.lieExp (plogC G _) = _ from hx] |
| 172 | lemma peridot_fder (x : Corn (Gem G)) : fderiv ℝ peridot 0 x = Lilts G (spree G 0 x + spree G 1 x - spree G 2 x-spree G 3 x) := by |
| 173 | refine HasDerivAt.unique (Push.side _ peridot_green.differentiableAt x) ?_ |
| 174 | exact (Lilts G).hasFDerivAt.comp_hasDerivAt 0 (ray_recall (u:=fun a:ℝ=>pliant G (a • x)) (by simp) (pliant_ray x)) |
| 175 | lemma pricePow_h : fderiv ℝ (pricePow G) 0=0 ∧ ∀ x y : Corn G.ColorIndex, iteratedFDeriv ℝ 2 (pricePow G) 0 ![x,y] = dotProduct x y := by |
| 176 | refine (Work.F03.hessian_of_limit (f:=pricePow G) peridot_live.contDiffAt (Q:=dotProduct) (fun x=> ?_) add_dotProduct dotProduct_comm).2 |
| 177 | let z := (Lilts G).symm x |
| 178 | rw [show dotProduct x x=‖z‖^2 by rw [← real_inner_self_eq_norm_sq, Work.F03.inner_color]; rfl] |
| 179 | unfold pricePow; simp only [map_smul] |
| 180 | exact Work.F03.price_limit (V:=fun t : ℝ=> G.lieExp (t • z)) (by simp) (exp_ray z) |
| 181 | |
| 182 | -- stencil consultations. |
| 183 | def tenderPhi (a : PlaqAxes) : Fin 4 → Axis := ![a.val.1,a.val.2,a.val.1,a.val.2] |
| 184 | def tenderOf (a : PlaqAxes) : Fin 4 → Cover := ![0,step a.val.1,step a.val.2,0] |
| 185 | |
| 186 | def tenderR (a : PlaqAxes) (p : Site m) (G : Gauge) (R : Type) [CommRing R] : (Co m (Crisp G)→R) →ₗ[R] (Gem G →R) := LinearMap.pi fun i=> LinearMap.proj (p+wrap _ (tenderOf a i.1),i.2.1,coord (tenderPhi a i.1),i.2.2) |
| 187 | |
| 188 | def shineF (x : Corn (Co m (Crisp G))) := input G m (wheat true x) * input G m (wheat false x) |
| 189 | lemma shinelet (x : Corn (Co m (Crisp G))) (i : Fin 4) (y : Site m) (a : PlaqAxes) : shineF x (y+wrap _ (tenderOf a i), tenderPhi a i)=pious G i (tenderR a y G ℝ x) := by |
| 190 | unfold shineF; rw [Pi.mul_apply,encode_link,encode_link]; rfl |
| 191 | lemma shineworks (x : Corn (Co m (Crisp G))) (y : Site m) (a : PlaqAxes) : faceValue (shineF x) (y,a)=pliant G (tenderR a y G ℝ x) := by |
| 192 | unfold faceValue travel square; let U:=shineF x |
| 193 | unfold pliant; simp only [← shinelet, travel,Step.vec_pos,Step.vec_neg,Step.neg_read,Step.pos_read,tenderPhi,tenderOf,map_zero,wrap_step,Matrix.cons_val_zero,Matrix.cons_val_one, mul_one,add_zero] |
| 194 | simp [mul_assoc]; rw [add_right_comm y]; simp [add_assoc,sub_eq_add_neg] |
| 195 | lemma dough_shine : (fun x : Corn (Co m (Crisp G))=> input G m (dough G m x)) =ᶠ[𝓝 0] shineF := by |
| 196 | let M (b : Bool) : Corn (Co m (Crisp G))→L[ℝ] Link G m := (wheat b).toContinuousLinearMap |
| 197 | have hx : shineF (0:Corn (Co m (Crisp G)))=1 := by unfold shineF; simp |
| 198 | have hh : Continuous (shineF (G:=G) (m:=m)) := Continuous.mul (input_cont.comp (M true).continuous) (input_cont.comp (M false).continuous) |
| 199 | exact (show Tendsto (shineF (G:=G) (m:=m)) (𝓝 0) (𝓝 1) by rw [← hx]; exact hh.tendsto 0).eventually content_encodes |
| 200 | end |
| 201 | end YM.Stationary |
| 202 | end |
| 203 | |
| 204 | /-! |
| 205 | # Wilson chart identification at physical test. Includes first background |
| 206 | p at nominal direction b (peridot used also for its tangent shift). -/ |
| 207 | noncomputable section |
| 208 | namespace YM.Stationary |
| 209 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 210 | open scoped Topology ContDiff BigOperators |
| 211 | variable {G : Gauge} {P : Patch} {p : Clip} {V : Jar G} {m : Side} {n : ℕ} {σ C : ℝ} |
| 212 | |
| 213 | def binderW (p : Face (Per m)) (x : Corn (Co m (Crisp G))) := (pricePow G ∘ peridot) (tenderR p.2 p.1 G ℝ x) |
| 214 | lemma binder_green (p : Face (Per m)) : AnalyticAt ℝ (binderW (G:=G) p) 0 := by |
| 215 | let L := (tenderR p.2 p.1 G ℝ).toContinuousLinearMap; have hh : AnalyticAt ℝ (pricePow G ∘ peridot) 0 := AnalyticAt.comp (f:=peridot) (by rw [peridot0]; exact peridot_live) peridot_green |
| 216 | exact AnalyticAt.comp (g:=pricePow G ∘ peridot) (f:=L) (by rw [map_zero]; exact hh) (L.analyticAt _) |
| 217 | lemma binder_cover : WilsonQ G m ∘ (dough G m)=ᶠ[𝓝 0] (fun x=> ∑ y,binderW y x) := by |
| 218 | have he (i : Face (Per m)) : binderW (G:=G) i=ᶠ[𝓝 0] fun x=>G.price (faceValue (shineF x) i) := by |
| 219 | let L := (tenderR i.2 i.1 G ℝ).toContinuousLinearMap |
| 220 | filter_upwards [(show Tendsto L (𝓝 0) (𝓝 0) by simpa using L.continuous.tendsto 0).eventually peridot_call] with x hx |
| 221 | rw [← show (i.1,i.2)= i from rfl, shineworks]; exact hx |
| 222 | filter_upwards [eventually_all.mpr he,dough_shine] with x hx hQ |
| 223 | change Wilson.energy (input _ _ (dough G m x))=_ |
| 224 | rw [show input _ _ _=shineF x from hQ] |
| 225 | exact sum_congr rfl fun i _=> (hx i).symm |
| 226 | -- corner packet colors Complex basis only. κ. |
| 227 | def streamS (a : PlaqAxes) (b : Fslot G) (p : Momentum) (w : Bool) (i : Gem G) := if i.2.1=w then mode p (tenderOf a i.1) * (Pi.single b 1 : Phase (Fslot G)) (coord (tenderPhi a i.1),i.2.2) else 0 |
| 228 | lemma streamed (x y : Site m) (a : PlaqAxes) (b : Fslot G) (p : Momentum) (h : rolls (mon y) p) (w : Bool) : tenderR a x G ℂ (sprout w (relay y b))=cell y x • streamS a b p w := by |
| 229 | ext1 i; rcases i with ⟨i,j,l⟩; by_cases he : j=w |
| 230 | · simp [tenderR, sprout, relay,tune,he,mul_assoc,streamS,h.exp] |
| 231 | simp [tenderR,sprout,he,streamS] |
| 232 | -- Taylor form. z,p ordering |
| 233 | |
| 234 | def cornell (b x y : Fslot G) (p k : Momentum) (a : PlaqAxes) := beat (pricePow G ∘ peridot) 0 3 ![streamS a b p false,streamS a x (-(k+p)) true,streamS a y k true] |
| 235 | def perigee (b x y : Fslot G) (p k : Momentum) := ∑ a : PlaqAxes, cornell b x y p k a |
| 236 | lemma granite_identifies (b x y : Fslot G) (u v w : Site m) (p k : Momentum) (h : rolls (mon u) p) (hp : rolls (mon w) k) (he : u+v+w=0) : liquid (creme 1) (WilsonQ G m) ![relay u b,relay v x,relay w y] = (cents m:ℂ)*perigee b x y p k := by |
| 237 | let i := sprout false (relay u b); let j := sprout true (relay v x); let l := sprout true (relay w y) |
| 238 | have ht : rolls (mon v) (-(k+p)) := by |
| 239 | rw [eq_neg_of_add_eq_zero_left (show v+(w+u)=0 from (show v+(w+u)=u+v+w by abel).trans he)]; exact (hp.combine h).flip_sign |
| 240 | have hh : beat (WilsonQ G m ∘ dough G m) 0 3=beat (fun x=>∑ y:Face (Per m),binderW y x) 0 3 := by simp only [beat,(binder_cover (m:=m) (G:=G) |>.iteratedFDeriv ℝ 3).eq_of_nhds] |
| 241 | have hj (a : Face (Per m)) : beat (binderW a) 0 3 ![i,j,l]=cornell b x y p k a.2 := by |
| 242 | let L := tenderR a.2 a.1 G ℂ |
| 243 | have hv : AnalyticAt ℝ (pricePow G ∘ peridot) 0 := AnalyticAt.comp (g:=pricePow G) (f:=peridot) (by rw [peridot0]; exact peridot_live) peridot_green |
| 244 | rw [show binderW a=(pricePow G∘peridot)∘(tenderR a.2 a.1 G ℝ).toContinuousLinearMap from rfl,evaluated L (fun x=>rfl) hv,MultilinearMap.compLinearMap_apply] |
| 245 | let Q : Fin 3→ ℂ := ![cell u a.1,cell v a.1,cell w a.1] |
| 246 | let y' := ![streamS a.2 b p false,streamS a.2 x (-(k+p)) true,streamS a.2 y k true] |
| 247 | rw [show (fun k=> L ((![i,j,l]:Fin 3→ _) k))=fun k=> Q k • y' k by |
| 248 | funext k; fin_cases k; exacts [streamed a.1 u a.2 b p h false,streamed a.1 v a.2 x _ ht true,streamed a.1 w a.2 y _ hp true],MultilinearMap.map_smul_univ] |
| 249 | have hy : ∏ i,Q i=1 := by |
| 250 | unfold Q; rw [Fin.prod_univ_succ,Fin.prod_univ_succ,Fin.prod_univ_one]; simp only [Matrix.cons_val_zero]; change cell u a.1*(cell v a.1*cell w a.1)=_ |
| 251 | rw [cell_duality u a.1,cell_duality v a.1,cell_duality w a.1,← cell_add,← cell_add,← add_assoc,he]; simp |
| 252 | rw [hy,one_smul]; rfl |
| 253 | rw [liquid,MultilinearMap.compLinearMap_apply,hh, show (fun k:Fin 3=> sprout (m:=m) (creme 1 k) ((![relay u b,relay v x,relay w y]:Fin 3 →Phase (Lines G m 1)) k))=![i,j,l] by ext1 a; fin_cases a <;> rfl, beat_summations univ _ (fun i _=> (binder_green i).contDiffAt)] |
| 254 | simp_rw [hj]; rw [Fintype.sum_prod_type]; simp [perigee,cents] |
| 255 | lemma vintage_knows (h : V.grey) (hx : V.fees σ C) (i j l : Fslot G) (u w : Site m) (p k) (hu : rolls (mon u) p) (hw : rolls (mon w) k) : V.cast.spot i p k j l=perigee i j l p k := by |
| 256 | let v := -(w+u) |
| 257 | have hv : rolls (mon v) (-(k+p)) := (hw.combine hu).flip_sign |
| 258 | have he : u+v+w=0 := by unfold v; abel |
| 259 | have hr : ∑ i, (![u,v,w]: Fin 3→Site m) i=0 := by simp [Fin.sum_univ_succ, ← add_assoc,he] |
| 260 | have ht := drinkLocate (![i,j,l]:Breed 2 (Loc G 1)) (![u,v,w]) (![p,-(k+p),k]) (fun a=> by fin_cases a; exacts [hu,hv,hw]) (h _).2.1 hx.2.1 |
| 261 | rw [if_pos hr, show (fun a=>relay ((![u,v,w]:Fin (2+1)→_) a) ((![i,j,l]:Breed 2 _) a))=![relay u i,relay v j,relay w l] by |
| 262 | ext1 x; fin_cases x <;> rfl, granite_identifies i j l u v w p k hu hw he] at ht |
| 263 | change _ = perigee _ _ _ _ _; apply mul_left_cancel₀ (show (cents m:ℂ)≠0 by exact_mod_cast cents_pos.ne') |
| 264 | rw [ht]; unfold cents; push_cast; apply congr_arg _ |
| 265 | change chaperon _ _ _=chaperon _ _ _ |
| 266 | rw [show duoTop 1 (![i]) j l= ![i,j,l] by ext1 a; fin_cases a <;> rfl] |
| 267 | rw [show wineShift (![p] : Fin 1→Momentum) k= ![p,-(k+p),k] by |
| 268 | unfold wineShift; rw [Fin.sum_univ_one]; ext1 a; fin_cases a <;> rfl] |
| 269 | -- now pass to dense p,k. use cofinal ANY. |
| 270 | lemma stream_diff (b : Fslot G) (a : PlaqAxes) (c : Bool) : ContDiff ℂ ω (fun p : Momentum => streamS a b p c) := by |
| 271 | refine contDiff_pi.mpr (fun i => ?_); unfold streamS; split; next e => unfold Laurent.mode; fun_prop |
| 272 | exact contDiff_const |
| 273 | lemma perigee_hold (b x y : Fslot G) : Continuous (fun z : Momentum × Momentum => perigee b x y z.1 z.2) := by |
| 274 | unfold perigee; refine continuous_finsetSum univ (fun a _ => ?_) |
| 275 | let v := fun z : Momentum× Momentum=> (![streamS a b z.1 false,streamS a x (-(z.2+z.1)) true,streamS a y z.2 true]:Fin 3→Phase (Gem G)) |
| 276 | have h : Continuous v := continuous_pi fun i=> by |
| 277 | fin_cases i; exacts [(stream_diff b a false).continuous.comp continuous_fst,(stream_diff x a true).continuous.comp ((continuous_snd.add continuous_fst).neg),(stream_diff y a true).continuous.comp continuous_snd] |
| 278 | exact (listen _).cont.comp h |
| 279 | lemma steady_grid (L Y : Momentum →Momentum →ℂ) (p k : Momentum) (hp : star p=p) (hk : star k=k) |
| 280 | (hl : ContinuousAt (uncurry L) (p,k)) (hY : ContinuousAt (uncurry Y) (p,k)) |
| 281 | (he : ∀ m : Side, ∀ u v : Site m,∀ p k,rolls (mon u) p→ rolls (mon v) k→ L p k=Y p k) : L p k=Y p k := by |
| 282 | obtain ⟨u,P,ht,hP⟩ := mesh_stride walent walentes p hp |
| 283 | obtain ⟨v,T,hK,hT⟩ := mesh_stride walent walentes k hk |
| 284 | have hL : Tendsto (fun i => (P i,T i)) atTop (𝓝 (p,k)) := ht.prodMk_nhds hK |
| 285 | have hy : uncurry L ∘ (fun i => (P i,T i))=ᶠ[atTop] uncurry Y ∘ (fun i => (P i,T i)) := |
| 286 | Eventually.of_forall fun i=> he (walent i) (u i) (v i) _ _ (hP i) (hT i) |
| 287 | exact tendsto_nhds_unique_of_eventuallyEq (hl.tendsto.comp hL) (hY.tendsto.comp hL) hy |
| 288 | lemma vintage_sings (h : V.grey) (hx : V.fees σ C) (hs : 0<σ) (b x y : Fslot G) (p k : Momentum) (hp : star p=p) (hk : star k=k) : V.cast.spot b p k x y=perigee b x y p k := by |
| 289 | have hh : Avenue σ p k := ⟨Work.F07.realStrip _ hs hp, Work.F07.realStrip _ hs hk, Work.F07.realStrip _ hs (by rw [star_add,hp,hk])⟩ |
| 290 | refine steady_grid (fun p k => V.cast.spot b p k x y) (perigee b x y) p k hp hk ?_ ((perigee_hold b x y).continuousAt (x:=(p,k))) (fun m u v p k hp hk => vintage_knows h hx b x y u v p k hp hk) |
| 291 | exact ((hx.live.spot b).shape hh x y).continuousAt |
| 292 | end YM.Stationary |
| 293 | end |
| 294 | |
| 295 | /-! |
| 296 | # Leading Wilson components. Real-axis derivatives unnormalized. Projection |
| 297 | rotates color only. -/ |
| 298 | noncomputable section |
| 299 | namespace YM.Stationary |
| 300 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 301 | open scoped Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius ComplexConjugate |
| 302 | variable {G : Gauge} {P : Patch} {V : Jar G} {m : Side} {σ C : ℝ} |
| 303 | |
| 304 | section content |
| 305 | -- Real unit basis. Choice via WithLp |
| 306 | abbrev pearl (i : G.ColorIndex) := (Lilts G).symm (Pi.single i 1) |
| 307 | def slatV (b : Fslot G) (i : Axis) : G.Color := if coord i=b.1 then pearl b.2 else 0 |
| 308 | def scatterRun (w : Bool) (a : PlaqAxes) (b : Fslot G) (i : Gem G) := if i.2.1=w then ((Lilts G) (slatV b (tenderPhi a i.1))) i.2.2 else 0 |
| 309 | lemma lightFront (b : Fslot G) (i : Axis) (l : G.ColorIndex) : (Pi.single b 1 : Phase (Fslot G)) (coord i,l)=((Lilts G) (slatV b i) l:ℂ) := by |
| 310 | rcases b with ⟨b,h⟩; unfold slatV; split <;> rename_i he |
| 311 | · simp only [(Lilts G).apply_symm_apply]; dsimp only at *; rw [he]; by_cases hv : l=h <;> simp [Pi.single_apply, *] |
| 312 | dsimp only at *; simp [Pi.single_apply, *] |
| 313 | lemma deter_at (w : Bool) (a : PlaqAxes) (b : Fslot G) (u : Bool) (i : Fin 4) : deter G u i (scatterRun w a b)=if u=w then slatV b (tenderPhi a i) else 0 := by |
| 314 | apply (Lilts G).injective; funext k |
| 315 | change scatterRun w a b (i,u,k)= _; unfold scatterRun; split <;> rfl |
| 316 | lemma scatterSpree (w : Bool) (a : PlaqAxes) (b : Fslot G) (i) : spree G i (scatterRun w a b)=slatV b (tenderPhi a i) := by unfold spree; erw [_root_.add_apply]; rw [deter_at,deter_at]; cases w <;> simp |
| 317 | lemma pearlPitch (w : Bool) (a : PlaqAxes) (b : Fslot G) (p : Momentum) (i : Gem G) : streamS a b p w i= mode p (tenderOf a i.1)* scatterRun w a b i := by |
| 318 | unfold streamS scatterRun; split <;> simp [*,lightFront _ _ _] |
| 319 | lemma scatterTrace (w : Bool) (a : PlaqAxes) (b : Fslot G) : streamS a b 0 w=axes (scatterRun w a b) := funext fun i=> by simp [pearlPitch]; rfl |
| 320 | |
| 321 | -- arbitrary repeated period. project all 4 legs onto 0,1 for stories |
| 322 | |
| 323 | def reinsF (G : Gauge) : Corn (Gem G)→L[ℝ] Corn (Gem G) := ContinuousLinearMap.pi fun i:Gem G=> ContinuousLinearMap.proj ((![0,1,0,1] : Fin 4 → Fin 4) i.1,i.2) |
| 324 | lemma reinsStay (w : Bool) (a : PlaqAxes) (b : Fslot G) : reinsF G (scatterRun w a b)=scatterRun w a b := by ext1 i; rcases i with ⟨i,j⟩; fin_cases i <;> rfl |
| 325 | lemma reinsPious (x : Corn (Gem G)) : pliant G (reinsF G x) = jointly (pious G 0 x) (pious G 1 x) := rfl |
| 326 | lemma peridot_twirl (x y : Corn (Gem G)) (h : reinsF G x=x) (he : reinsF G y=y) : |
| 327 | iteratedFDeriv ℝ 2 peridot 0 ![x,y]= Lilts G (G.ad (spree G 0 x) (spree G 1 y)+ G.ad (spree G 0 y) (spree G 1 x)) := by |
| 328 | let T := reinsF G; let δ z := plogC G (pliant G z); let J := (Lilts G).toContinuousLinearMap |
| 329 | let M z := plogC G (jointly (pious G 0 z) (pious G 1 z)) |
| 330 | have ht : M=δ ∘ T := rfl |
| 331 | have hx i u : fderiv ℝ (G.mat ∘ pious G i) 0 u=G.colorMat (spree G i u) := (Push.side _ (gemDiff i).differentiableAt u).unique (piecePitch i u) |
| 332 | have hp := echo_power (gemat0 _) (gemat0 _) (gemDiff 0) (gemDiff 1) (v:=spree G 0) (w:=spree G 1) (hx 0) (hx 1) x y |
| 333 | have hb : AnalyticAt ℝ M 0 := by |
| 334 | rw [ht]; apply AnalyticAt.comp (g:=δ) (f:=T) _ (T.analyticAt _) |
| 335 | rw [map_zero]; exact AnalyticAt.comp (f:=peridot) ((Lilts G).symm.analyticAt _) peridot_green |
| 336 | have ho : T ∘ (![x,y]:Fin 2→_)=![x,y] := by ext1 i; fin_cases i; exact h; exact he |
| 337 | have hv := wired T (f:=peridot) (by rw [map_zero]; exact peridot_green (G:=G)) 2 ![x,y] |
| 338 | rw [ho,map_zero] at hv |
| 339 | rw [← hv,show peridot ∘ (T)=J ∘ M from rfl]; exact (DFunLike.congr_fun (J.iteratedFDeriv_comp_left hb.contDiffAt (by exact (show (↑(2:ℕ) : WithTop ℕ∞)≤ω from le_top))) ![x,y]).trans (congr_arg (fun x => J x) hp) |
| 340 | |
| 341 | -- second insertion pair at static; antisymmetric in slots if reverse has sign. |
| 342 | def gemstone (a : PlaqAxes) (b c : Fslot G) := Lilts G (G.ad (slatV b a.val.1) (slatV c a.val.2) + G.ad (slatV c a.val.1) (slatV b a.val.2)) |
| 343 | lemma curlGem (a : PlaqAxes) (b c : Fslot G) (u w : Bool) : cluster peridot 0 2 ![streamS a b 0 u,streamS a c 0 w]=axes (gemstone a b c) := by |
| 344 | let x := scatterRun u a b; let y := scatterRun w a c; rw [scatterTrace,scatterTrace] |
| 345 | rw [show ![axes x,axes y]=axes ∘ (![x,y]:Fin 2 → _) by funext i; fin_cases i <;> rfl,line_real _ _ _ peridot_green,peridot_twirl x y (reinsStay ..) (reinsStay ..)]; unfold x y; simp_rw [scatterSpree]; rfl |
| 346 | end content |
| 347 | end YM.Stationary |
| 348 | end |
| 349 | |
| 350 | /-! |
| 351 | # First plaq beat obtains literal precision. Rays specialized later on |
| 352 | momentum budget. -/ |
| 353 | noncomputable section |
| 354 | namespace YM.Stationary |
| 355 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 356 | open scoped Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius ComplexConjugate |
| 357 | variable {G : Gauge} {P : Patch} {p : Clip} {V : Jar G} {m : Side} |
| 358 | |
| 359 | section curls |
| 360 | lemma Leads.luster (j) : Leads (fun p=> cluster (peridot (G:=G)) 0 1 ![p] j) := by |
| 361 | intro u v; dsimp only |
| 362 | simp_rw [band_line] |
| 363 | have ht (p : Phase (Gem G)) : (![p]:Fin 1→_)=update (0:Fin 1→Phase (Gem G)) 0 p := by funext i; fin_cases i; simp |
| 364 | rw [ht (axes u+Complex.I • axes v),ht (axes u),ht (axes v)]; exact Leads.pulse _ _ _ _ _ |
| 365 | lemma peridot_rates (v : Phase (Gem G)) (i : G.ColorIndex) : cluster peridot 0 1 ![v] i= (v (0,true,i)+v (0,false,i))+(v (1,true,i)+v (1,false,i))-(v (2,true,i)+v (2,false,i))-(v (3,true,i)+v (3,false,i)) := by |
| 366 | let f (v : Phase (Gem G)) := (v (0,true,i)+v (0,false,i))+(v (1,true,i)+v (1,false,i))-(v (2,true,i)+v (2,false,i))-(v (3,true,i)+v (3,false,i)) |
| 367 | refine Leads.buys (Leads.luster i) (q:=f) (fun u v => ?_) (fun p=> ?_) v |
| 368 | · unfold f; simp [mul_sub,mul_add]; abel |
| 369 | rw [show ![axes p]=axes ∘ (![p]:Fin 1 → _) by funext i; fin_cases i; rfl,line_real _ _ _ peridot_green,iteratedFDeriv_one_apply,peridot_fder] |
| 370 | unfold f axes; dsimp only [Matrix.cons_val_zero]; change (((p (0,true,i)+p (0,false,i))+(p (1,true,i)+p (1,false,i))-(p (2,true,i)+p (2,false,i))-(p (3,true,i)+p (3,false,i)) : ℝ):ℂ)=_; push_cast; rfl |
| 371 | |
| 372 | def fanBlade (a : PlaqAxes) (b : Fslot G) (p : Momentum) := Exterior.q p a.val.1 • axes (Lilts G (slatV b a.val.2))-Exterior.q p a.val.2 • axes (Lilts G (slatV b a.val.1)) |
| 373 | lemma curlPulse (a : PlaqAxes) (b : Fslot G) (w : Bool) (p : Momentum) : cluster peridot 0 1 ![streamS a b p w]=fanBlade a b p := by |
| 374 | ext1 i; rw [peridot_rates] |
| 375 | cases w <;> simp [streamS,fanBlade,tenderOf,tenderPhi,lightFront,factor,q,axes] <;> ring |
| 376 | lemma first_cost_peak (v : Phase G.ColorIndex) : beat (pricePow G) 0 1 ![v]=0 := by simp [beat,enlarge,recording_apply,iteratedFDeriv_one_apply,pricePow_h.1] |
| 377 | lemma double_peak_cost (v w : Phase G.ColorIndex) : beat (pricePow G) 0 2 ![v,w]=dotProduct v w := by |
| 378 | refine Leads.two (left_beat _) (right_beat _) (fun i u v=> ?_) (fun i u v=> ?_) (fun a b=>?_) v w |
| 379 | · exact (add_dotProduct ..).trans (congrArg₂ _ rfl (smul_dotProduct ..)) |
| 380 | · exact (dotProduct_add ..).trans (congrArg₂ _ rfl (dotProduct_smul ..)) |
| 381 | rw [show ![axes a,axes b]=axes ∘ (![a,b]: Fin 2 →_) by funext i; fin_cases i <;> rfl,beat_real,pricePow_h.2]; unfold dotProduct axes; push_cast; rfl |
| 382 | |
| 383 | def pencil (a : PlaqAxes) (b : Fslot G) (p : Track) := (Complex.I*(p a.val.1:ℂ)) • axes (Lilts G (slatV b a.val.2))- (Complex.I*(p a.val.2:ℂ)) • axes (Lilts G (slatV b a.val.1)) |
| 384 | -- real ray test by limits simpler than uniform small. Later derive estimates by Ray. |
| 385 | lemma twin_shear {X : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] {f : X→ℂ} (h : AnalyticAt ℝ f 0) (h0 : ∀ p:X,Tendsto (fun t : ℝ => (t:ℂ)⁻¹ * f (t • p)) cutRay (𝓝 0)) : Rays 2 f := by |
| 386 | have ht (p : X) : Tendsto (fun t : ℝ => t⁻¹ • f (t • p)) cutRay (𝓝 0) := by simpa [Complex.real_smul] using h0 p |
| 387 | have hv : Rays 1 f := ray_origin (fun x => ⟨0,by simpa using! ht x⟩) |
| 388 | refine (rays_jet h 2).2 (fun i hi => ?_) |
| 389 | interval_cases i |
| 390 | · exact (rays_jet h 1).1 hv 0 (by decide) |
| 391 | ext1 b; have hb := tendsto_nhds_unique (ray_limit h hv (b 0)) (show Tendsto _ cutRay (𝓝 0) from ?_) |
| 392 | swap; · simpa using! ht (b 0) |
| 393 | simpa [Tensor.diagonal,Tensor.coeff] using hb |
| 394 | |
| 395 | lemma qPitch (a : Axis) (p : Track) : Tendsto (fun t : ℝ => (t:ℂ)⁻¹ * Exterior.q (axes (t • p)) a) cutRay (𝓝 (Complex.I*(p a:ℂ))) := by |
| 396 | have ht := lift_axis_ray (roads p) (0: Fin 1) a; simp_rw [sym_one] at ht; exact ht |
| 397 | lemma knife_pulse (a : PlaqAxes) (b : Fslot G) (p : Track) : Tendsto (fun t : ℝ => (t:ℂ)⁻¹ • fanBlade a b (axes (t • p))) cutRay (𝓝 (pencil a b p)) := by |
| 398 | unfold pencil fanBlade; simp only [smul_sub, smul_smul] |
| 399 | exact ((qPitch a.val.1 p).smul_const _).sub ((qPitch a.val.2 p).smul_const _) |
| 400 | |
| 401 | end curls |
| 402 | end YM.Stationary |
| 403 | end |
| 404 | |
| 405 | /-! |
| 406 | # Leading at outgoing p, incoming k. Through field jets only where |
| 407 | transported as real derivatives. `Jag` no derivative norm required here yet; |
| 408 | p signs fixed by Film convention. -/ |
| 409 | noncomputable section |
| 410 | namespace YM.Stationary |
| 411 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 412 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 413 | variable {G : Gauge} {P : Patch} {V : Jar G} {m : Side} {σ C : ℝ} |
| 414 | section arcs |
| 415 | -- avoid over universal Real extension of star of R matrix. |
| 416 | def commaQ (a : PlaqAxes) (b x y : Fslot G) (p k : Track) := dotProduct (pencil a b p) (axes (gemstone a x y)) + dotProduct (pencil a x (-(k+p))) (axes (gemstone a b y)) + dotProduct (axes (gemstone a b x)) (pencil a y k) |
| 417 | def corona (b x y : Fslot G) (p k : Track) := ∑ a : PlaqAxes, commaQ a b x y p k |
| 418 | lemma pearlRep (a : Type) [Fintype a] {v w : ℝ→ Phase a} {i j} (hv : Tendsto v cutRay (𝓝 i)) (hw : Tendsto w cutRay (𝓝 j)) : Tendsto (fun t => dotProduct (v t) (w t)) cutRay (𝓝 (dotProduct i j)) := by |
| 419 | unfold dotProduct; refine tendsto_finsetSum _ fun k _ => (tendsto_pi_nhds.mp hv k).mul (tendsto_pi_nhds.mp hw k) |
| 420 | lemma fan_dark (a : PlaqAxes) (b : Fslot G) (p : Track) : Tendsto (fun t : ℝ => fanBlade a b (axes (t • p))) cutRay (𝓝 0) := by |
| 421 | have he : Continuous (fanBlade a b) := by unfold fanBlade; refine continuous_pi fun i=> ?_; simp [q]; fun_prop |
| 422 | rw [← show fanBlade a b 0=0 by simp [fanBlade,q]]; exact (he.tendsto 0).comp ((show Tendsto axes (𝓝 0) (𝓝 (0:Momentum)) by simpa using axes_maps.continuous.tendsto (0:Track)).comp (along p)) |
| 423 | lemma stream_shrinks (a : PlaqAxes) (b : Fslot G) (w : Bool) (p : Track) : Tendsto (fun t : ℝ=> streamS a b (axes (t • p)) w) cutRay (𝓝 (streamS a b 0 w)) := (stream_diff b a w|>.continuous.tendsto 0).comp ((show Tendsto axes (𝓝 0) (𝓝 (0:Momentum)) by simpa using axes_maps.continuous.tendsto (0:Track)).comp (along p)) |
| 424 | lemma fan_knits (a : PlaqAxes) (b c : Fslot G) (w y : Bool) (p k : Track) : Tendsto (fun t : ℝ=> cluster peridot 0 2 ![streamS a b (axes (t • p)) w,streamS a c (axes (t • k)) y]) cutRay (𝓝 (axes (gemstone a b c))) := by |
| 425 | rw [← curlGem a b c w y]; refine (cluster peridot 0 2).cont.continuousAt.tendsto.comp (f:=fun t=>![streamS a b (axes (t • p)) w,streamS a c (axes (t • k)) y]) ?_ |
| 426 | exact tendsto_pi_nhds.mpr fun i => by fin_cases i; exacts [stream_shrinks a b w p,stream_shrinks a c y k] |
| 427 | lemma ternary_drops {a : Type} [Fintype a] [DecidableEq a] {f : RecordM ℂ (Fin 3) a} {X Y T : ℝ→ Phase a} {v : Phase a} |
| 428 | (h : Tendsto (fun t:ℝ=> (t:ℂ)⁻¹ • X t) cutRay (𝓝 v)) (he : Tendsto Y cutRay (𝓝 0)) (ht : Tendsto T cutRay (𝓝 0)) : Tendsto (fun t:ℝ=> (t:ℂ)⁻¹ * f ![X t,Y t,T t]) cutRay (𝓝 0) := by |
| 429 | let K x : Fin 3→Phase a := ![((x:ℝ):ℂ)⁻¹ • X x,Y x,T x] |
| 430 | let L:=listen f |
| 431 | have hb (t : ℝ) : (t:ℂ)⁻¹ * f ![X t,Y t,T t]=L (K t) := by |
| 432 | change _=f (K t) |
| 433 | have hy (c : ℂ) : (![c • X t,Y t,T t]:Fin 3→Phase a)= update (![X t,Y t,T t]:Fin 3→_) 0 (c • X t) := by ext1 i; fin_cases i <;> simp |
| 434 | unfold K; rw [hy,f.map_update_smul,show update (![X t,Y t,T t]: Fin 3→_) 0 (X t) = ![X t,Y t,T t] by ext1 i; fin_cases i <;> simp]; rfl |
| 435 | have hj : L (![v,0,0]:Fin 3→_)=0 := L.toMultilinearMap.map_coord_zero 2 (show ((![v,0,0] : Fin 3 →_) 2)=0 from rfl) |
| 436 | simp_rw [hb]; rw [← hj]; refine L.cont.continuousAt.tendsto.comp (f:=K) (tendsto_pi_nhds.mpr fun i=> ?_); fin_cases i; exacts [h,he,ht] |
| 437 | |
| 438 | lemma cornell_peak (b x y : Fslot G) (a : PlaqAxes) (p k : Track) : Tendsto (fun t : ℝ => (t:ℂ)⁻¹ * cornell b x y (axes (t • p)) (axes (t • k)) a) cutRay (𝓝 (commaQ a b x y p k)) := by |
| 439 | let z := -(k+p) |
| 440 | have he (t : ℝ) : -(axes (t • k)+axes (t • p))=axes (t • z) := by unfold z; rw [smul_neg,smul_add]; ext; simp [axes] |
| 441 | let X (t : ℝ) := streamS a b (axes (t • p)) false; let Y (t : ℝ) := streamS a x (axes (t • z)) true; let T (t : ℝ) := streamS a y (axes (t • k)) true |
| 442 | let M (t : ℝ) := fanBlade a b (axes (t • p)); let N (t : ℝ) := fanBlade a x (axes (t • z)); let E (t : ℝ) := fanBlade a y (axes (t • k)) |
| 443 | let F t u := cluster peridot 0 2 ![X (t:ℝ),u] |
| 444 | let V (t : ℝ) := cluster peridot 0 2 ![Y t,T t] |
| 445 | have ht q r v : beat (pricePow G ∘ peridot) 0 3 ![q,r,v]=beat (pricePow G) 0 3 ![cluster peridot 0 1 ![q],cluster peridot 0 1 ![r],cluster peridot 0 1 ![v]]+ |
| 446 | (dotProduct (cluster peridot 0 2 ![q,r]) (cluster peridot 0 1 ![v])+dotProduct (cluster peridot 0 1 ![r]) (cluster peridot 0 2 ![q,v]))+ dotProduct (cluster peridot 0 1 ![q]) (cluster peridot 0 2 ![r,v]) := by |
| 447 | rw [upsurge _ _ peridot_green (by rw [peridot0]; exact peridot_live), peridot0, double_peak_cost, double_peak_cost, double_peak_cost, first_cost_peak, add_zero] |
| 448 | have hx t : cornell b x y (axes (t • p)) (axes (t • k)) a= beat (pricePow G) 0 3 ![M t,N t,E t]+dotProduct (M t) (V t)+dotProduct (N t) (F t (T t))+dotProduct (F t (Y t)) (E t) := by |
| 449 | unfold cornell; rw [he t, ht,curlPulse,curlPulse,curlPulse]; unfold M N E F X V Y T; abel |
| 450 | let W (t : ℝ) := beat (pricePow G) 0 3 ![M t,N t,E t] |
| 451 | simp_rw [hx,mul_add] |
| 452 | have h₁ : Tendsto (fun t : ℝ => (t:ℂ)⁻¹ * W t) cutRay (𝓝 0) := ternary_drops (knife_pulse a b p) (fan_dark a x z) (fan_dark a y k) |
| 453 | have h₂ := pearlRep _ (knife_pulse a b p) (fan_knits a x y true true z k) |
| 454 | have h₃ := pearlRep _ (knife_pulse a x z) (fan_knits a b y false true p k) |
| 455 | have h₄ := pearlRep _ (fan_knits a b x false true p z) (knife_pulse a y k) |
| 456 | simp_rw [smul_dotProduct,smul_eq_mul] at h₂ h₃; simp_rw [dotProduct_smul,smul_eq_mul] at h₄ |
| 457 | unfold commaQ; have ht := ((h₁.add h₂).add h₃).add h₄; rw [zero_add] at ht; exact ht |
| 458 | lemma corona_funded (b x y : Fslot G) (p k : Track) : Tendsto (fun t : ℝ => (t:ℂ)⁻¹ * perigee b x y (axes (t • p)) (axes (t • k))) cutRay (𝓝 (corona b x y p k)) := by |
| 459 | unfold corona perigee; simp_rw [mul_sum]; exact tendsto_finsetSum _ fun i _=> cornell_peak b x y i p k |
| 460 | end arcs |
| 461 | end YM.Stationary |
| 462 | end |
| 463 | |
| 464 | /-! |
| 465 | # Continuum cubic in raw left components. Common Color algebra, no signed |
| 466 | average on p order tests (link endpoints shift in matina). -/ |
| 467 | noncomputable section |
| 468 | namespace YM.Stationary |
| 469 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 470 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 471 | variable {G : Gauge} {P : Patch} {V : Jar G} {m : Side} {σ C : ℝ} |
| 472 | |
| 473 | section gamma |
| 474 | lemma ad_arc (x y : G.Color) : G.ad x y= -G.ad y x := by apply G.colorMat_injective; simp [map_neg] |
| 475 | lemma pearl_dotted (i : G.ColorIndex) (x : G.Color) : inner ℝ (pearl i) x=x i := by |
| 476 | rw [Work.F03.inner_color]; change ∑ j,(Pi.single i (1:ℝ) : Corn _) j * x j=x i; simp [Pi.single_apply,ite_mul] |
| 477 | lemma pearl_op (x y : G.Color) : dotProduct (axes (Lilts G x)) (axes (Lilts G y))=(inner ℝ x y:ℂ) := by |
| 478 | rw [Work.F03.inner_color,Complex.ofReal_sum]; unfold dotProduct; refine sum_congr rfl fun i _ => ?_; rw [Complex.ofReal_mul]; rfl |
| 479 | |
| 480 | def cosetR (i : G.ColorIndex) (x y : G.ColorIndex) := (G.ad (pearl i) (pearl y)) x |
| 481 | def tintX (i : G.ColorIndex) := of fun x y : G.ColorIndex => (cosetR i x y:ℂ) |
| 482 | lemma tintSwap (i j k : G.ColorIndex) : tintX i j k= -tintX i k j := by |
| 483 | simp only [tintX,cosetR,Matrix.of_apply,← Complex.ofReal_neg]; congr 1; rw [← pearl_dotted,← pearl_dotted,real_inner_comm,Gauge.ad_skew] |
| 484 | lemma tintWind (i j k : G.ColorIndex) : tintX i j k=tintX j k i := by rw [tintSwap]; simp only [tintX,cosetR,Matrix.of_apply]; rw [ad_arc (pearl i)]; change -((((-(G.ad _ _)) k):ℝ):ℂ)=_; simp |
| 485 | -- δ with incoming dims |
| 486 | |
| 487 | def deer (i j : Axis) : ℂ := if i=j then 1 else 0 |
| 488 | def tachy (p : Track) (i : Axis) := Complex.I * (p i:ℂ) |
| 489 | lemma blinkV (b c : Axis) : coord b=coord c ↔ b=c := axisEquiv.injective.eq_iff |
| 490 | lemma marble (p : Track) (b : Axis) (x : G.ColorIndex) (a : PlaqAxes) (y : Corn G.ColorIndex) : |
| 491 | dotProduct (pencil a (coord b,x) p) (axes y)=(tachy p a.val.1 * deer b a.val.2 - tachy p a.val.2 * deer b a.val.1)*(y x:ℂ) := by |
| 492 | have he j : dotProduct (axes (Lilts G (slatV (coord b,x) j))) (axes y)=deer b j*(y x:ℂ) := by |
| 493 | unfold deer slatV; simp only [blinkV]; by_cases h : b=j |
| 494 | · subst j; simp only [↓reduceIte]; rw [← show Lilts G ((Lilts G).symm y)=y from (Lilts G).apply_symm_apply y,pearl_op,pearl_dotted]; simp |
| 495 | simp [h,Ne.symm h] |
| 496 | unfold pencil; rw [sub_dotProduct,smul_dotProduct,smul_dotProduct,he,he]; unfold tachy; simp only [smul_eq_mul]; ring |
| 497 | |
| 498 | lemma breathOne (a : PlaqAxes) (i j : Axis) (x y : G.ColorIndex) : gemstone a (coord i,x) (coord j,y)=(if a.val=(i,j) then Lilts G (G.ad (pearl x) (pearl y)) else 0)+(if a.val=(j,i) then Lilts G (G.ad (pearl y) (pearl x)) else 0) := by |
| 499 | simp only [gemstone,map_add]; refine congr_arg₂ _ ?_ ?_ |
| 500 | · rcases a with ⟨⟨b,c⟩,p⟩; by_cases H:b=i <;> by_cases K:c=j <;> simp [slatV,H,K,blinkV] |
| 501 | rcases a with ⟨⟨b,c⟩,p⟩; by_cases H:b=j <;> by_cases K:c=i <;> simp [slatV,H,K,blinkV] |
| 502 | |
| 503 | lemma cornet (i j b : Axis) (x y z : G.ColorIndex) (p : Track) : ∑ a : PlaqAxes,dotProduct (pencil a (coord b,z) p) (axes (gemstone a (coord i,x) (coord j,y)))=(tachy p i*deer b j - tachy p j*deer b i)*tintX x z y := by |
| 504 | simp_rw [marble,breathOne] |
| 505 | rcases lt_trichotomy i j with hi|hi|hi |
| 506 | · let r : PlaqAxes:= ⟨(i,j),hi⟩; have he (a : PlaqAxes) : a.val ≠ (j,i) := fun h => let hx := a.property; by rw [h] at hx; exact hi.asymm hx |
| 507 | rw [sum_eq_single r] |
| 508 | · rw [if_pos rfl,if_neg (he _),add_zero]; rfl |
| 509 | · intro a _ ha; rw [if_neg (fun h=> ha (Subtype.ext h)),if_neg (he _)]; simp |
| 510 | simp |
| 511 | · have he (a : PlaqAxes) : a.val ≠ (j,j) := fun h=> let hp := a.property; by rw [h] at hp; exact (lt_irrefl j) hp |
| 512 | rw [hi]; simp [he] |
| 513 | let r : PlaqAxes:=⟨(j,i),hi⟩; have he (a : PlaqAxes) : a.val ≠ (i,j) := fun h=>let ha:=a.property; by rw [h] at ha; exact hi.asymm ha |
| 514 | rw [sum_eq_single r] |
| 515 | · rw [if_neg (he _), if_pos rfl, zero_add, ad_arc (pearl y), map_neg,Pi.neg_apply, Complex.ofReal_neg]; change (tachy p j*_ - _)* -(tintX x z y)=_; ring |
| 516 | · intro a _ ha; rw [if_neg (he _), if_neg (fun h=>ha (Subtype.ext h))]; simp |
| 517 | simp |
| 518 | lemma deer_round (i j : Axis) : deer i j=deer j i := by simp [deer,eq_comm] |
| 519 | lemma coronet (i j b : Axis) (x y z : G.ColorIndex) (p k : Track) : |
| 520 | corona (coord b,z) (coord i,x) (coord j,y) p k = (-(2*tachy k b+tachy p b)*deer i j + (tachy k j+ 2*tachy p j)*deer i b+(tachy k i-tachy p i)*deer j b)* tintX z x y := by |
| 521 | unfold corona commaQ; rw [sum_add_distrib,sum_add_distrib] |
| 522 | simp_rw [dotProduct_comm (axes _)]; rw [cornet, cornet, cornet, tintWind x z y,tintSwap z y x, deer_round b i, deer_round b j,deer_round j i]; unfold tachy; simp only [Pi.neg_apply, Pi.add_apply, Complex.ofReal_neg, Complex.ofReal_add]; ring |
| 523 | end gamma |
| 524 | end YM.Stationary |
| 525 | end |