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.Contact |
| 2 | |
| 3 | |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | /-! |
| 7 | # Two-wave authority over actual physical Fourier data. Pull to limit |
| 8 | with real arguments only. Γ continuation law never asserted on arbitrary |
| 9 | complex interpolation. `Flags` includes any torus sequence with winding. |
| 10 | -/ |
| 11 | noncomputable section |
| 12 | namespace YM.Stationary |
| 13 | open Function Filter Finset Lattice RG Wilson Exterior Precision Bloch Laurent |
| 14 | open Matrix (transpose mulVec of) |
| 15 | open scoped Matrix Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 16 | variable {G : Gauge} {ε : ℕ→ℝ} {n : ℕ → Side} {σ A : ℝ} |
| 17 | section march |
| 18 | variable {F : ∀ i, Link G (n i)→ℝ} {f : Picture G 1} (h : ∀ i j, Firm σ A (f i j)) |
| 19 | (hf : ∀ p,Recorded f (F p) (cents (n p)* ε p)) |
| 20 | |
| 21 | include h |
| 22 | /-- Signed action REAL (basis symmetry). No translation needed if recorded. |
| 23 | Requires rotation of the SCALAR score. -/ |
| 24 | lemma signed_crumb (s : Signed) {m : Side} {L : Link G m → ℝ} {e : ℝ} |
| 25 | (hL : AnalyticAt ℝ L 0) (hp : Recorded f L e) (hv : L ∘ (orderTurn s)=ᶠ[𝓝 0] L) : |
| 26 | Recorded (rotPix s f) L e := by |
| 27 | intro p i b |
| 28 | let r := s.perm.symm ∘ axisEquiv.symm ∘ b |
| 29 | have hh : (fun j => coord (s.perm (r j)))=b := by |
| 30 | ext1 j; simp only [r,Function.comp_apply,s.perm.apply_symm_apply]; exact axisEquiv.apply_symm_apply _ |
| 31 | let k := s⁻¹.act ∘ p |
| 32 | let X := ∏ j, reflectFee s (mon (p j)) (r j) |
| 33 | have ht : noteAt L _ (glyph p i b)= X * noteAt L _ (glyph k i (coord ∘ r)) := by |
| 34 | have he := priceNote L hL s p i r |
| 35 | rw [show noteAt (L ∘ orderTurn (m:=m) (G:=G) s) (1+1) = noteAt L (1+1) by unfold noteAt beat; rw [(hv.iteratedFDeriv ℝ (1+1)).eq_of_nhds], hh] at he; exact he |
| 36 | have hK : ∑ j,k j=s⁻¹.act (∑ j,p j) := (map_sum (s⁻¹.actEquiv (R:=Per m)) p univ).symm |
| 37 | have he : collected (rotPix s f) p i b=X*collected f k i (coord ∘ r) := by |
| 38 | unfold collected |
| 39 | have hP : (∑ j,k j)=0 ↔ (∑ j,p j)=0 := by |
| 40 | rw [hK]; conv_lhs => rhs; rw [← show s⁻¹.act 0=(0:Site m) from Signed.act_zero _] |
| 41 | exact s⁻¹.act_injective.eq_iff |
| 42 | simp only [hP]; split <;> rename_i h0 |
| 43 | · have hi := rotate_lifts s p _ (rolls.refl (outphase p)) |
| 44 | have hq := h i (coord ∘ r) |
| 45 | have hy := path_roll s p h0 _ (rolls.refl (outphase p)) r |
| 46 | rw [hi.apply hq (hq.in_range (out_real k))]; unfold X rotPix; simp_rw [← hy]; exact mul_left_comm .. |
| 47 | rw [mul_zero] |
| 48 | rw [ht, he, ← mul_sub, norm_mul]; rw [show ‖X‖=1 by simp [X,reflect_size],one_mul]; exact hp .. |
| 49 | |
| 50 | include h hf |
| 51 | lemma turn_stage (hs : Tendsto (fun i => (n i).val) atTop atTop) (hp : Tendsto ε atTop (𝓝 0)) |
| 52 | (s : Signed) (hq : ∀ i, AnalyticAt ℝ (F i) 0) (he : ∀ i, F i ∘ orderTurn (G:=G) (m:=n i) s=ᶠ[𝓝 0] F i) (p : Corn (Keys 1)) (i j) : |
| 53 | f i j (axes p)=rotPix s f i j (axes p) := by |
| 54 | obtain ⟨u,v,H,e⟩ := fleet n hs (axes p) (axes_real p) |
| 55 | exact tendsto_nhds_unique (harvest h hf hp p u v H e i j) (harvest (pix_firm s h) (fun i => signed_crumb h s (hq i) (hf i) (he i)) hp p u v H e i j) |
| 56 | lemma cross_stage (hs : Tendsto (fun i => (n i).val) atTop atTop) (hp : Tendsto ε atTop (𝓝 0)) |
| 57 | (hx : ∀ i, AnalyticAt ℝ (F i) 0) (p : Corn (Keys 1)) (i l : G.ColorIndex) (a b : TypeFace 1) : |
| 58 | f ![i,l] ![a,b] (axes p)=f ![l,i] ![b,a] (axes (-p)) := by |
| 59 | let d : Equiv.Perm (Fin 2) := Equiv.swap 0 1 |
| 60 | obtain ⟨P,V,hV,hy⟩ := fleet n hs (axes p) (axes_real p) |
| 61 | let Q (x : ℕ) := P x ∘ d |
| 62 | have hu t : ∑ i, Q t i=0 ∧ rolls (outphase (Q t)) (-V t) := by |
| 63 | have ht : Q t=-P t := by |
| 64 | have he := hy t |>.1 |
| 65 | rw [show ∑ i, P t i = P t 0+P t 1 from Fin.sum_univ_two _] at he |
| 66 | ext1 i; fin_cases i |
| 67 | · exact eq_neg_of_add_eq_zero_right he |
| 68 | exact eq_neg_of_add_eq_zero_left he |
| 69 | exact ⟨(Equiv.sum_comp d (P t)).trans (hy t).1,by rw [ht]; exact (reflection_negative _).trans (hy t).2.neg⟩ |
| 70 | have hm := harvest h hf hp p P V hV hy ![i,l] ![a,b] |
| 71 | have he t : standing n F Q ![l,i] ![b,a] t= standing n F P ![i,l] ![a,b] t := by |
| 72 | unfold standing; congr 1 |
| 73 | rw [show glyph (Q t) ![l,i] ![b,a]=glyph (P t) ![i,l] ![a,b] ∘ d from funext (fun x => by fin_cases x <;> rfl)] |
| 74 | exact note_perm _ (hx t) _ d |
| 75 | refine tendsto_nhds_unique hm ?_ |
| 76 | rw [← funext he] |
| 77 | exact harvest h hf hp (-p) Q _ (axes_flip p |>.symm ▸ hV.neg) hu ![l,i] ![b,a] |
| 78 | end march |
| 79 | end YM.Stationary |
| 80 | end |
| 81 | |
| 82 | /-! # Leading Ward jets in external positive oriented two-links. Precision |
| 83 | and coefficient differ by TWO. Real p/tips. Symmetries passed through limit |
| 84 | from actual meshes using `harvest`; no continuous stationarity postulate. |
| 85 | -/ |
| 86 | noncomputable section |
| 87 | namespace YM.Stationary |
| 88 | open Function Filter Finset Lattice RG Wilson Exterior Precision Bloch Laurent |
| 89 | open Matrix (transpose mulVec of) |
| 90 | open scoped Matrix Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 91 | variable {G : Gauge} {σ A : ℝ} |
| 92 | |
| 93 | abbrev Track := Corn Axis |
| 94 | def roads : Track ≃L[ℝ] Corn (Keys 1) := LinearEquiv.toContinuousLinearEquiv { |
| 95 | toFun x := x ∘ Prod.snd |
| 96 | invFun p := fun j => p (0,j) |
| 97 | map_add' _ _ := rfl |
| 98 | map_smul' _ _ := rfl |
| 99 | left_inv _ := rfl |
| 100 | right_inv p := funext fun ⟨j,i⟩ => by fin_cases j; rfl |
| 101 | } |
| 102 | |
| 103 | def pressLens (f : Picture G 1) (i : Ink G 2) (a b : Axis) (p : Track) : ℂ := f i ![coord a,coord b] (axes (roads p)) |
| 104 | lemma priceL {f : Picture G 1} (h : ∀ i j,Firm σ A (f i j)) (i a b) : AnalyticAt ℝ (pressLens f i a b) 0 := |
| 105 | ((h _ _).analytic_real (roads 0)).comp (roads.analyticAt _) |
| 106 | def speedy {X Y : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 107 | (f : X → Y) (t : ℕ) : X → Y := Tensor.diagonal (Tensor.coeff f t 0) |
| 108 | |
| 109 | variable {f : Picture G 1} (h : Features f σ A) |
| 110 | include h |
| 111 | lemma trim_zero (i a b) : Rays 1 (pressLens f i a b) := by |
| 112 | intro p |
| 113 | have he : Rays 1 (f i ![coord a,coord b] ∘ axes) := rayDark i ![coord a,coord b] (by decide) h.solid (fun i a b => by |
| 114 | intro v; apply Asymptotics.IsBigO.congr_left (Asymptotics.isBigO_zero ..); intro u |
| 115 | change (0:ℂ)=_ |
| 116 | exact (h.wall i (u • v) b a).symm) |
| 117 | have hp := he (roads p); unfold pressLens; simp_rw [map_smul]; exact hp |
| 118 | lemma pay_corner (i a b k) (hp : Rays k (pressLens f i a b)) (p) : Tendsto (fun v : ℝ => (v^k)⁻¹ • f i ![coord a,coord b] (axes (roads (v • p)))) cutRay |
| 119 | (𝓝 (speedy (pressLens f i a b) k p)) := ray_limit (priceL h.solid ..) hp _ |
| 120 | |
| 121 | -- Leading right contraction at every order (with simultaneous lower jets killed) |
| 122 | lemma precipice (u : Ink G 2) {r} (hp : ∀ i j,Rays r (pressLens f u i j)) (p : Track) (i : Axis) : |
| 123 | ∑ x : Axis, (p x : ℂ) * speedy (pressLens f u i x) r p=0 := by |
| 124 | let a : Run 2 := ![coord i,coord i] |
| 125 | let F x : Corn (Keys 1) → ℂ := fun k => speedy (pressLens f u i (axisEquiv.symm x)) r (roads.symm k) |
| 126 | have H (x : Axis) : update a (0:Fin 1).succ (axisEquiv x)=![coord i,coord x] := by ext1 j; fin_cases j <;> simp [a] |
| 127 | have hx := ring_ray f u a F (0:Fin 1) (fun a p => ?_) (?_ : Rays (r+1+1) (crux u a _ f ∘ axes)) (roads p) |
| 128 | · have he x : F (coord x) (roads p)=_ := (show F (coord x) (roads p) = speedy (pressLens f u i x) r p by |
| 129 | unfold F; rw [← coord_map, axisEquiv.symm_apply_apply, roads.symm_apply_apply]) |
| 130 | simp_rw [he] at hx; exact hx |
| 131 | · obtain ⟨x,rfl⟩ := axisEquiv.surjective a; obtain ⟨P,rfl⟩ := roads.surjective p |
| 132 | unfold F; rw [H,roads.symm_apply_apply,axisEquiv.symm_apply_apply] |
| 133 | simpa only [map_smul,Complex.real_smul,Complex.ofReal_inv,Complex.ofReal_pow] using pay_corner h _ _ _ _ (hp i x) P |
| 134 | intro v; apply (Asymptotics.isBigO_zero ..).congr_left; intro b; exact (h.wall u (b • v) _ _).symm |
| 135 | |
| 136 | -- unsigned means *all* +. Flips conditioned by allowed policy. |
| 137 | def signStar (s : Signed) (k : Axis) : ℂ := if s.flip k then -1 else 1 |
| 138 | structure TributeColor (f : Picture G 1) (σ A : ℝ) (admitS : Signed → Prop) : Prop extends Features f σ A where |
| 139 | perm (p : Track) (u v : G.ColorIndex) (a b : Axis) : pressLens f ![u,v] a b p=pressLens f ![v,u] b a (-p) |
| 140 | law (p : Corn (Keys 1)) (i a) (s : Signed) : admitS s → f i a (axes p)=rotPix s f i a (axes p) |
| 141 | |
| 142 | omit h |
| 143 | variable {adm : Signed→Prop} |
| 144 | lemma tributing {m : ℕ→ Side} {F : ∀ i, Link G (m i) → ℝ} {ε : ℕ→ℝ} (hm : Tendsto (fun i => (m i).val) atTop atTop) |
| 145 | (he : ∀ i j,Firm σ A (f i j)) (hd : Tendsto ε atTop (𝓝 0)) (hf : ∀ i, Recorded f (F i) (cents (m i)*ε i)) |
| 146 | (hA : ∀ i, AnalyticAt ℝ (F i) 0) (hV : ∀ i, force (F i)) (hp : ∀ i, Stained G (F i)) (ht : ∀ i, Quiets (F i) (1+1)) (hW : ∀ p, ∀ s : Signed, adm s → F p ∘ orderTurn (G:=G) (m:=m p) s=ᶠ[𝓝 0] F p) : TributeColor f σ A adm := { |
| 147 | toFeatures := withdrew hm hd he hf hA hp hV ht |
| 148 | perm := fun p u v a b => by unfold pressLens; rw [map_neg]; exact cross_stage he hf hm hd hA .. |
| 149 | law := fun p i a s hs => turn_stage he hf hm hd s hA (fun i => hW i s hs) p i a } |
| 150 | |
| 151 | namespace TributeColor |
| 152 | variable (heW : TributeColor f σ A adm) |
| 153 | include heW |
| 154 | lemma leading_shift {r : ℕ} {s : Signed} (ht : adm s) (i) (hp : ∀ a b, Rays r (pressLens f i a b)) (a b : Axis) (p : Track) : |
| 155 | speedy (pressLens f i (s.perm a) (s.perm b)) r (s.act p)= signStar s a*signStar s b* speedy (pressLens f i a b) r p := by |
| 156 | let L (v : ℝ) (k j : Axis) := reflectFee s (axes ((v • p) : Track)) k * reflectFee s (axes ((v • p) : Track)) j |
| 157 | let z (v : ℝ) := v • s.act p |
| 158 | let K (j : Fin (1+1)) (v : ℝ) := reflectFee s (plotted (axes (roads (z v))) j) (![a,b] j) |
| 159 | have he (j) : Tendsto (K j) cutRay (𝓝 (signStar s (![a,b] j))) := by |
| 160 | let g : Corn (Keys 1) → ℂ := fun x => reflectFee s (plotted (axes x) j) (![a,b] j) |
| 161 | have hh := (reflect_firm s (σ:=1) (by norm_num) j (![a,b] j)).analytic_real 0 |
| 162 | have hp' := hh.continuousAt.tendsto.comp (along (roads (s.act p))) |
| 163 | have ht : plotted (axes 0) j = 0 := by refine Fin.cases ?_ (fun _ => ?_) j <;> simp [plotted,missing,axes_origin,projected] |
| 164 | unfold K; simp only [z,map_smul]; simpa only [Function.comp_apply, ht, reflectFee, mode_constant,signStar] using! hp' |
| 165 | have hb := (he 0 |>.mul (he 1)).mul (pay_corner heW.toFeatures i a b r (hp a b) p) |
| 166 | apply tendsto_nhds_unique (pay_corner heW.toFeatures i (s.perm a) (s.perm b) r (hp _ _) (s.act p)) |
| 167 | refine hb.congr' ?_ |
| 168 | filter_upwards with v |
| 169 | have H : f i ![coord (s.perm a),coord (s.perm b)] (axes (roads (z v)))= |
| 170 | K 0 v*K 1 v*f i ![coord a,coord b] (axes (roads (v • p))) := by |
| 171 | rw [heW.law _ _ _ s ht]; unfold rotPix; dsimp only |
| 172 | rw [show s.perm.symm ∘ axisEquiv.symm ∘ ![coord (s.perm a),coord (s.perm b)]=![a,b] by |
| 173 | ext1 j; fin_cases j <;> simp [← coord_map]] |
| 174 | have hp : rotatePhase s (axes (roads (z v)))=axes (roads (v • p)) := by |
| 175 | ext1 ⟨i,j⟩; unfold rotatePhase; rw [show projected (strand i) (axes _) = s.act (axes (v • p)) by |
| 176 | ext1 k; obtain ⟨k,rfl⟩ := s.perm.surjective k; change ((z v (s.perm k)):ℂ) = _; rw [s.act_at]; unfold z; simp only [Pi.smul_apply,s.act_at]; split <;> simp [axes]] |
| 177 | rw [s.inv_act]; rfl |
| 178 | rw [hp,Fin.prod_univ_two,show coord ∘ ![a,b]=![coord a, coord b] by ext1 j; fin_cases j <;> rfl] |
| 179 | rw [H]; simp only [Complex.real_smul]; ring |
| 180 | |
| 181 | lemma mirrors {r : ℕ} (hz : ∀ i j a,Rays r (pressLens f i j a)) (u v : G.ColorIndex) (a b) (p : Track) : |
| 182 | speedy (pressLens f ![u,v] a b) r p= speedy (pressLens f ![v,u] b a) r (-p) := by |
| 183 | have ht := ray_limit (priceL heW.solid ![u,v] a b) (hz _ _ _) p |
| 184 | have hu := ray_limit (priceL heW.solid ![v,u] b a) (hz _ _ _) (-p) |
| 185 | simp_rw [smul_neg, ← heW.perm] at hu; exact tendsto_nhds_unique ht hu |
| 186 | lemma paired_rule {r : ℕ} (hp : ∀ i a b, Rays r (pressLens f i a b)) (u : Ink G 2) (p : Track) (i : Axis) : |
| 187 | ∑ x : Axis, (p x : ℂ) * speedy (pressLens f u x i) r p=0 := by |
| 188 | have hv := precipice heW.toFeatures ![u 1,u 0] (hp _) (-p) i |
| 189 | simp only [Pi.neg_apply,Complex.ofReal_neg, neg_mul] at hv |
| 190 | simp_rw [← heW.mirrors hp (u 0) (u 1)] at hv |
| 191 | rw [sum_neg_distrib,neg_eq_zero,show ![u 0,u 1]=u by ext1 i; fin_cases i <;> rfl] at hv; exact hv |
| 192 | end TributeColor |
| 193 | end YM.Stationary |
| 194 | end |
| 195 | |
| 196 | /-! |
| 197 | # Change at infinite Fourier volume. Takes actual mesh identities and |
| 198 | angle costs. No asymptotic needed for rooting costs. |
| 199 | -/ |
| 200 | noncomputable section |
| 201 | namespace YM.Stationary |
| 202 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree Asymptotics |
| 203 | open scoped Topology ContDiff BigOperators |
| 204 | variable {ι β : Type} [Fintype ι] [DecidableEq ι] [Fintype β] [DecidableEq β] {G : Gauge} {σ θ A C D γ η : ℝ} {m : ℕ→Side} |
| 205 | |
| 206 | lemma stock_sway {F : Momentum→Momentum→ℂ} (h : Firm σ A (starTrack F)) (hm : Tendsto (fun i => (m i).val) atTop atTop) {p : Momentum} (hp : star p=p) (q : ℕ→Momentum) (he : Tendsto q atTop (𝓝 p)) (hv : ∀ i,star (q i)=q i) : |
| 207 | Tendsto (fun i => shop (m i) (F (q i))) atTop (𝓝 (stock (F p))) := by |
| 208 | have hs := h.width_pos |
| 209 | let f := fun p => stock (F p) |
| 210 | have hx : ContinuousAt f p := by |
| 211 | have ht := fireworks F h (b:=σ/2) (by linarith) (by linarith) |
| 212 | exact (ht.1.hol p (ht.in_range hp)).continuousAt |
| 213 | let g i := shop (m i) (F (q i)) |
| 214 | have hf : Tendsto (fun i => g i-f (q i)) atTop (𝓝 0) := by |
| 215 | rw [tendsto_zero_iff_norm_tendsto_zero]; refine squeeze_zero (fun _ => norm_nonneg _) (fun i => (stock_take F h (Work.F07.realStrip _ hs (hv i))).tryout (m i)) (mesh_tend _ hm (by linarith : 0 < σ/4)) |
| 216 | have hh := hf.add (hx.tendsto.comp he) |
| 217 | rw [zero_add] at hh; simpa only [Function.comp_apply, Pi.add_apply, sub_add_cancel] using hh |
| 218 | |
| 219 | lemma tax_cont (B : Bed) (h : B.metric.strip σ A) (hp : 0<σ) (x : Loc G 1) (v : Momentum) (hx : star v=v) (i : Loc G 1) : ContinuousAt (fun v => taxTone G B v x i) v := by |
| 220 | let F z := rug G B z i x |
| 221 | have he : ContinuousAt F v := ((rug_played B h hp).shape (Work.F07.realStrip _ hp hx) i x).continuousAt |
| 222 | simp_rw [taxTone,Pi.neg_apply,Matrix.mulVec_single_one]; exact he.neg |
| 223 | lemma tax_ray (B : Bed) (h : B.metric.strip σ A) (hp : 0<σ) (x i : Loc G 1) : Rays 2 (fun k : Track => taxTone G B (axes k) x i) := by |
| 224 | simp_rw [taxTone,Pi.neg_apply,Matrix.mulVec_single_one] |
| 225 | have he p : rug G B p=tintedLocal G (dcross B.metric p) := by simp only [rug,pageD,tessH,dcross,tinted_pay,tinted_flip] |
| 226 | simp_rw [he, tintedLocal]; change Rays 2 (fun k : Track=> -(if i.2=x.2 then dcross B.metric (axes k) i.1 x.1 else 0)); split |
| 227 | · have hv u v : Rays 0 (fun p : Corn Axis => B.metric.read (axes p) u v-(0:FaceRow).read (axes p) u v) := by |
| 228 | have he p : (0:FaceRow).read p u v=0 := by simp [Row.read,Laurent.read] |
| 229 | simp_rw [he,sub_zero]; exact rays_zero ((price_step_metric hp h u v).analytic_real _) |
| 230 | have hz p : dcross (0:FaceRow) p=0 := by |
| 231 | unfold dcross; rw [show (0:FaceRow).read p=0 by ext i j; simp [Row.read,Laurent.read]]; simp |
| 232 | intro v; have hh := bed_gain _ _ hv i.1 x.1 v; simp_rw [hz,Matrix.zero_apply,sub_zero] at hh; exact hh.neg_left |
| 233 | simp only [neg_zero]; intro v; exact isBigO_zero .. |
| 234 | |
| 235 | section budget |
| 236 | variable {F : Film (ScoreBoard G) β β} (hp : 0<σ) (h : Play F σ) |
| 237 | include h hp |
| 238 | lemma star_analytic (x y) (z : Track) : AnalyticAt ℝ (fun p : Track=> stock (hatchTrace F x y (axes p))) z := by obtain ⟨A,hA⟩ := trace_spot hp h x y; exact ((fireworks (hatchTrace F x y) hA (b:=σ/8) (by linarith) (by linarith))).analytic_real z |
| 239 | |
| 240 | lemma alpha_night (hm : Tendsto (fun i=> (m i).val) atTop atTop) (j : Loc G 1) |
| 241 | (hs : ∀ i,∀ p : Site (m i),∀ q, rolls (mon p) q → ∀ x : Phase (Loc G 0), (∑ u : Loc G 1,(pageD G 0 (-q)*ᵥ x) u*shop (m i) (hatchTrace F (.inl u) (.inr j) q))=0) : |
| 242 | ∀ p : Momentum, star p=p → ∀ x : Phase (Loc G 0),(∑ u : Loc G 1,(pageD G 0 (-p)*ᵥ x) u*stock (hatchTrace F (.inl u) (.inr j) p))=0 := by |
| 243 | intro p hp' x |
| 244 | obtain ⟨k,v,hK,hv⟩ := mesh_stride m hm p hp' |
| 245 | have hb (u : Loc G 1) : _ := trace_spot hp h (.inl u) (.inr j) |
| 246 | have hx u : ContinuousAt (fun p => (pageD G 0 (-p)*ᵥ x) u) p := by |
| 247 | let H : Poster σ (pageD G 0) := page_linen _ |
| 248 | have hh i := ((H.shape (negResident (Work.F07.realStrip _ hp hp')) u i).continuousAt).comp continuous_neg.continuousAt |
| 249 | exact tendsto_finsetSum univ fun i _ => (hh i|>.mul_const (x i)).tendsto |
| 250 | choose L hL using hb |
| 251 | have hl := tendsto_finsetSum univ fun u _ => ((hx u).tendsto.comp hK).mul (stock_sway (hL u) hm hp' v hK (fun i => (hv i).metric (real_frequency _))) |
| 252 | refine tendsto_nhds_unique_of_eventuallyEq hl tendsto_const_nhds (Eventually.of_forall fun i => ?_) |
| 253 | exact hs _ _ _ (hv i) _ |
| 254 | lemma star_low (j : Loc G 1) (hX : ∀ p : Momentum, star p=p → ∀ x : Phase (Loc G 0),(∑ u : Loc G 1,(pageD G 0 (-p)*ᵥ x) u*stock (hatchTrace F (.inl u) (.inr j) p))=0) (i : Loc G 1) : |
| 255 | Rays 1 (fun p : Track=> stock (hatchTrace F (.inl i) (.inr j) (axes p))) := by |
| 256 | apply (rays_at_zero (star_analytic hp h _ _ 0)).2 |
| 257 | let w : Axis := axisEquiv.symm i.1 |
| 258 | let x : Phase (Loc G 0) := Pi.single (vac,i.2) 1 |
| 259 | let M (p : Track) := stock (hatchTrace F (.inl i) (.inr j) (axes p)) |
| 260 | have he t : Exterior.q (axes (-(t:ℝ) • step w)) w * M (t • step w)=0 := by |
| 261 | have ht : axes (-(t:ℝ) • step w) = - axes (t • step w) := by rw [neg_smul,axes_flip] |
| 262 | rw [ht] |
| 263 | let z : Momentum := axes (t • step w) |
| 264 | have hv := hX z (axes_real _) x |
| 265 | rw [sum_eq_single i, curtain, show x (vac,i.2)=1 by simp [x],mul_one] at hv |
| 266 | exact hv |
| 267 | · intro b _ hz; rcases b with ⟨u,l⟩; rw [curtain]; by_cases h : i.2=l; swap; · simp [x, Pi.single_apply,h,Ne.symm h] |
| 268 | have he : axisEquiv.symm u≠w := by |
| 269 | intro he; apply hz; exact Prod.ext (axisEquiv.symm.injective he) h.symm |
| 270 | rw [show Exterior.q (-z) (axisEquiv.symm u)=0 by simp [Exterior.q,z,axes,he]]; simp |
| 271 | simp |
| 272 | have hv : ∀ᶠ t : ℝ in cutRay, M (t • step w) =0 := by |
| 273 | have hu := divisor_nonzero (r:=0) (-1) (by norm_num) |
| 274 | filter_upwards [hu] with t ht |
| 275 | exact (mul_eq_zero.mp (he t)).resolve_left (by simpa [Exterior.q,axes] using ht) |
| 276 | exact tendsto_nhds_unique_of_eventuallyEq ((star_analytic hp h (.inl i) (.inr j) 0).continuousAt.tendsto.comp (along (step w))) tendsto_const_nhds hv |
| 277 | |
| 278 | variable {Y : Award G} (B : Bed) (ht : B.metric.strip γ D) (hC : Screened Y η C) |
| 279 | include ht hC |
| 280 | lemma active (hv : 0<γ) (hm : Tendsto (fun i=> (m i).val) atTop atTop) (i j : Loc G 1) |
| 281 | (H : ∀ l,∀ u : Site (m l),∀ q, rolls (mon u) q → |
| 282 | let x := taxTone G B (-q) i |
| 283 | let y := taxTone G B q j |
| 284 | shop (m l) (Y i j q)= (1/2:ℂ)*( |
| 285 | ((∑ a,y a * shop (m l) (hatchTrace F (.inl i) (.inr a) q)) + (∑ a,x a * shop (m l) (hatchTrace F (.inl j) (.inr a) (-q)))) - |
| 286 | (1/2:ℂ)* ∑ a,x a*∑ b,y b*shop (m l) (hatchTrace (F.pay F) (.inr a) (.inr b) q))) : |
| 287 | ∀ q : Momentum,star q=q → |
| 288 | let x := taxTone G B (-q) i; let y := taxTone G B q j |
| 289 | stock (Y i j q)= (1/2:ℂ)*( |
| 290 | ((∑ a,y a * stock (hatchTrace F (.inl i) (.inr a) q)) + (∑ a,x a * stock (hatchTrace F (.inl j) (.inr a) (-q)))) - |
| 291 | (1/2:ℂ)* ∑ a,x a*∑ b,y b*stock (hatchTrace (F.pay F) (.inr a) (.inr b) q)) := by |
| 292 | intro q hq |
| 293 | obtain ⟨l,k,hl,hL⟩ := mesh_stride m hm q hq |
| 294 | have hq' : star (-q)=-q := by rw [star_neg,hq] |
| 295 | have hx v := tax_cont B ht hv i (-q) hq' v |
| 296 | have hy v := tax_cont B ht hv j q hq v |
| 297 | have he (i : ℕ) := (hL i).metric (real_frequency _) |
| 298 | have hg (i) : star (-(k i))= -(k i) := by rw [star_neg, he] |
| 299 | have hi a : Tendsto (fun i'=> shop (m i') (hatchTrace F (.inl i) (.inr a) (k i'))) atTop (𝓝 (stock (hatchTrace F (.inl i) (.inr a) q))) := by |
| 300 | obtain ⟨b,hb⟩ := trace_spot hp h (.inl i) (.inr a); exact stock_sway hb hm hq k hl he |
| 301 | have hV a : Tendsto (fun i' => shop (m i') (hatchTrace F (.inl j) (.inr a) (-k i'))) atTop (𝓝 (stock (hatchTrace F (.inl j) (.inr a) (-q)))) := by |
| 302 | obtain ⟨b,hb⟩ := trace_spot hp h (.inl j) (.inr a); exact stock_sway hb hm hq' (fun i => -k i) hl.neg hg |
| 303 | have hM a b : Tendsto (fun i' => shop (m i') (hatchTrace (F.pay F) (.inr a) (.inr b) (k i'))) atTop (𝓝 (stock (hatchTrace (F.pay F) (.inr a) (.inr b) q))) := by |
| 304 | obtain ⟨c,hc⟩ := trace_spot hp (h.pay h) (.inr a) (.inr b); exact stock_sway hc hm hq k hl he |
| 305 | have hY := tendsto_finsetSum univ fun i _ => ((hy i).tendsto.comp hl).mul (hi i) |
| 306 | have hh := tendsto_finsetSum univ fun i _ => ((hx i).tendsto.comp hl.neg).mul (hV i) |
| 307 | have hQ := tendsto_finsetSum univ fun i _ => ((hx i).tendsto.comp hl.neg).mul (tendsto_finsetSum univ fun j _ => ((hy j).tendsto.comp hl).mul (hM i j)) |
| 308 | dsimp only |
| 309 | exact tendsto_nhds_unique_of_eventuallyEq (stock_sway (hC.earns i j) hm hq _ hl he) (((hY.add hh).sub (tendsto_const_nhds.mul hQ)) |>.const_mul (1/2:ℂ)) (Eventually.of_forall fun i => H _ _ (k i) (hL i)) |
| 310 | end budget |
| 311 | end YM.Stationary |
| 312 | end |
| 313 | |
| 314 | /-! |
| 315 | # Both-leg soft Ward. Even on the fine field (no signed transform |
| 316 | required), Hess action kernel has no O(1), O(p) momentum jet after |
| 317 | passing to actual period-limit. Do not rely on inverting p. -/ |
| 318 | noncomputable section |
| 319 | namespace YM.Stationary |
| 320 | open Function Filter Finset Lattice RG Wilson Exterior Precision Bloch Laurent |
| 321 | open Matrix (transpose mulVec of) |
| 322 | open scoped Matrix Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 323 | variable {G : Gauge} {σ A : ℝ} |
| 324 | |
| 325 | def Unsigned (s : Signed) := ∀ i,s.flip i=false |
| 326 | |
| 327 | def platey (s : Equiv.Perm Axis) : Signed := ⟨s,fun _ => false⟩ |
| 328 | lemma switched_unit (s : Signed) (i : Axis) : s.act (step i:Track)= if s.flip i then -(step (s.perm i)) else step (s.perm i) := by |
| 329 | funext j; obtain ⟨j,rfl⟩ := s.perm.surjective j |
| 330 | rw [s.act_at]; by_cases h : j=i <;> cases hi : s.flip i <;> simp [*] |
| 331 | lemma natural_step (s : Equiv.Perm Axis) (i : Axis) : (platey s).act (step i:Track)=step (s i) := by rw [switched_unit]; rfl |
| 332 | |
| 333 | variable {adm : Signed → Prop} {f : Picture G 1} (H : TributeColor f σ A adm) |
| 334 | include H |
| 335 | namespace TributeColor |
| 336 | lemma crop_edict (ha : ∀ s, Unsigned s → adm s) : ∀ i a b, Rays 2 (pressLens f i a b) := by |
| 337 | intro i a b |
| 338 | let K x y := fderiv ℝ (pressLens f i x y) 0 |
| 339 | have he x y (p : Track) : speedy (pressLens f i x y) 1 p=K x y p := by simp [speedy,Tensor.diagonal,Tensor.coeff,iteratedFDeriv_one_apply,K] |
| 340 | have hC j x y := trim_zero H.toFeatures j x y |
| 341 | have hu (x) (p : Track) : ∑ j : Axis,(p j:ℂ)*K x j p=0 := by |
| 342 | have ht := precipice H.toFeatures i (hC i) p x; simp_rw [he] at ht; exact ht |
| 343 | have hv (x) (p : Track) : ∑ j : Axis,(p j:ℂ)*K j x p=0 := by |
| 344 | have ht := H.paired_rule hC i p x; simp_rw [he] at ht; exact ht |
| 345 | have hp j k : K k j (step j)=0 := by |
| 346 | simpa [apply_ite ((↑):ℝ→ℂ),ite_mul] using hu k (step j) |
| 347 | have hx j k : K j k (step j)=0 := by |
| 348 | simpa [apply_ite ((↑):ℝ→ℂ),ite_mul] using hv k (step j) |
| 349 | have hq (j k i) : K j k (step i)+ K j i (step k)=0 := by |
| 350 | have ht := hu j (step k+step i) |
| 351 | simpa [map_add,apply_ite ((↑):ℝ→ℂ),add_mul,ite_mul,hp, Finset.sum_add_distrib] using ht |
| 352 | have hl (j : Axis) : K a b (step j)=0 := by |
| 353 | by_cases h : b=j |
| 354 | · rw [h,hp] |
| 355 | by_cases hh : a=j |
| 356 | · rw [hh,hx] |
| 357 | by_cases hi : a=b |
| 358 | · rw [← hi]; simpa [hx] using hq a a j |
| 359 | let s := platey (Equiv.swap b j) |
| 360 | have hu : Unsigned s := fun _ => rfl |
| 361 | have ht := H.leading_shift (ha s hu) i (hC i) a b (step j) |
| 362 | rw [he,he,show s.perm a=a from Equiv.swap_apply_of_ne_of_ne hi hh,show s.perm b=j from Equiv.swap_apply_left ..,show s.act (step j:Track)=_ from natural_step _ _, show Equiv.swap b j j=b from Equiv.swap_apply_right .., show signStar s a=1 from rfl,show signStar s b=1 from rfl,one_mul,one_mul] at ht |
| 363 | have hv := hq a b j; rw [ht,← two_mul] at hv; exact (mul_eq_zero.mp hv).resolve_left (by norm_num) |
| 364 | apply (rays_jet (priceL H.solid ..) 2).2 |
| 365 | intro j hj |
| 366 | interval_cases j |
| 367 | · exact (rays_jet (priceL H.solid ..) _).1 (hC i a b) _ Nat.zero_lt_one |
| 368 | ext1 p; rw [iteratedFDeriv_one_apply]; change K a b _=0; rw [← show ∑ j,(p 0 j) • (step j : Track)= p 0 from ?_,map_sum]; simp [hl] |
| 369 | funext j; simp [Finset.sum_apply, mul_ite] |
| 370 | end TributeColor |
| 371 | |
| 372 | omit H |
| 373 | lemma roads_extent {t} {q : Space 1 → ℂ} (h : Rays t (fun p : Track => q (axes (roads p)))) : Rays t (q ∘ axes) := by |
| 374 | intro p; obtain ⟨p,rfl⟩ := roads.surjective p; have he := h p; simp only [map_smul] at he; exact he |
| 375 | end YM.Stationary |
| 376 | end |
| 377 | |
| 378 | /-! # Real and Ad-invariant color jets. Only symmetric color bilinear |
| 379 | forms here, in diagonal *axis* entries at even leading orders. -/ |
| 380 | noncomputable section |
| 381 | namespace YM.Stationary |
| 382 | open Function Filter Finset Lattice RG Wilson Exterior Precision Bloch Laurent |
| 383 | open Matrix (transpose mulVec of) |
| 384 | open scoped Matrix Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 385 | variable {G : Gauge} {σ A : ℝ} |
| 386 | |
| 387 | -- use measure-free invariant subspace of colors |
| 388 | section generic |
| 389 | variable (s : Ink G 2 → ℝ) |
| 390 | def iris : G.Color →ₗ[ℝ] G.Color →ₗ[ℝ] ℝ := LinearMap.mk₂ ℝ |
| 391 | (fun x y => ∑ i, s i * (x (i 0) * y (i 1))) |
| 392 | (by intros; simp [add_mul,mul_add,Finset.sum_add_distrib]) |
| 393 | (by intro a x y; simp [mul_assoc,mul_left_comm, Finset.mul_sum] |
| 394 | ) |
| 395 | (by intros; simp [mul_add,Finset.sum_add_distrib]) |
| 396 | (by intro a x y; simp [mul_left_comm, Finset.mul_sum]) |
| 397 | lemma iris_apply (x y : G.Color) : iris s x y=∑ i, s i * (x (i 0) * y (i 1)) := rfl |
| 398 | lemma iris_dual (hs : ∀ i j, s ![i,j]=s ![j,i]) (x y) : iris s x y = iris s y x := by |
| 399 | let f : Equiv.Perm (Ink G 2) := Equiv.arrowCongr (Equiv.swap 0 1) (Equiv.refl _) |
| 400 | rw [iris_apply,iris_apply]; conv_rhs => rw [← Equiv.sum_comp f] |
| 401 | apply Finset.sum_congr rfl; intro b _ |
| 402 | have hb (i j : G.ColorIndex) : f ![i,j]=![j,i] := funext fun k => by fin_cases k <;> rfl |
| 403 | rw [show b=![b 0,b 1] from funext fun j => by fin_cases j <;> rfl,hb,hs]; simp [mul_comm] |
| 404 | lemma iris_tones (hs : s∈paints G 2) (v : G.El) (x y) : iris s (G.adjoint v x) (G.adjoint v y)=iris s x y := by |
| 405 | have he := hs v ![x,y]; simp_rw [Fin.prod_univ_two] at he; exact he |
| 406 | lemma iris_resonant (hG : G.Simple) (hs : s∈paints G 2) (hp : ∀ i j, s ![i,j]=s ![j,i]) : |
| 407 | ∃ k : ℝ, ∀ x y, iris s x y=k * inner ℝ x y := by |
| 408 | apply Gauge.invariant_scalar hG _ (iris_dual s hp) |
| 409 | intro u x y |
| 410 | let F := (LinearMap.toContinuousLinearMap ((LinearMap.toContinuousLinearMap : (G.Color →ₗ[ℝ] ℝ)≃ₗ[ℝ] (G.Color→L[ℝ] ℝ)).toLinearMap ∘ₗ iris s)) |
| 411 | let X (t : ℝ) := G.adjoint (G.lieExp (t • u)) x; let Y (t : ℝ) := G.adjoint (G.lieExp (t • u)) y |
| 412 | have HX : HasDerivAt (F ∘ X) (F (G.ad u x)) 0 := F.hasFDerivAt.comp_hasDerivAt 0 (color_pitch u x); have HY : HasDerivAt Y (G.ad u y) 0 := color_pitch u y |
| 413 | have he := HX.clm_apply HY |
| 414 | have ht t : F (X t) (Y t)=F x y := iris_tones s hs .. |
| 415 | simp_rw [Function.comp_apply, ht] at he |
| 416 | have hi := he.unique (hasDerivAt_const _ _) |
| 417 | have hy : X 0=x := by simp [X] |
| 418 | rw [hy,show Y 0=y by simp [Y]] at hi |
| 419 | exact eq_neg_of_add_eq_zero_left hi |
| 420 | lemma iris_detect (hG : G.Simple) (hs : s∈paints G 2) (hp : ∀ i j,s ![i,j]=s ![j,i]) (i : G.ColorIndex) (he : s ![i,i]=0) : s=0 := by |
| 421 | obtain ⟨d,hd⟩ := iris_resonant s hG hs hp |
| 422 | let F := EuclideanSpace.basisFun G.ColorIndex ℝ |
| 423 | have hx (x y) : iris s (F x) (F y) = s ![x,y] := by |
| 424 | rw [iris_apply,Finset.sum_eq_single ![x,y]] |
| 425 | · simp [F] |
| 426 | · intro b _ hh |
| 427 | by_cases hi : b 0=x |
| 428 | · have hk : b 1 ≠ y := fun h => hh (funext fun j => by fin_cases j <;> assumption) |
| 429 | simp [F,hk] |
| 430 | simp [F,hi] |
| 431 | simp |
| 432 | have he : d=0 := by |
| 433 | have hb := hd (F i) (F i) |
| 434 | rw [hx, F.inner_eq_one,mul_one] at hb; exact hb.symm.trans he |
| 435 | funext b; rw [show b=![b 0,b 1] from funext fun j => by fin_cases j <;> rfl, ← hx,hd,he,zero_mul]; rfl |
| 436 | end generic |
| 437 | |
| 438 | variable {f : Picture G 1} {admitS : Signed → Prop} |
| 439 | |
| 440 | -- exactly degree-two value used for alpha normalization |
| 441 | |
| 442 | def leapTip (f : Picture G 1) (u : Track) (v : Axis) (x : Ink G 2) := speedy (pressLens f x v v) 2 u |
| 443 | namespace TributeColor |
| 444 | variable (h : TributeColor f σ A admitS) |
| 445 | include h |
| 446 | lemma true_tip (hz : ∀ i j a, Rays 2 (pressLens f i j a)) (p : Track) (a : Axis) (i : Ink G 2) : |
| 447 | ((leapTip f p a i).re : ℂ)=leapTip f p a i := by |
| 448 | have hc (i k : ℕ) : ((-1:ℝ)^2)=1 := by norm_num |
| 449 | have hp (x : Ink G 2) : leapTip f (-p) a x=leapTip f p a x := by |
| 450 | unfold leapTip speedy; rw [show -p=(-1:ℝ) • p by rw [neg_one_smul], Tensor.homogeneous,hc 0 0,one_smul] |
| 451 | have he := (pay_corner h.toFeatures i a a 2 (hz _ _ _) (-p)).star |
| 452 | have hb v : star ((v^2:ℝ)⁻¹ • f i ![coord a,coord a] (axes (roads (v • -p))))= (v^2:ℝ)⁻¹ • f i ![coord a,coord a] (axes (roads (v • p))) := by |
| 453 | rw [smul_neg,map_neg,axes_flip,star_smul, h.born _ _ _ (axes_real _)]; rfl |
| 454 | simp_rw [hb] at he |
| 455 | rw [show speedy _ _ (-p)=_ from hp i] at he |
| 456 | have hx : star (leapTip f p a i)=leapTip f p a i := tendsto_nhds_unique he (pay_corner h.toFeatures i a a 2 (hz i a a) p) |
| 457 | apply Complex.ext; rfl |
| 458 | exact (Complex.conj_eq_iff_im.mp hx).symm |
| 459 | lemma true_tone (hG : G.Simple) (hz : ∀ i j a,Rays 2 (pressLens f i j a)) (p : Track) (a : Axis) (i : G.ColorIndex) (he : leapTip f p a ![i,i]=0) : ∀ j, leapTip f p a j=0 := by |
| 460 | have hb : (fun i => (leapTip f p a i).re)∈paints G 2 := by |
| 461 | let F t : Ink G 2→ ℝ := ((t^2:ℝ)⁻¹) • (fun i => (f i ![coord a,coord a] (axes (roads (t • p)))).re) |
| 462 | have he t : F t∈paints G 2 := (paints G 2).smul_mem _ ((h.paint ..).1) |
| 463 | refine (paints G 2).closed_of_finiteDimensional.mem_of_tendsto (show Tendsto F cutRay _ from tendsto_pi_nhds.mpr (fun i => ?_)) (Eventually.of_forall he) |
| 464 | have he := Complex.continuous_re.continuousAt.tendsto.comp (pay_corner h.toFeatures i a a 2 (hz _ _ _) p) |
| 465 | simpa only [F, leapTip, Pi.smul_apply,Function.comp_def,Complex.smul_re] using! he |
| 466 | have hp (x y : G.ColorIndex) : leapTip f p a ![x,y] =leapTip f p a ![y,x] := by rw [leapTip,h.mirrors hz x y a a p,leapTip, speedy,show -p=(-1:ℝ) • p by rw [neg_one_smul], Tensor.homogeneous]; simp |
| 467 | have hc := iris_detect (fun i => (leapTip f p a i).re) hG hb (fun x y => congr_arg Complex.re (hp x y)) i (by rw [he]; simp) |
| 468 | intro j; rw [← h.true_tip hz p a j, show (leapTip f p a j).re=0 from congr_fun hc j,Complex.ofReal_zero] |
| 469 | end TributeColor |
| 470 | end YM.Stationary |
| 471 | end |
| 472 | |
| 473 | /-! |
| 474 | # Test on ONE momentum axis. Gives precision coefficient alpha, not |
| 475 | fitted separately on the torus. Remaining jet killed by signed group |
| 476 | on THIS kernel, including reflected-edge phases in leading limit. |
| 477 | -/ |
| 478 | noncomputable section |
| 479 | namespace YM.Stationary |
| 480 | open Function Filter Finset Lattice RG Wilson Exterior Precision Bloch Laurent Analysis |
| 481 | open Matrix (transpose mulVec of) |
| 482 | open scoped Matrix Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 483 | variable {G : Gauge} {σ A : ℝ} |
| 484 | abbrev Universal (_ : Signed) := True |
| 485 | |
| 486 | def tipCorner (f : Picture G 1) (i : Ink G 2) (a b : Axis) (p q : Track) := Tensor.coeff (pressLens f i a b) 2 0 ![p,q] |
| 487 | |
| 488 | def soleSpin (i : Axis) : Signed := ⟨1,fun j => i=j⟩ |
| 489 | def allWag : Signed := ⟨1,fun _ => true⟩ |
| 490 | lemma radon (u : Axis) (p q : Track) : (soleSpin u).act (p+q)=(soleSpin u).act p+(soleSpin u).act q := Signed.act_add .. |
| 491 | lemma opposite_track (p : Track) : allWag.act p=-p := by ext i; simp [allWag,Signed.act]; rfl |
| 492 | lemma keep_axis (a b : Axis) (h : a≠b) : (soleSpin a).act (step b:Track)=(step b:Track) := by rw [switched_unit]; simp [soleSpin,h] |
| 493 | lemma swish_axis (a : Axis) : (soleSpin a).act (step a: Track)=-(step a:Track) := by rw [switched_unit]; simp [soleSpin] |
| 494 | lemma custodian {X Y : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] [CompleteSpace Y] {s : ℕ} |
| 495 | (F : X → Y) (h : AnalyticAt ℝ F 0) (hr : Rays s F) (hp : ∀ p,speedy F s p=0) : Rays (s+1) F := by |
| 496 | have he : Tensor.coeff F s 0=0 := Tensor.ext_diag _ _ (Tensor.coeff_symm h.contDiffAt) (fun _ _ => rfl) (funext hp) |
| 497 | have ht : iteratedFDeriv ℝ s F 0=0 := by |
| 498 | unfold Tensor.coeff at he; exact (smul_eq_zero.mp he).resolve_left (inv_ne_zero (by exact_mod_cast Nat.factorial_ne_zero _)) |
| 499 | apply (rays_jet h _).2; intro k hk; rcases eq_or_lt_of_le (Nat.le_of_lt_succ hk) with hk|hk |
| 500 | · exact hk.symm ▸ ht |
| 501 | exact (rays_jet h _).1 hr k hk |
| 502 | |
| 503 | namespace TributeColor |
| 504 | variable {f : Picture G 1} (h : TributeColor f σ A Universal) |
| 505 | include h |
| 506 | private lemma post (i : Ink G 2) (a b p q) : tipCorner f i a b p q= tipCorner f i a b q p := by |
| 507 | unfold tipCorner |
| 508 | nth_rewrite 1 [show ![p,q]=![q,p] ∘ (Equiv.swap (0:Fin 2) 1) by funext i; fin_cases i <;> rfl] |
| 509 | exact Tensor.coeff_symm (j:=2) (priceL h.solid i a b |>.contDiffAt) ![q,p] (Equiv.swap 0 1) |
| 510 | omit h in |
| 511 | private lemma neg_tip (i : Ink G 2) (a b u v) : tipCorner f i a b (-u) v = -tipCorner f i a b u v := by |
| 512 | simp [tipCorner,Tensor.coeff,iteratedFDeriv_two_apply] |
| 513 | omit h in |
| 514 | private lemma d_tip (i : Ink G 2) (a b u) : speedy (pressLens f i a b) 2 u=tipCorner f i a b u u := by |
| 515 | unfold speedy tipCorner Tensor.diagonal; congr 1; ext1 j; fin_cases j <;> rfl |
| 516 | lemma multiform (i : Ink G 2) (x y u v) (s : Signed) : tipCorner f i (s.perm x) (s.perm y) (s.act u) (s.act v)= signStar s x * signStar s y * tipCorner f i x y u v := by |
| 517 | have hl : ∀ i a b, Rays 2 (pressLens f i a b) := crop_edict h (fun _ _ => trivial) |
| 518 | have hp (w) := h.leading_shift (s:=s) trivial i (hl i) x y w |
| 519 | have hx := hp u; have hy := hp v; obtain he := hp (u+v) |
| 520 | have hf (a b p q : _) : tipCorner f i a b (p+q) (p+q)=tipCorner f i a b p p+2*tipCorner f i a b p q + tipCorner f i a b q q := by |
| 521 | have he (t u r : Track) : tipCorner f i a b (t+u) r=tipCorner f i a b t r + tipCorner f i a b u r := by |
| 522 | simp [tipCorner,Tensor.coeff,iteratedFDeriv_two_apply,smul_add] |
| 523 | rw [he,post h i a b p _,post h i a b q _,he,he,post h i a b q p]; ring |
| 524 | simp_rw [d_tip] at hx hy he |
| 525 | rw [s.act_add,hf,hf,hx,hy] at he |
| 526 | linear_combination he/2 |
| 527 | set_option maxHeartbeats 420000 in |
| 528 | lemma rite_axis (hG : G.Simple) (w : Axis) (p : Axis) (hwp : w≠p) (i : G.ColorIndex) (he : leapTip f (step p) w ![i,i]=0) |
| 529 | (j : Ink G 2) (a b : Axis) : Rays 3 (pressLens f j a b) := by |
| 530 | have hZ := h.crop_edict (fun _ _ => trivial) |
| 531 | have hp := true_tone h hG hZ (step p) w i he j |
| 532 | have ht : tipCorner f j w w (step p) (step p)=0 := by rw [← d_tip]; exact hp |
| 533 | let Q := tipCorner f j |
| 534 | have hb (x t : Axis) : Q x x (step t) (step t)=0 := by |
| 535 | by_cases hx : x=t |
| 536 | · rw [hx]; unfold Q; rw [← d_tip] |
| 537 | simpa [apply_ite ((↑):ℝ→ℂ),ite_mul] using precipice h.toFeatures j (hZ j) (step t) t |
| 538 | -- orientation that sends (w,p) to (x,t) |
| 539 | let r : Equiv.Perm Axis := Equiv.swap w x |
| 540 | let s := r.trans (Equiv.swap (r p) t) |
| 541 | have hs : s w=x := by |
| 542 | have h : x≠r p := fun he => hwp (r.injective ((Equiv.swap_apply_left w x).trans he)) |
| 543 | unfold s; rw [Equiv.trans_apply,show r w=x from Equiv.swap_apply_left ..]; exact Equiv.swap_apply_of_ne_of_ne h hx |
| 544 | have hu : s p=t := by unfold s; rw [Equiv.trans_apply, Equiv.swap_apply_left] |
| 545 | have hv := multiform h j w w (step p) (step p) (platey s) |
| 546 | rw [show (platey s).perm w=x from hs,natural_step, hu,ht,mul_zero] at hv; exact hv |
| 547 | -- parity from leading covariance signed. Cross entry with k != l nonzero only off-diagonal carrying k,l. |
| 548 | have hy (x y k l r : Axis) : (if r=k then (-1:ℂ) else 1)*(if r=l then (-1:ℂ) else 1)*Q x y (step k) (step l)= |
| 549 | (if r=x then -1 else 1)*(if r=y then -1 else 1)*Q x y (step k) (step l) := by |
| 550 | let τ := soleSpin r |
| 551 | have ht := h.multiform j x y (step k) (step l) τ |
| 552 | have hf v : signStar τ v= (if r=v then -1 else 1) := by simp [signStar,τ,soleSpin] |
| 553 | simp_rw [hf] at ht |
| 554 | have hp (i) (u : Track) : tipCorner f j x y (τ.act (step i)) u = (if r=i then (-1:ℂ) else 1)*Q x y (step i) u := by |
| 555 | by_cases h' : r=i |
| 556 | · rw [← h',if_pos rfl,swish_axis,neg_tip,neg_one_mul] |
| 557 | rw [if_neg h',keep_axis _ _ h',one_mul] |
| 558 | have hc (u : Track) : tipCorner f j x y u (τ.act (step l))= (if r=l then (-1:ℂ) else 1) *Q x y u (step l) := by unfold Q; rw [post h,hp,post h] |
| 559 | rw [show τ.perm x=x from rfl, show τ.perm y=y from rfl,hp, show Q x y (step k) _=_ from hc (step k)] at ht |
| 560 | rwa [mul_assoc] |
| 561 | have Hz (x k l) : Q x x (step k) (step l)=0 := by |
| 562 | by_cases hh : k=l |
| 563 | · rw [hh,hb] |
| 564 | have ha := hy x x k l k; rw [if_pos rfl,if_neg hh] at ha |
| 565 | split_ifs at ha |
| 566 | all_goals apply mul_left_cancel₀ (show (2:ℂ)≠0 by norm_num); linear_combination -ha |
| 567 | have hh (x y : Axis) (hxy : x≠y) (k) : Q x y (step k) (step k)=0 := by |
| 568 | have ha := hy x y k k x; rw [if_pos rfl,if_neg hxy] at ha |
| 569 | split_ifs at ha |
| 570 | all_goals apply mul_left_cancel₀ (show (2:ℂ)≠0 by norm_num); first | linear_combination -ha | linear_combination ha |
| 571 | have hU (x y u v : _) : speedy (pressLens f j x y) 2 (u+v) = Q x y u u+2*Q x y u v+Q x y v v := by |
| 572 | rw [d_tip] |
| 573 | have he (t u r : Track) : Q x y (t+u) r=Q x y t r + Q x y u r := by |
| 574 | simp [Q,tipCorner,Tensor.coeff,iteratedFDeriv_two_apply,smul_add] |
| 575 | change Q x y _ _= _; rw [he]; unfold Q; rw [post h j x y u,post h j x y v,show tipCorner _ _ _ _ _ u=_ from he u v u,show tipCorner _ _ _ _ _ v=_ from he u v v] |
| 576 | unfold Q; rw [post h j x y v u]; ring |
| 577 | have hu (x y : Axis) (e : x ≠ y) : Q x y (step x) (step y)=0 := by |
| 578 | obtain he := precipice h.toFeatures j (hZ j) (step x+step y) x |
| 579 | simp only [Pi.add_apply,Complex.ofReal_add,add_mul,Finset.sum_add_distrib] at he |
| 580 | simp only [step_apply (S:=ℝ),apply_ite ((↑):ℝ→ℂ),Complex.ofReal_one,Complex.ofReal_zero,ite_mul,one_mul,zero_mul, sum_ite_eq',mem_univ, ↓reduceIte] at he |
| 581 | rw [hU,hU,hb,hb, Hz x, hh x y e,hh x y e] at he |
| 582 | exact mul_left_cancel₀ (show (2:ℂ) ≠ 0 by norm_num) (by simpa using he) |
| 583 | have hz (x y : Axis) : Q a b (step x) (step y)=0 := by |
| 584 | by_cases ha : a=b |
| 585 | · rw [ha]; exact Hz .. |
| 586 | by_cases ht : x=y |
| 587 | · rw [ht]; exact hh a b ha y |
| 588 | by_cases hX : x=a ∨ x=b |
| 589 | · by_cases hY : y=a ∨ y=b |
| 590 | · rcases hX with rfl|rfl <;> rcases hY with hi|hi |
| 591 | · exact False.elim (ht hi.symm) |
| 592 | · rw [hi]; exact hu _ _ ha |
| 593 | · unfold Q; rw [hi,post h]; exact hu _ _ ha |
| 594 | exact False.elim (ht hi.symm) |
| 595 | push Not at hY; obtain hh := hy a b x y y |
| 596 | rw [if_pos rfl, if_neg (Ne.symm ht), if_neg hY.1, if_neg hY.2] at hh |
| 597 | apply mul_left_cancel₀ (show (2:ℂ)≠0 by norm_num); linear_combination -hh |
| 598 | push Not at hX; obtain hh := hy a b x y x |
| 599 | rw [if_pos rfl,if_neg ht,if_neg hX.1,if_neg hX.2] at hh |
| 600 | apply mul_left_cancel₀ (show (2:ℂ)≠0 by norm_num); linear_combination -hh |
| 601 | apply custodian _ (priceL h.solid ..) (hZ j a b) |
| 602 | intro v; rw [d_tip] |
| 603 | change Q a b _ _=_ |
| 604 | have he x y := hz x y; simp_rw [Q,tipCorner,Tensor.coeff,_root_.smul_apply,iteratedFDeriv_two_apply] at he |
| 605 | unfold Q tipCorner Tensor.coeff; simp_rw [_root_.smul_apply,iteratedFDeriv_two_apply] |
| 606 | have heq : v=∑ j,v j • step j := by ext i; simp [Finset.sum_apply, mul_ite] |
| 607 | rw [heq]; simp only [Matrix.cons_val_zero,Matrix.cons_val_one,map_sum,_root_.sum_apply,map_smul,_root_.smul_apply,Finset.smul_sum] |
| 608 | simp_rw [Matrix.cons_val_zero,Matrix.cons_val_one] at he |
| 609 | norm_num [smul_eq_zero] at he |
| 610 | simp_rw [he]; simp |
| 611 | theorem vanish (hG : G.Simple) (w p : Axis) (hw : w≠p) (i : G.ColorIndex) (he : leapTip f (step p) w ![i,i]=0) (j b) : |
| 612 | Rays 4 (f j b ∘ axes) := by |
| 613 | have hp := rite_axis h hG w p hw i he j |
| 614 | obtain ⟨a,ha⟩ := axisEquiv.surjective (b 0); obtain ⟨u,hu⟩ := axisEquiv.surjective (b 1) |
| 615 | rw [show b=![coord a,coord u] from funext fun v => by fin_cases v; exact ha.symm; exact hu.symm] |
| 616 | apply roads_extent |
| 617 | apply custodian (pressLens f j a u) (priceL h.solid j a u) (hp _ _) |
| 618 | intro v |
| 619 | let Q := pressLens f j a u |
| 620 | have he := h.leading_shift (r:=3) (s:=allWag) trivial j hp a u v |
| 621 | change speedy Q 3 _ = (-1)*(-1)*speedy Q 3 v at he |
| 622 | rw [opposite_track,speedy, show -v=(-1:ℝ) • v by rw [neg_one_smul], Tensor.homogeneous] at he |
| 623 | norm_num at he |
| 624 | change Tensor.diagonal (Tensor.coeff Q 3 0) v=0 |
| 625 | apply mul_left_cancel₀ (show (2:ℂ)≠0 by norm_num); linear_combination -he |
| 626 | end TributeColor |
| 627 | end YM.Stationary |
| 628 | end |
| 629 | |
| 630 | /-! |
| 631 | # Kinetic unit: one transverse BASIS wave suffices. B metric `1` at |
| 632 | zero momentum. Needn't sign-normalize a curvature lift or take sup |
| 633 | of all plaquette directions. Two times coefficient for precision. |
| 634 | -/ |
| 635 | noncomputable section |
| 636 | namespace YM.Stationary |
| 637 | open Function Filter Finset Lattice RG Wilson Exterior Precision Bloch Laurent |
| 638 | open Matrix (transpose mulVec of) |
| 639 | open scoped Matrix Topology ContDiff BigOperators InnerProductSpace Matrix.Norms.Frobenius |
| 640 | variable {G : Gauge} {σ A : ℝ} {w p : Axis} |
| 641 | |
| 642 | section stroke |
| 643 | variable (w p) (h : w≠p) |
| 644 | include h |
| 645 | |
| 646 | def stampFace : TypeFace 2 := ⟨{p,w},by simp [Ne.symm h]⟩ |
| 647 | lemma stamped (a : TypeFace 2) (v : Momentum) (hf : ∀ i, i≠p → v i=0) : symbol 1 v a (coord w)= |
| 648 | if a=stampFace w p h then q v p*parity a.val p ℂ else 0 := by |
| 649 | simp_rw [symbol,wedge,Matrix.sum_apply] |
| 650 | rw [Finset.sum_eq_single p] |
| 651 | · unfold Exterior.left |
| 652 | simp only [Matrix.smul_apply, Matrix.of_apply,smul_eq_mul] |
| 653 | split_ifs with H Hy he he |
| 654 | · rfl |
| 655 | · exfalso; apply he; apply Subtype.ext |
| 656 | change a.val=insert p {w}; rw [← show insert p (a.val.erase p)=a.val from Finset.insert_erase H] |
| 657 | congr; exact congrArg Subtype.val Hy |
| 658 | · subst a; exfalso; apply Hy; apply Subtype.ext; simp [coord,stampFace,remove,h.symm] |
| 659 | · rw [mul_zero] |
| 660 | · subst a; exfalso; apply H; exact Finset.mem_insert_self .. |
| 661 | rw [mul_zero] |
| 662 | · intro i _ hi; simp [Exterior.q, hf i hi] |
| 663 | simp |
| 664 | omit h in |
| 665 | lemma parity_two (a : Finset Axis) : parity a p ℂ * parity a p ℂ=1 := by unfold parity; rw [← sq, ← pow_mul, Nat.mul_comm, pow_mul]; simp |
| 666 | lemma volume_unit (i : G.ColorIndex) : leapTip (slots leader G) (step p) w ![i,i]=(1/2:ℂ) := by |
| 667 | let Q (t : ℝ) : Momentum := axes (t • (step p:Track)) |
| 668 | let F := slots leader G |
| 669 | have he (t : ℝ) (j) (hp : j≠p) : Q t j=0 := by simp [Q,axes,hp] |
| 670 | have ho (t j) (hp : j≠p) : -(Q t) j=0 := by rw [he _ _ hp,neg_zero] |
| 671 | have hy (t : ℝ) : pressLens F ![i,i] w w (t • step p)=(1/2:ℂ)*(q (-Q t) p*q (Q t) p) := by |
| 672 | unfold pressLens F slots; simp only [Matrix.cons_val_zero, Matrix.cons_val_one, ↓reduceIte] |
| 673 | congr 1; rw [dcross,leader_const, Matrix.mul_one, Matrix.mul_apply] |
| 674 | change ∑ a : TypeFace 2, (symbol 1 (-Q t) a (coord w))*(symbol 1 (Q t) a (coord w))=_ |
| 675 | rw [Finset.sum_eq_single (stampFace w p h)] |
| 676 | · rw [stamped w p h _ (Q t) (he t), stamped w p h _ (-Q t) (ho t),if_pos rfl,if_pos rfl,mul_mul_mul_comm,parity_two p,mul_one] |
| 677 | · intro a _ ha; rw [stamped w p h _ (Q t) (he t),if_neg ha,mul_zero] |
| 678 | simp |
| 679 | have hx : AnalyticAt ℝ (pressLens F ![i,i] w w) 0 := priceL (slots_cost zero_lt_one (leader_pay 1)) .. |
| 680 | have hu : Rays 2 (pressLens F ![i,i] w w) := by |
| 681 | intro v; unfold pressLens |
| 682 | simp only [map_smul]; exact bed_rays zero_lt_one (leader_pay 1) ![i,i] _ (roads v) |
| 683 | apply tendsto_nhds_unique (ray_limit hx hu (step p)) |
| 684 | have HV (z : Track) : Tendsto (fun t : ℝ => (t:ℂ)⁻¹*q (axes (t • z)) p) cutRay (𝓝 (Complex.I*(z p:ℂ))) := by |
| 685 | have ht := lift_axis_ray (roads z) (0:Fin 1) p; simp_rw [sym_one] at ht; exact ht |
| 686 | have HT := HV (-step p) |
| 687 | simp only [smul_neg,axes_flip,Pi.neg_apply,step_apply,if_true,Complex.ofReal_neg,Complex.ofReal_one] at HT |
| 688 | have hv := HV (step p) |
| 689 | simp only [step_apply,if_true,Complex.ofReal_one,mul_one] at hv |
| 690 | have hh := (HT.mul hv).const_mul (1/2:ℂ) |
| 691 | simp only [mul_neg,mul_one,neg_mul,Complex.I_mul_I,neg_neg,mul_one] at hh |
| 692 | refine hh.congr' (Eventually.of_forall fun t => ?_) |
| 693 | simp only [hy]; simp only [Q,Complex.real_smul,Complex.ofReal_inv,Complex.ofReal_pow]; ring |
| 694 | end stroke |
| 695 | |
| 696 | variable (i : G.ColorIndex) |
| 697 | -- alpha normalization extraction |
| 698 | |
| 699 | def alphaPay (f : Picture G 1) := 2*(leapTip f (step (0:Axis)) 1 ![i,i]).re |
| 700 | lemma tip_fuel {B : FaceRow} (ht : B.strip σ A) (hs : 0<σ) (he : B.read 0=1) : leapTip (slots B G) (step (0:Axis)) 1 ![i,i]=(1/2:ℂ) := by |
| 701 | let L := pressLens (slots B G) ![i,i] 1 1; let Q := pressLens (slots leader G) ![i,i] 1 1 |
| 702 | have hp := priceL (slots_cost hs ht) ![i,i] 1 1 |
| 703 | have hv := priceL (slots_cost hs (leader_pay σ)) ![i,i] 1 1 |
| 704 | have hx : Rays 3 (L-Q) := by |
| 705 | intro v; have h := slots_gain hs ht he ![i,i] ![coord 1,coord 1] (roads v); unfold L Q pressLens; simp_rw [Pi.sub_apply,map_smul]; exact h |
| 706 | have hb := (rays_jet (f:=L-Q) (hp.sub hv) 3).1 hx 2 (by norm_num); rw [iteratedFDeriv_sub_apply (show ContDiffAt ℝ 2 L 0 from hp.contDiffAt) (show ContDiffAt ℝ 2 Q 0 from hv.contDiffAt)] at hb |
| 707 | change speedy L 2 (step (0:Axis))=_ |
| 708 | unfold speedy Tensor.coeff; rw [sub_eq_zero.mp hb]; exact volume_unit 1 0 (by decide) i |
| 709 | |
| 710 | lemma subtract_fee {f : Picture G 1} {v : ℝ} {B : FaceRow} {w A' : ℝ} (hp : TributeColor f σ A Universal) |
| 711 | (hB : B.strip w A') (hh : 0<w) (he : B.read 0=1) (hv : v=alphaPay i f) : leapTip (f-(v:ℂ) • slots B G) (step (0:Axis)) 1 ![i,i]=0 := by |
| 712 | let g := f-(v:ℂ) • slots B G |
| 713 | let X := pressLens f ![i,i] 1 1 |
| 714 | let L := pressLens (slots B G) ![i,i] 1 1 |
| 715 | let q : Track := step (0:Axis) |
| 716 | have hX : AnalyticAt ℝ X 0 := priceL hp.solid .. |
| 717 | have hL : AnalyticAt ℝ L 0 := priceL (slots_cost hh hB) .. |
| 718 | have hZ : pressLens g ![i,i] 1 1=X-v • L := by |
| 719 | ext x; all_goals simp [g, pressLens,X,L,Complex.real_smul] |
| 720 | change speedy (pressLens g ![i,i] 1 1) 2 q = 0 |
| 721 | have hz : speedy (X-v • L) 2 q=speedy X 2 q - v • speedy L 2 q := by |
| 722 | unfold speedy Tensor.coeff Tensor.diagonal; rw [iteratedFDeriv_sub_apply hX.contDiffAt (show ContDiffAt ℝ 2 (v • L) 0 from (hL.contDiffAt).const_smul v), iteratedFDeriv_const_smul_apply hL.contDiffAt] |
| 723 | simp [smul_sub]; ring |
| 724 | rw [hZ, hz, show speedy L 2 q= _ from tip_fuel i hB hh he]; unfold alphaPay at hv |
| 725 | let s := (leapTip f q 1 ![i,i]).re |
| 726 | rw [Complex.real_smul,hv]; push_cast |
| 727 | rw [← show (s:ℂ)=speedy X 2 q from hp.true_tip (hp.crop_edict (fun _ _ => trivial)) q 1 ![i,i]]; change (s:ℂ)-2*(s:ℂ)*(1/2)=0; ring |
| 728 | end YM.Stationary |
| 729 | end |
| 730 | |
| 731 | /-! |
| 732 | # Second-jet drift removal. Fixed L qualitative extension; pre-L for the |
| 733 | rank-vs-core remainder. |
| 734 | -/ |
| 735 | noncomputable section |
| 736 | namespace YM.Stationary |
| 737 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree Asymptotics Metric |
| 738 | open scoped Topology ContDiff BigOperators |
| 739 | variable {ι β : Type} [Fintype ι] [DecidableEq ι] [Fintype β] [DecidableEq β] {G : Gauge} {σ θ A C D γ η : ℝ} {m n : ℕ→Side} |
| 740 | |
| 741 | lemma speedy_fits {M : Award G} (h : Screened M σ C) (hs : 0<σ) (i : G.ColorIndex) : |
| 742 | AnalyticAt ℝ (pressLens (profitable M) ![i,i] 1 1) 0 := by |
| 743 | have he := (h.earns (coord 1,i) (coord 1,i)).budget_nonneg |
| 744 | exact priceL (profit M hs he h.earns).1 .. |
| 745 | lemma alpha_delta {F M : Award G} {A D : ℝ} (hs : 0<σ) (hf : Screened F σ A) (hp : Screened M σ D) (i : G.ColorIndex) : alphaPay i (profitable (F-M)) = alphaPay i (profitable F)-alphaPay i (profitable M) := by |
| 746 | let X := pressLens (profitable (F-M)) ![i,i] 1 1 |
| 747 | let H := pressLens (profitable F) ![i,i] 1 1; let Q := pressLens (profitable M) ![i,i] 1 1 |
| 748 | let a := ((coord 1,i):Loc G 1) |
| 749 | have he : X=H-Q := by |
| 750 | funext x |
| 751 | let p := axes x |
| 752 | have hh := axes_real x |
| 753 | change (2:ℂ)⁻¹ * stock (F a a p-M a a p) = (2:ℂ)⁻¹*stock (F a a p)-(2:ℂ)⁻¹*stock (M a a p) |
| 754 | let f := F a a p; let g := M a a p |
| 755 | have hw := Work.F07.realStrip _ hs hh |
| 756 | have hv : Firm σ A f := stock_take (F a a) (hf.earns a a) hw |
| 757 | have hx : Firm σ D g := stock_take (M a a) (hp.earns a a) hw |
| 758 | have hu := Firm.retail walent walentes (hv.sub hx : Firm _ _ (f-g)) |
| 759 | rw [← mul_sub]; apply congr_arg ((2:ℂ)⁻¹ * ·) |
| 760 | exact tendsto_nhds_unique_of_eventuallyEq hu ((Firm.retail walent walentes hv).sub (Firm.retail walent walentes hx)) (Eventually.of_forall fun i => shop_sub ..) |
| 761 | let z : Track := step (0:Axis) |
| 762 | have ht : AnalyticAt ℝ H 0 := speedy_fits hf hs i; have hx : AnalyticAt ℝ Q 0 := speedy_fits hp hs i |
| 763 | have hp : speedy X 2 z=speedy H 2 z-speedy Q 2 z := by |
| 764 | unfold speedy Tensor.diagonal Tensor.coeff; rw [he,iteratedFDeriv_sub_apply (ht.contDiffAt) hx.contDiffAt, smul_sub,_root_.sub_apply] |
| 765 | unfold alphaPay; change 2*(speedy X 2 z).re=2*(speedy H 2 z).re-2*(speedy Q 2 z).re; rw [hp,Complex.sub_re,mul_sub] |
| 766 | |
| 767 | section postings |
| 768 | variable {P : Patch} {K : KernelChoices} {p : Clip} {R : PathData G} {η τ δ E Ω Λ : ℝ} {T B : Bed} |
| 769 | -- coherent extensions actually of the promised mark, with same S(t) across. |
| 770 | variable {D : Eye (Loc G 1) (Acts G P)} {M : Spark (Loc G 1) G P} |
| 771 | structure TicketPost (Q : PostCard R p P K D M m n) (δ : ℝ) (B T : Bed) : Type where |
| 772 | tree i : Forest ((Q.ship.boot i).ratio) |
| 773 | graph i : Bid.Dir G (m i)→AxisChart G (tree i) |
| 774 | mat i : Matrix (Body 1 (n i)) (Body 1 (m i)) ℝ |
| 775 | spun i : Q.L i=cardHand (G:=G) (mat i) |
| 776 | sworn i : Inputs (Q.ship.boot i) (mat i) (B.metric.acts (n i)) (T.metric.acts (m i)) |
| 777 | decor i : Critical (tree i) p R (graph i) |
| 778 | health i : PriceGap (tree i) p R δ |
| 779 | guards i : Guessed (tree i) (mat i) (graph i) |
| 780 | namespace TicketPost |
| 781 | variable {Q : PostCard R p P K D M m n} (X : TicketPost Q δ B T) |
| 782 | lemma event (i : ℕ) : Turns D (atlasQ (Q.ship.boot i) (X.mat i)) := by have he := Q.tilts i; rw [X.spun] at he; exact he |
| 783 | lemma shades (i : ℕ) : let S:=Q.ship.boot i; |
| 784 | Ticket M (fun x => repackM (unitSplit G S 1) (unitSplit G S 1) (flare p R (input G (n i) (uniformM (X.mat i) x)))) := by |
| 785 | intro S; have he := Q.meets i; dsimp only at he; rw [X.spun] at he; exact he |
| 786 | end TicketPost |
| 787 | private lemma halo_neg {F : Track→ℂ} {l : ℕ} (h : Rays l F) : Rays l (fun p=> F (-p)) := by |
| 788 | intro p; have ht := h (-p); simpa only [smul_neg] using ht |
| 789 | lemma drift_tip {Q : PostCard R p P K D M m n} (X : TicketPost Q δ B T) (hd : 0<δ) (hp : 0<σ) (hΩ : 0<θ) (h : P.Branches K G) (hS : G.Simple) |
| 790 | (he : Play (carrierY D K.penalty M) σ) (hk : T.metric.strip θ A) (hm : Tendsto (fun i=> (m i).val) atTop atTop) (hu : R.Bounds p τ E Ω) |
| 791 | (hC : Screened (changeCue D K.penalty M) σ C) (i : G.ColorIndex) : |
| 792 | alphaPay i (profitable (changeCue D K.penalty M))=0 := by |
| 793 | classical |
| 794 | let Y := changeCue D K.penalty M; let a := ((coord 1,i):Loc G 1) |
| 795 | let F := pressLens (profitable Y) ![i,i] 1 1 |
| 796 | let U := carrierY D K.penalty M |
| 797 | have H (j) := alpha_night (F:=U) hp he hm j fun i p q hr b=> stamp_here (Q.tags i) (X.decor i) (X.mat i) hu h (X.health i) hd (X.guards i) hS (X.event i) (X.shades i) p q hr j b |
| 798 | let x := fun (v : Track) (j) => taxTone G T (axes v) a j |
| 799 | let M j (v : Track) := stock (hatchTrace U (.inl a) (.inr j) (axes v)) |
| 800 | let B i j (v : Track) := stock (hatchTrace (U.pay U) (.inr i) (.inr j) (axes v)) |
| 801 | let W := fun (v : Track) => ∑ j,x v j*M j v |
| 802 | let V := fun v : Track => ∑ a,x (-v) a*∑ j,x v j*B a j v |
| 803 | have heq (v : Track) : stock (Y a a (axes v))=(1/2:ℂ)*((W v + W (-v))-(1/2:ℂ)*V v) := by |
| 804 | have hc := active (F:=U) hp he T hk hC hΩ hm a a (fun i u q hh=> signing_here (Q.tags i) (X.decor i) (X.mat i) hu h (X.health i) hd (X.guards i) hS (X.event i) (X.shades i) _ T (X.sworn i) (T.metric.rights _ _ hk hΩ.le) u q hh a a hC) (axes v) (axes_real v) |
| 805 | unfold V W B x M; simp only [axes_flip]; exact hc |
| 806 | have hx j : Rays 2 (fun k => x k j) := tax_ray _ hk hΩ a j |
| 807 | have hW : Rays 3 W := rays_total (f:=fun i x' => x x' i*M i x') (fun i=> (hx i).mul (star_low hp he i (H i) a)) |
| 808 | have hV : Rays 4 V := by |
| 809 | refine rays_total (f:=fun i v=> _) fun i => (halo_neg (hx i)).mul (t:=2) (g:=fun v => ∑ j,x v j*B i j v) ?_ |
| 810 | refine rays_total (s:=2) (f:=fun j v => x v j *B i j v) fun j=> (hx j).mul (g:=B i j) (rays_zero ?_) |
| 811 | exact star_analytic hp (he.pay he) .. |
| 812 | have hf : Rays 3 F := by |
| 813 | intro v |
| 814 | have H' := hW.add (halo_neg hW) v; have hm := (hV.weaker (by norm_num : 3≤4)) v |
| 815 | change (fun t : ℝ => (2:ℂ)⁻¹ * stock (Y a a (axes (t • v)))) =O[cutRay] _ |
| 816 | simp_rw [heq]; exact (((H'.sub (hm.const_mul_left _)).const_mul_left _).const_mul_left _) |
| 817 | have ht := (rays_jet (speedy_fits hC hp i) 3).1 hf 2 (by omega) |
| 818 | unfold alphaPay leapTip speedy Tensor.diagonal Tensor.coeff; rw [ht]; simp |
| 819 | end postings |
| 820 | end YM.Stationary |
| 821 | end |