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.OneLoop.WilsonVertices |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | /-! |
| 5 | # Gauge term completes the longitudinal symbol. First slot only here. |
| 6 | Does not rotate direction labels away. -/ |
| 7 | noncomputable section |
| 8 | namespace YM.Stationary |
| 9 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 10 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 11 | variable {G : Gauge} {V : Jar G} {σ C : ℝ} {p k : Momentum} |
| 12 | section lids |
| 13 | lemma pump_base (i j : Fslot G) : pummel i j 0=0 := by unfold pummel; split <;> simp [scattering_one] |
| 14 | lemma tabBase : (firstB G).tab=0 := by |
| 15 | ext1 p; ext i j; simp only [firstB,recitalX,patina,Matrix.of_apply]; rw [ show (fun l:Fin 0=>Pi.single ((![]:Fin 0→Loc G 1) l) (1:ℂ))=axes ∘ (![]:Fin 0→Corn (Loc G 1)) from Subsingleton.elim ..,beat_real]; simp [pump_base] |
| 16 | lemma deflect (v : TypeFace 1) (i : Fslot G) : delocalF v G (Pi.single i 1)= if i.1=v then pearl i.2 else 0 := by |
| 17 | apply (Lilts G).injective; ext1 j |
| 18 | rcases i with ⟨i,a⟩; change (Pi.single (i,a) (1:ℝ) : Corn (Fslot G)) (v,j)= _ |
| 19 | split <;> rename_i h |
| 20 | · change i=v at h; rw [h,(Lilts G).apply_symm_apply]; by_cases H:j=a <;> simp [*] |
| 21 | change ¬i=v at h; simp [Ne.symm h] |
| 22 | lemma pump_cost (a : Axis) (b x y : G.ColorIndex) (i j : Axis) : beat (pummel (coord i,x) (coord j,y)) 0 1 ![Pi.single (coord a,b) 1]= if i=j ∧ a=i then -tintX b x y else 0 := by |
| 23 | let z : Corn (Fslot G) := Pi.single (coord a,b) 1; let u := pummel (coord i,x) (coord j,y); let T := pearl y; let B : G.El→ℝ := fun g=> (Lilts G (T-G.adjoint g T)) x |
| 24 | let f (t : ℝ) := u (t • z) |
| 25 | have he := Push.side u (pummel_diff _ _).differentiableAt z |
| 26 | rw [show (![_] : Fin 1 → Phase (Fslot G))= axes ∘ (![z]: Fin 1 → Corn (Fslot G)) by |
| 27 | funext k l; fin_cases k; by_cases h : l=(coord a,b) <;> simp [z,Pi.single_apply, *,axes],beat_real,iteratedFDeriv_one_apply] |
| 28 | change ((fderiv ℝ u 0 z:ℝ):ℂ)=_ |
| 29 | have hf : fderiv ℝ u 0 z=deriv f 0 := he.deriv.symm |
| 30 | rw [hf] |
| 31 | by_cases h : i=j ∧ a=i |
| 32 | · rw [if_pos h] |
| 33 | have hx : f=fun t : ℝ => B (G.lieExp (t • pearl b)) := by |
| 34 | ext1 t; simp only [f,u,pummel,show coord i=coord j from blinkV i j|>.2 h.1,if_true,map_smul] |
| 35 | rw [deflect,if_pos (show coord a=coord j from blinkV a j|>.2 (h.2.trans h.1))]; rfl |
| 36 | let L := ContinuousLinearMap.proj (R:=ℝ) (φ:=fun _ : G.ColorIndex=>ℝ) x ∘L (Lilts G).toContinuousLinearMap |
| 37 | have ht : deriv f 0= L (0-G.ad (pearl b) T) := by rw [hx]; exact (L.hasFDerivAt.comp_hasDerivAt (0:ℝ) ((hasDerivAt_const _ T).sub (color_pitch (pearl b) T))).deriv |
| 38 | rw [ht,zero_sub]; change ↑(-(cosetR b x y))= (-tintX b x y:ℂ); rw [Complex.ofReal_neg]; rfl |
| 39 | rw [if_neg h]; rw [show f=(fun _=>0) from ?_]; simp |
| 40 | ext1 t; by_cases H:i=j |
| 41 | · have he : coord a≠coord i := fun hx=> h ⟨H,axisEquiv.injective hx⟩ |
| 42 | unfold f u pummel; rw [if_pos (show coord i=coord j from blinkV i j|>.2 H),map_smul,deflect,if_neg (show ¬((coord a,b) : Fslot G).1=coord i from he)]; simp [scattering_one] |
| 43 | exact if_neg (fun H' => H (axisEquiv.injective H')) |
| 44 | |
| 45 | lemma pedals (i) (x y : G.ColorIndex) : pageD G 0 k (coord i,x) (vac,y)= if x=y then Exterior.q k i else 0 := by simp [pageD,tintedLocal,sym_one] |
| 46 | lemma dash_actual (i : Axis) (x y : G.ColorIndex) : dashboard G (coord i,x) (vac,y)= if x=y then 1 else 0 := by by_cases H:x=y <;> simp [dashboard,dasher,H,Matrix.sum_apply,blinkV] |
| 47 | lemma matinBeige : (matina G).tab= -(pageD G 0) := by |
| 48 | ext1 p; simp [matina,Film.plus,Pi.add_apply,Film.pay,tabBase,firstRay,Film.cardF] |
| 49 | lemma strums (a i j : Axis) (b x y : G.ColorIndex) : (firstB G).spot (coord a,b) p k (coord i,x) (coord j,y)= if i=j ∧ a=i then -tintX b x y else 0 := by |
| 50 | have hh := pump_cost a b x y i j; rw [← hh]; unfold firstB recitalX; simp only [patina,Matrix.of_apply] |
| 51 | congr; ext1 z; fin_cases z; rfl |
| 52 | lemma fireball (i a : Axis) (b x y : G.ColorIndex) : (matina G).spot (coord a,b) p k (coord i,x) (vac,y) = -(mode k (step i))*deer i a*tintX b x y := by |
| 53 | rw [show (matina G).spot (coord a,b) p k=(firstB G).spot (coord a,b) p k*((boardF G).tab k) from ?_] |
| 54 | swap; · simp [matina,Film.plus,Film.pay,firstRay,Film.cardF, boardF] |
| 55 | unfold boardF Film.cardF; rw [Matrix.mul_apply,Fintype.sum_prod_type,← Equiv.sum_comp axisEquiv]; simp_rw [coord_map,strums,Matrix.add_apply,dash_actual,pedals]; unfold deer |
| 56 | by_cases h : i=a |
| 57 | · rw [if_pos h, sum_eq_single i] |
| 58 | · rw [sum_eq_single y]; simp [factor,q,h]; ring |
| 59 | · intro j _ hj; simp [hj] |
| 60 | simp |
| 61 | · intro j _ H'; simp [Ne.symm H'] |
| 62 | simp |
| 63 | simp [h,Ne.symm h] |
| 64 | |
| 65 | -- first ghost Spot in closed form. rear sector incoming −(k+p) |
| 66 | lemma recordStand (a : Axis) (b x y : G.ColorIndex) : (quarry G).spot (coord a,b) p k (vac,x) (vac,y) = (-(mode (-(k+p)) (step a) *Exterior.q k a)+ Exterior.q (-(k+p)) a * mode k (step a))*tintX b x y := by |
| 67 | rw [quarry, Film.pay]; simp only [matinBeige,Matrix.add_apply,Matrix.mul_apply, Film.rear, Matrix.transpose_apply, matinBeige,Fintype.sum_prod_type]; |
| 68 | simp_rw [← Equiv.sum_comp axisEquiv, coord_map, Pi.neg_apply, Matrix.neg_apply, fireball,pedals] |
| 69 | rw [sum_eq_single a]; swap |
| 70 | · intro i _ H; simp [deer,H] |
| 71 | pick_goal 2; · simp |
| 72 | rw [sum_eq_single a] |
| 73 | swap; · intro i _ H; simp [deer,H] |
| 74 | pick_goal 2; · simp |
| 75 | rw [sum_eq_single y]; swap |
| 76 | · intro i _ h; rw [if_neg h]; simp |
| 77 | pick_goal 2; · simp |
| 78 | rw [sum_eq_single x]; swap |
| 79 | · intro i _ h; rw [if_neg h]; simp |
| 80 | pick_goal 2; · simp |
| 81 | rw [tintSwap b y x]; simp only [deer, ↓reduceIte, mul_one]; ring |
| 82 | end lids |
| 83 | end YM.Stationary |
| 84 | end |
| 85 | |
| 86 | /-! |
| 87 | # Quadratic vector operator. Real scaled expansions NO alpha assumption. |
| 88 | -/ |
| 89 | noncomputable section |
| 90 | namespace YM.Stationary |
| 91 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 92 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 93 | variable {G : Gauge} {V : Jar G} {σ C : ℝ} {p k : Momentum} |
| 94 | section sky |
| 95 | lemma recordingA (i j a : Axis) (x y z : G.ColorIndex) : ((matina G).pay (matina G).rear).spot (coord a,z) p k (coord i,x) (coord j,y)= (mode k (step i)*deer i a * Exterior.q (-k) j + -(Exterior.q (k+p) i)*mode (-(k+p)) (step j)*deer j a)*tintX z x y := by |
| 96 | simp only [Film.pay,matinBeige, Matrix.add_apply, Matrix.mul_apply, Film.rear, Matrix.transpose_apply, Fintype.sum_prod_type] |
| 97 | simp_rw [vac_only,Pi.neg_apply,Matrix.neg_apply,fireball,pedals] |
| 98 | let L := tintX z |
| 99 | have hm (X : ℂ) : ∑ _k : TypeFace 0, X=X := by rw [sum_eq_single vac]; all_goals simp [vac_only] |
| 100 | rw [hm,hm,sum_eq_single y] |
| 101 | swap; · intro i _ hi; rw [if_neg hi.symm]; simp |
| 102 | pick_goal 2; · simp |
| 103 | rw [sum_eq_single x] |
| 104 | swap; · intro i _ hi; rw [if_neg hi.symm]; simp |
| 105 | pick_goal 2; · simp |
| 106 | rw [tintSwap z y]; simp only [↓reduceIte]; ring |
| 107 | |
| 108 | lemma axes_solid (a b : Track) : axes (a+b)=axes a+axes b := by ext; simp [axes] |
| 109 | lemma motile (k : Track) (i : Axis) : Tendsto (fun x : ℝ=>mode (axes (x • k)) (step i)) cutRay (𝓝 1) := by |
| 110 | have h : Continuous fun x : Track=> mode (axes x) (step i) := by unfold mode axes; fun_prop |
| 111 | refine (show (mode (axes (0:Track)) (step i))=1 by simp) ▸ (h.continuousAt.tendsto.comp (along k)) |
| 112 | lemma ghostPing (a : Axis) (b x y : G.ColorIndex) (p k : Track) : |
| 113 | Tendsto (fun t : ℝ=> (t:ℂ)⁻¹ *((quarry G).spot (coord a,b) (axes (t • p)) (axes (t • k)) (vac,x) (vac,y))) cutRay (𝓝 (-(2*tachy k a+tachy p a)*tintX b x y)) := by |
| 114 | let z := -(k+p) |
| 115 | have he (t:ℝ) : -(axes (t • k)+axes (t • p))=axes (t • z) := by unfold z; rw [smul_neg, axes_flip,smul_add,axes_solid] |
| 116 | have hh := (((motile z a).mul (qPitch a k)|>.neg).add ((motile k a).mul (qPitch a z))).mul_const (tintX b x y) |
| 117 | simp_rw [recordStand,he]; convert hh.congr' ?_ using 1 |
| 118 | swap; · refine Eventually.of_forall (fun t=> ?_); dsimp only; ring |
| 119 | congr 1; unfold tachy z; simp only [Pi.neg_apply,Pi.add_apply, Complex.ofReal_neg, Complex.ofReal_add]; ring |
| 120 | |
| 121 | lemma axePing (i j a : Axis) (b x y : G.ColorIndex) (p k : Track) : |
| 122 | Tendsto (fun t : ℝ=> (t:ℂ)⁻¹ *((matina G).pay (matina G).rear).spot (coord a,b) (axes (t • p)) (axes (t • k)) (coord i,x) (coord j,y)) cutRay (𝓝 ( (-tachy k j*deer i a - tachy (k+p) i*deer j a)* tintX b x y)) := by |
| 123 | let z := -(k+p) |
| 124 | have he (t:ℝ) : axes (t • k)+axes (t • p)=axes (t • (k+p)) := by rw [smul_add,axes_solid] |
| 125 | have hx (t:ℝ) (p : Track) : -axes (t • p)=axes (t • (-p)) := by rw [smul_neg,axes_flip] |
| 126 | simp_rw [recordingA, he, hx]; |
| 127 | have hh := (((motile k i).mul_const (deer i a)|>.mul (qPitch j (-k))).sub (((motile z j).mul_const (deer j a)).mul (qPitch i (k+p)))).mul_const (tintX b x y) |
| 128 | convert hh.congr' ?_ using 1 |
| 129 | swap; · refine Eventually.of_forall (fun t=> ?_); dsimp only [z]; ring |
| 130 | congr 1; unfold tachy; simp only [Pi.add_apply, Pi.neg_apply,Complex.ofReal_neg]; ring |
| 131 | |
| 132 | def ghostC (p k : Track) (a : Axis) (b : G.ColorIndex) (x y : G.ColorIndex) := -(2*tachy k a+tachy p a)* tintX b x y |
| 133 | def vectorC (p k : Track) (a : Axis) (b : G.ColorIndex) (i j : Axis) (x y : G.ColorIndex) := deer i j* ghostC p k a b x y + 2*(tachy p j*deer i a-tachy p i*deer j a)* tintX b x y |
| 134 | lemma vectorPing (h : V.grey) (hv : V.fees σ C) (hp : 0<σ) (i j a : Axis) (x y b : G.ColorIndex) (p k : Track) : Tendsto (fun t : ℝ=> (t:ℂ)⁻¹ * (granary G V.cast).spot (coord a,b) (axes (t • p)) (axes (t • k)) (coord i,x) (coord j,y)) cutRay (𝓝 (vectorC p k a b i j x y)) := by |
| 135 | let M := matina G; have hx := corona_funded (coord a,b) (coord i,x) (coord j,y) p k |
| 136 | rw [coronet] at hx |
| 137 | simp_rw [granary,Film.plus,Pi.add_apply,Matrix.add_apply,vintage_sings h hv hp _ _ _ _ _ (axes_real _) (axes_real _),mul_add] |
| 138 | convert hx.add (axePing i j a b x y p k) using 2 |
| 139 | unfold vectorC ghostC tachy; push_cast; simp; ring |
| 140 | end sky |
| 141 | end YM.Stationary |
| 142 | end |
| 143 | |
| 144 | /-! |
| 145 | # Mark the two subquadratic vertices on TOTAL Ward-supported lines. |
| 146 | X2 no leading needed. Ingredients intended consumption as real Vane only. |
| 147 | -/ |
| 148 | noncomputable section |
| 149 | namespace YM.Stationary |
| 150 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 151 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 152 | variable {G : Gauge} {V U : Jar G} {B : Bed} {F : KindF G} {σ C D μ ε τ A : ℝ} {p : Clip} |
| 153 | |
| 154 | -- comparisons using qualitative rays; also on finite repeats through identity curtain. resin. |
| 155 | -- need undo graniteF.tab. use its tickets, `Poster.renew` |
| 156 | lemma granite_tab (h : 0<μ) (he : μ≤1) : ∀ i∈strip (μ*(1/128:ℝ)),(graniteF G μ).tab i=satin μ i • (1:CompM (Fslot G) (Fslot G)) := by |
| 157 | apply Poster.renew (granite_green h he).tab (satin_contours h he) (by positivity) walentes |
| 158 | refine fun i=> ⟨_,(grantV (m:=walent i) (G:=G) h).tab,?_⟩; rw [cardM,input_zero]; exact bingo (satin μ) (tonic_cannon _ h) |
| 159 | lemma barePost (hp : HouseWord G B p D ε σ C μ F) (i : Momentum) (hi : star i=i) : (granary G F).tab i= rug G B i + pageD G 0 i * (pageD G 0 (-i))ᵀ := by |
| 160 | have he := hp.pact i (Work.F07.realStrip _ hp.pos hi); simp only [massif,Film.plus,Pi.add_apply,dais] at he |
| 161 | rw [granite_tab hp.amount.1 hp.amount.2 i (Work.F07.realStrip _ (hp.pos.trans_le hp.phase) hi),add_left_inj] at he; exact he |
| 162 | lemma bareQuarry : (quarry G).tab=(fun i => stone i • 1) := by |
| 163 | ext1 p; simp only [quarry, Film.pay, Film.rear,matinBeige, Pi.neg_apply, Matrix.transpose_neg, Matrix.neg_mul,Matrix.mul_neg,neg_neg,codex_value] |
| 164 | |
| 165 | -- Stone momentum. cost |
| 166 | |
| 167 | def pebb (p : Track) : ℂ := ∑ j : Axis,(p j:ℂ)^2 |
| 168 | |
| 169 | def skull (p : Track) (α : Type) [DecidableEq α] := pebb p • (1:CompM α α) |
| 170 | lemma shrimper (i : Axis) : Rays 2 (fun p : Track => Exterior.q (axes p) i - Complex.I*(p i:ℂ)) := by |
| 171 | let L : Track→L[ℝ] ℂ := Complex.ofRealCLM ∘L ContinuousLinearMap.proj i |
| 172 | let T : Track →ℂ := fun p => Complex.exp (L p *Complex.I) |
| 173 | let K : Track→L[ℝ] ℂ := Complex.I • L |
| 174 | refine twin_shear ?_ fun p=> ?_ |
| 175 | · apply ContDiffAt.analyticAt |
| 176 | unfold q; apply ContDiffAt.sub; swap; exact K.contDiff.contDiffAt |
| 177 | let f : Track→ℂ := fun p=> Complex.I * (axes p i) |
| 178 | apply ContDiffAt.sub _ contDiffAt_const; refine ContDiffAt.comp (x:=0) (g:=Complex.exp) (f:=f) ?_ K.contDiff.contDiffAt |
| 179 | exact (by fun_prop) |
| 180 | have hp : ∀ᶠ u : ℝ in cutRay, (u:ℂ)⁻¹ * (q (axes (u • p)) i - Complex.I*((u • p) i:ℂ))=(u:ℂ)⁻¹*q (axes (u • p)) i -Complex.I*(p i:ℂ) := by |
| 181 | filter_upwards [(self_mem_nhdsWithin : ∀ᶠ t : ℝ in cutRay,t≠0)] with t ht; change t≠0 at ht; simp; field_simp [ht] |
| 182 | have hx := (qPitch i p).sub_const (Complex.I*(p i:ℂ)); rw [sub_self] at hx; exact hx.congr' (EventuallyEq.symm hp) |
| 183 | lemma rockEdge : Rays 3 (fun p : Track=> stone (axes p)-pebb p) := by |
| 184 | have hQ i : Rays 1 (fun p : Track=>Exterior.q (axes (-p)) i) := |
| 185 | let W := fun p:Momentum=>Exterior.q p i; by |
| 186 | have ht : Rays 1 (fun p : Track=>W (axes p)) := by have he := ray_symbol (Embedding.refl Axis) (coord i) vac; simp_rw [sym_one] at he; exact he |
| 187 | intro x; simpa [smul_neg] using ht (-x) |
| 188 | unfold stone pebb dotProduct; simp_rw [← Finset.sum_sub_distrib]; |
| 189 | have hx i : Rays 1 (fun p : Track=>Complex.I*(p i:ℂ)) := (rays_at_zero (f:=_) ((Complex.I • (Complex.ofRealCLM ∘L ContinuousLinearMap.proj (φ:=fun _ : Axis => ℝ) i) : Track→L[ℝ] ℂ).analyticAt _)).2 (by simp) |
| 190 | have hZ p (i : Axis) : q (-(axes (p:Track))) i * q (axes p) i-(p i:ℂ)^2 = (q (axes p) i-Complex.I*(p i:ℂ))*q (axes (-p)) i+ Complex.I*(p i:ℂ)*(q (axes (-p)) i - Complex.I*((-p) i:ℂ)) := by |
| 191 | rw [axes_flip]; simp only [Pi.neg_apply,Complex.ofReal_neg]; linear_combination -(p i:ℂ)^2 * Complex.I_mul_I |
| 192 | simp_rw [hZ] |
| 193 | refine rays_total fun i=> Rays.add ((shrimper i).mul (hQ i)) (Rays.mul (hx i) (fun p=> ?_) : Rays (1+2) _) |
| 194 | have hh := shrimper i (-p); simp_rw [smul_neg] at *; exact hh |
| 195 | |
| 196 | lemma bedLum (h : HouseWord G B p D ε σ C μ F) (i j : Fslot G) : Rays 3 (fun x : Track=> (granary G F).tab (axes x) i j-skull x (Fslot G) i j) := by |
| 197 | have hx a b : Rays 1 (fun x:Track => (B.metric.read (axes x) a b - Row.read leader (axes x) a b)) := by |
| 198 | have hd a b := price_step_metric h.pos h.metric a b |
| 199 | refine (rays_at_zero (AnalyticAt.sub ((hd a b).analytic_real 0) ((price_step_metric h.pos (leader_pay σ) a b).analytic_real 0))).2 ?_ |
| 200 | simp [(h.lower 1).starts]; |
| 201 | have he z : tintedLocal G (dcross B.metric z) = rug G B z := by simp only [rug,pageD,tessH,dcross,tinted_flip,tinted_pay] |
| 202 | have ht z : tintedLocal G (dcross leader z)+ pageD G 0 z*(pageD G 0 (-z))ᵀ=stone z • 1 := by |
| 203 | rw [dcross, leader_const, Matrix.mul_one, tinted_pay, tinted_flip,add_comm,← kartel z 0]; rfl |
| 204 | have hw z : (granary G F).tab (axes z) i j - skull z (Fslot G) i j= (tintedLocal G (dcross B.metric (axes z)) i j- tintedLocal G (dcross leader (axes z)) i j)+(stone (axes z)-pebb z)*(1:CompM (Fslot G) _) i j := by |
| 205 | have hh := congr_fun (congr_fun (ht (axes z)) i) j; rw [Matrix.add_apply, Matrix.smul_apply,smul_eq_mul] at hh |
| 206 | rw [barePost h _ (axes_real z), Matrix.add_apply, ← he,sub_mul, ← hh]; unfold skull; rw [Matrix.smul_apply,smul_eq_mul]; abel |
| 207 | simp_rw [hw] |
| 208 | rcases i with ⟨a,b⟩; rcases j with ⟨c,d⟩ |
| 209 | have hR v:= (rockEdge v).const_mul_left ((1:CompM (Fslot G) _) (a,b) (c,d)) |
| 210 | intro v; unfold tintedLocal; simp only [Matrix.of_apply]; simp_rw [mul_comm _ ((1:CompM (Fslot G) _) (a,b) (c,d))]; split; next hep=> exact (bed_gain _ _ hx a c v).add (hR v) |
| 211 | next heq => simp only [sub_zero,zero_add]; exact hR v |
| 212 | lemma quarryLum (i j : Foot G) : Rays 3 (fun x: Track=> (quarry G).tab (axes x) i j-skull x (Foot G) i j) := by |
| 213 | simp_rw [bareQuarry,skull,Matrix.smul_apply,smul_eq_mul,← sub_mul,mul_comm _ ((1:CompM (Foot G) _) i j)]; intro v; exact (rockEdge v).const_mul_left _ |
| 214 | end YM.Stationary |
| 215 | end |
| 216 | |
| 217 | /-! |
| 218 | # Orbit leading vertices n=1 as real Track. Slots μ in lower House |
| 219 | only; analytic and rays in pre-L widths. Vector ghost formula specializes |
| 220 | from Jag P arbit. |
| 221 | -/ |
| 222 | noncomputable section |
| 223 | namespace YM.Stationary |
| 224 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 225 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 226 | variable {α β : Type} [Fintype α] [Fintype β] {G : Gauge} {V U : Jar G} {B : Bed} {F : KindF G} {σ C D μ ε τ A : ℝ} {p : Clip} |
| 227 | |
| 228 | abbrev GlideTrack := Track×Track |
| 229 | lemma formish {X : Type} [NormedAddCommGroup X] [NormedSpace ℂ X] [FiniteDimensional ℂ X] {g : X→ℂ} {x : X} (hv : ∀ᶠ i in 𝓝 x, DifferentiableAt ℂ g i) : AnalyticAt ℂ g x := by |
| 230 | let n := Module.finrank ℂ X |
| 231 | let T : X ≃L[ℂ] (Fin n→ℂ) := ContinuousLinearEquiv.ofFinrankEq (Module.finrank_fin_fun ℂ).symm |
| 232 | have hh : AnalyticAt ℂ (g ∘ T.symm) (T x) := by |
| 233 | apply PolyDisc.formOf |
| 234 | filter_upwards [(show Tendsto T.symm (𝓝 (T x)) (𝓝 x) by simpa using T.symm.continuous.tendsto (T x)).eventually hv] with z hx |
| 235 | exact hx.comp z T.symm.differentiableAt |
| 236 | rw [show g=(g ∘ T.symm) ∘ T from funext fun x=>by simp]; exact hh.comp (f:=T) (T.analyticAt x) |
| 237 | lemma Barter.windowR {f : Momentum→Momentum→CompM α β} (h : Barter σ f) (hv : 0<σ) (x : GlideTrack) (i j) : AnalyticAt ℝ (fun p : GlideTrack=> f (axes p.1) (axes p.2) i j) x := by |
| 238 | let g (z : Momentum×Momentum) := f z.1 z.2 i j |
| 239 | let L (z : GlideTrack) : Momentum ×Momentum := (axes z.1,axes z.2) |
| 240 | have hl : AnalyticAt ℂ g (L x) := by |
| 241 | apply formish; let p := axes x.1; let q := axes x.2; change ∀ᶠ z in 𝓝 (p,q), DifferentiableAt ℂ g z |
| 242 | let S := strip (α:=Axis) σ; have hs : IsOpen S := Work.F07.stripOpen σ |
| 243 | have hx : p∈S := Work.F07.realStrip _ hv (axes_real _); have hy : q∈S := Work.F07.realStrip _ hv (axes_real _) |
| 244 | have hz : q+p∈S := Work.F07.realStrip _ hv (by unfold q p; simp) |
| 245 | have he : (fun z : Momentum×Momentum=> z.2+z.1) ⁻¹' S ∈𝓝 (p,q) := (continuous_snd.add continuous_fst).continuousAt.tendsto (hs.mem_nhds hz) |
| 246 | filter_upwards [he,(hs.prod hs).mem_nhds (Set.mk_mem_prod hx hy)] with z hz hu; exact h.shape ⟨hu.1,hu.2,hz⟩ i j |
| 247 | exact ((hl.contDiffAt (n:=ω)).restrict_scalars ℝ |>.comp (f:=L) _ ((axes_maps.comp (f:=Prod.fst) contDiff_fst|>.prodMk (axes_maps.comp contDiff_snd)).contDiffAt)).analyticAt |
| 248 | |
| 249 | abbrev chosenAxis (b : Fslot G) := axisEquiv.symm b.1 |
| 250 | |
| 251 | def herr (b : Fslot G) (p k : Track) := of fun x y : Fslot G => vectorC p k (chosenAxis b) b.2 (chosenAxis x) (chosenAxis y) x.2 y.2 |
| 252 | def hurr (b : Fslot G) (p k : Track) := of fun x y : Foot G => ghostC p k (chosenAxis b) b.2 x.2 y.2 |
| 253 | lemma herr_pitch (p k : Track) (i j a : Axis) (x y z : G.ColorIndex) : herr (coord a,z) p k (coord i,x) (coord j,y)=vectorC p k a z i j x y := by |
| 254 | have he a : chosenAxis (G:=G) (coord a,z)=a := axisEquiv.symm_apply_apply _ |
| 255 | unfold chosenAxis at * |
| 256 | unfold herr chosenAxis; simp only [Matrix.of_apply,he] |
| 257 | lemma hurr_pitch (p k : Track) (i) (x y z : G.ColorIndex) : hurr (coord i,z) p k (vac,x) (vac,y)= ghostC p k i z x y := by unfold hurr chosenAxis; simp only [Matrix.of_apply,show axisEquiv.symm (coord i)=i from axisEquiv.symm_apply_apply _] |
| 258 | lemma taxi_cont (i : Axis) : ContDiff ℝ ω (fun p : Track=>tachy p i) := (Complex.I • (Complex.ofRealCLM ∘L (ContinuousLinearMap.proj (φ:=fun _ : Axis=>ℝ) i)) : Track→L[ℝ] ℂ).contDiff |
| 259 | lemma herr_cont (b : Fslot G) (i j) : ContDiff ℝ ω (fun x : GlideTrack=>herr b x.1 x.2 i j) := by |
| 260 | unfold herr vectorC ghostC; simp only [Matrix.of_apply] |
| 261 | have he (a : Axis) := taxi_cont a; fun_prop |
| 262 | lemma hurr_cont (b : Fslot G) (i j) : ContDiff ℝ ω (fun x : GlideTrack=>hurr b x.1 x.2 i j) := by |
| 263 | have he i := taxi_cont i; unfold hurr ghostC; simp only [Matrix.of_apply]; fun_prop |
| 264 | lemma colorSc (t : ℝ) (i j a : Axis) (x y z : G.ColorIndex) (p k : Track) : vectorC (t • p) (t • k) a z i j x y= (t:ℂ)*vectorC p k a z i j x y := by unfold vectorC ghostC tachy; simp; ring |
| 265 | lemma howlin (h : V.grey) (hx : V.fees σ C) (hs : 0<σ) (b i j : Fslot G) : Rays 2 (fun p : GlideTrack=> (granary G V.cast).spot b (axes p.1) (axes p.2) i j- herr b p.1 p.2 i j) := by |
| 266 | let hV := hx.live.plus (matina_green.pay matina_green.rear); refine twin_shear ((Barter.windowR ((hV : Play (granary G V.cast) σ).spot b) hs 0 i j).sub ((herr_cont b i j).contDiffAt.analyticAt)) (fun x=> ?_) |
| 267 | rcases i with ⟨i,u⟩; rcases j with ⟨j,v⟩; rcases b with ⟨b,w⟩; obtain ⟨a,rfl⟩ := axisEquiv.surjective b; obtain ⟨i',rfl⟩ := axisEquiv.surjective i; obtain ⟨j',rfl⟩ := axisEquiv.surjective j |
| 268 | have ht := (vectorPing h hx hs i' j' a u v w x.1 x.2).sub_const (vectorC x.1 x.2 a w i' j' u v) |
| 269 | rw [sub_self] at ht; refine ht.congr' ?_; filter_upwards [(self_mem_nhdsWithin : ∀ᶠ t : ℝ in cutRay,t≠0)] with t hu |
| 270 | simp only [coord_map, Prod.smul_fst,Prod.smul_snd,mul_sub,herr_pitch,colorSc] |
| 271 | change t≠0 at hu; field_simp [hu] |
| 272 | lemma screamer (h : 0<σ) (b : Fslot G) (i j : Foot G) : Rays 2 (fun p : GlideTrack=> (quarry G).spot b (axes p.1) (axes p.2) i j - hurr b p.1 p.2 i j) := by |
| 273 | refine twin_shear ((Barter.windowR (quarry_p.spot b) h 0 i j).sub ((hurr_cont b i j).contDiffAt.analyticAt)) (fun x=> ?_) |
| 274 | rcases b with ⟨b,w⟩; rcases i with ⟨i,v⟩; rcases j with ⟨j,u⟩ |
| 275 | obtain ⟨a,rfl⟩ := axisEquiv.surjective b; rw [vac_only i,vac_only j]; |
| 276 | have ht : Tendsto _ _ (𝓝 (ghostC x.1 x.2 a w v u)) := ghostPing a w v u x.1 x.2 |
| 277 | have hv := ht.sub_const (ghostC x.1 x.2 a w v u); rw [sub_self] at hv; refine hv.congr' ?_; filter_upwards [(self_mem_nhdsWithin : ∀ᶠ t : ℝ in cutRay,t≠0)] with t hu |
| 278 | simp only [coord_map, Prod.smul_fst,Prod.smul_snd,mul_sub,hurr_pitch] |
| 279 | have hg : ghostC (t • x.1) (t • x.2) a w v u=(t:ℂ)*ghostC x.1 x.2 a w v u := by unfold ghostC tachy; simp; ring |
| 280 | change t≠0 at hu; rw [hg]; unfold ghostC; field_simp [hu] |
| 281 | lemma jarBurst (h : U.soft 3) (b i j : Fslot G) : Rays 2 (fun p : GlideTrack=> U.cast.spot b (axes p.1) (axes p.2) i j) := by |
| 282 | let L := duoTop 1 (![b]) i j |
| 283 | let y p k : Space 2 := caftan (t:=2) (wineShift (![p]: Fin 1→_) k) |
| 284 | let f z : Keys 2→ℝ := fun l=> ((y (axes (Prod.fst (z:GlideTrack))) (axes z.2)) l).re |
| 285 | have he z t : y (axes ((t:ℝ) • (z:GlideTrack).1)) (axes (t • z.2))=axes (t • f z) := by |
| 286 | ext1 ⟨i,l⟩; fin_cases i <;> simp [y,f,caftan,wineShift,duoTop,axes,L]; ring_nf |
| 287 | intro x; change (fun t:ℝ => U.prim _ _ (y (axes (t • x.1)) (axes (t • x.2))))=O[cutRay] _ |
| 288 | simp_rw [he]; exact h.2.1 (Prod.snd ∘ L) (Prod.fst ∘ L) (f x) |
| 289 | lemma inflamed (h : U.soft 3) (hp : V.grey) (hv : V.fees σ C) (hs : 0<σ) (b i j : Fslot G) : Rays 2 (fun p : GlideTrack => (granary G (U.combine V|>.cast)).spot b (axes p.1) (axes p.2) i j - herr b p.1 p.2 i j) := by |
| 290 | let q z := U.cast.spot b (axes (Prod.fst (z:GlideTrack))) (axes z.2) i j |
| 291 | let p (z : GlideTrack) := (granary G V.cast).spot b (axes z.1) (axes z.2) i j |
| 292 | have he z : (granary G (U.combine V|>.cast)).spot b (axes z.1) (axes z.2) i j=q z+p z := by change q z+V.cast.spot b _ _ i j+ ((matina G).pay (matina G).rear).spot b _ _ i j=_; rw [add_assoc]; rfl |
| 293 | simp_rw [he,add_sub_assoc]; exact (jarBurst h b i j).add (howlin hp hv hs b i j) |
| 294 | end YM.Stationary |
| 295 | end |