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.TraceDifference |
| 2 | import YM.Next.STATIONARY.Shape.Scaled |
| 3 | |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | /-! |
| 7 | # Real flare identification with left-perturbed dough, arbitrary relevant |
| 8 | period. F-only auxiliary use (annulus) also via linear form U. -/ |
| 9 | noncomputable section |
| 10 | namespace YM.Stationary |
| 11 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 12 | open scoped Topology ContDiff BigOperators |
| 13 | variable {G : Gauge} {P : Patch} {α β ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype ι] [DecidableEq ι] {n : ℕ} {c f m L : Side} {p : Clip} {R : PathData G} {σ C A D : ℝ} |
| 14 | |
| 15 | section generic |
| 16 | variable (p R) |
| 17 | def fireR (m : Side) (x : Corn (Co m (Crisp G))) := intended p R (dough G m x) |
| 18 | variable {p R} |
| 19 | lemma fireCont (m : Side) (h : R.Bounds p σ A D) : ContDiffAt ℝ ω (fireR p R m) 0 := by exact ContDiffAt.comp (g:=intended p R) _ (dough_zero G m ▸ (strain _ _ h).analytic.contDiffAt) (dough_floats G m).contDiffAt |
| 20 | lemma fire_gem : ∀ᶠ x : Corn (Co m (Crisp G)) in 𝓝 0, fireR p R m x=burn p R (input G m (wheat false x)) (wheat true x) := by |
| 21 | let M (b : Bool) : Corn (Co m (Crisp G)) →L[ℝ] Link G m := (wheat b).toContinuousLinearMap |
| 22 | let F := fun x : Corn (Co m (Crisp G)) => input G m (M true x)*input G m (M false x) |
| 23 | have hk : Continuous F := Continuous.mul (input_cont.comp (M true).continuous) (input_cont.comp (M false).continuous) |
| 24 | have he : F 0=1 := by unfold F; simp |
| 25 | filter_upwards [(show Tendsto F (𝓝 0) (𝓝 1) by rw [← he]; exact hk.tendsto 0).eventually content_encodes] with x hx |
| 26 | change mainTerm _ _ (input G m (content (F x)))=_; rw [hx]; rfl |
| 27 | |
| 28 | variable (K : Corn α →L[ℝ] Link G m) (B : Lines G m 1≃β) |
| 29 | variable (p R) |
| 30 | def FireMat (x : Corn α) := repackM B B (flare p R (input G m (K x))) |
| 31 | variable {p R} |
| 32 | |
| 33 | def fireK : Corn α→L[ℝ] Corn (Co m (Crisp G)) := (show Link G m→ₗ[ℝ] _ from sprout false).toContinuousLinearMap ∘L K |
| 34 | def cracker : Corn β→L[ℝ] Link G m := (LinearMap.pi (fun x : Lines G m 1=> LinearMap.proj (B x))).toContinuousLinearMap |
| 35 | def fireB : Corn β→L[ℝ] Corn (Co m (Crisp G)) := (show Link G m →ₗ[ℝ] _ from sprout true).toContinuousLinearMap ∘L cracker B |
| 36 | |
| 37 | lemma flare_bank (h : R.Bounds p σ C A) : ∀ᶠ x in 𝓝 0,∀ u v, |
| 38 | dotProduct u (FireMat p R K B x *ᵥ v)=iteratedFDeriv ℝ 2 (fun v=> fireR p R m (fireK K x+fireB B v)) 0 ![u,v] := by |
| 39 | let a := Corn α |
| 40 | let b := Link G m |
| 41 | let M : a×b→ Corn (Co m (Crisp G)) := fun x => fireK K x.1+ (sprout (R:=ℝ) (m:=m) (α:=Loc G 1) true).toContinuousLinearMap x.2 |
| 42 | have ht : M 0=0 := by unfold M; simp |
| 43 | have hh : Tendsto M (𝓝 0) (𝓝 0) := by rw [← ht]; exact (show Continuous M by unfold M; fun_prop).continuousAt |
| 44 | let F x y := burn p R (input G m (K x)) y |
| 45 | have he : ∀ᶠ v : a×b in 𝓝 0,F v.1 v.2=fireR p R m (M v) := by |
| 46 | filter_upwards [hh.eventually fire_gem] with x hx; rw [hx]; change _=burn _ _ (input _ _ (wheat false (sprout false _+sprout true _))) (wheat true (sprout false _+sprout true _)) |
| 47 | rw [map_add,wheat_swims,wheat_avoids (by decide : false≠true),map_add,wheat_swims,wheat_avoids (by decide : true≠false),zero_add,add_zero]; rfl |
| 48 | have hu : ContDiffAt ℝ ω (fun v : a×b => F v.1 v.2) 0 := ((ht.symm ▸ fireCont m h : ContDiffAt ℝ ω (fireR p R m) (M 0)).comp (f:=M) _ (by unfold M; fun_prop)).congr_of_eventuallyEq he |
| 49 | have hα : ∀ᶠ x : a in 𝓝 0,AnalyticAt ℝ (F x) 0 := by |
| 50 | have hx : ∀ᶠ x : a in 𝓝 0,AnalyticAt ℝ (fun v : a×b => F v.1 v.2) (x,0) := by |
| 51 | apply (show Tendsto (fun x : a => (x,(0:b))) (𝓝 0) (𝓝 ((0:a),0)) from (continuous_id.prodMk continuous_const).continuousAt.tendsto).eventually |
| 52 | exact hu.analyticAt.eventually_analyticAt |
| 53 | filter_upwards [hx] with x hx; exact (hx.contDiffAt.comp (f:=fun v => (x,v)) 0 (by fun_prop)).analyticAt |
| 54 | have hv : ∀ᶠ x : a in 𝓝 0,∀ᶠ y : b in 𝓝 0,F x y=fireR p R m (M (x,y)) := by |
| 55 | rw [show (0:a×b)=((0:a),(0:b)) from rfl,nhds_prod_eq] at he; exact he.curry |
| 56 | let T := cracker B |
| 57 | filter_upwards [hv,hα] with x hx hk u v |
| 58 | have he : F x ∘ T=ᶠ[𝓝 0] (fun y => fireR p R m (fireK K x+fireB B y)) := (show Tendsto T (𝓝 0) (𝓝 0) by simpa using T.continuous.tendsto 0).eventually hx |
| 59 | rw [← (he.iteratedFDeriv ℝ 2).eq_of_nhds,wired T (by rw [map_zero]; exact hk),map_zero] |
| 60 | let H := damage (pocket _) (F x) 0 |
| 61 | have hz (w : Corn β) : w=T w ∘ B.symm := by ext1 i; change w i=w (B (B.symm i)); rw [B.apply_symm_apply] |
| 62 | calc |
| 63 | _ = dotProduct (T u ∘ B.symm) (repackM B B H *ᵥ (T v ∘ B.symm)) := congrArg₂ (fun u v => dotProduct u (repackM B B H *ᵥ v)) (hz u) (hz v) |
| 64 | _ = _ := by rw [repack_act, ← repack_dot, show T∘![u,v]=![T u,T v] by ext1 j; fin_cases j <;> rfl]; simpa only [cash_pocket] using detracts (pocket (Lines G m 1)) (F x) 0 (T u) (T v) |
| 65 | |
| 66 | abbrev duoTop (k : ℕ) (v : Fin k → α) (x y : α) : Fin (k+2)→ α := Fin.snoc (Fin.snoc v x : Fin (k+1) → α) y |
| 67 | def creme (n : ℕ) : Fin (n+2)→ Bool := duoTop n (fun _ => false) true true |
| 68 | variable (u : Phase α→ₗ[ℂ] Phase (Lines G m 1)) (hp : ∀ a,u (axes a)=axes (K a)) |
| 69 | include hp |
| 70 | lemma published (h : R.Bounds p σ C D) (x y : Phase β) (d : Fin n→Phase α) : |
| 71 | dotProduct x (art (FireMat p R K B) n d*ᵥ y)=liquid (creme n) (intended p R) (duoTop n (u ∘ d) (x ∘B) (y∘B)) := by |
| 72 | have he := flare_bank K B h |
| 73 | let V := fireK K |
| 74 | let W := fireB B |
| 75 | let M : Phase β→ₗ[ℂ] Phase (Lines G m 1) := LinearMap.pi fun i=>LinearMap.proj (B i) |
| 76 | have hk i : (sprout false ∘ₗ u) (axes i)=axes (V i) := by rw [LinearMap.comp_apply,hp,sprout_axes]; rfl |
| 77 | have hx i : (sprout true∘ₗ M) (axes i)=axes (W i) := by rw [LinearMap.comp_apply,show M (axes i)=axes (cracker B i) from rfl,sprout_axes]; rfl |
| 78 | have hv := all_hess V W hk hx d (play_memo V W (fireCont m h) he) (fireCont m h) he x y |
| 79 | rw [hv]; unfold liquid; rw [MultilinearMap.compLinearMap_apply]; apply congr_arg (beat (fireR p R m) _ _) |
| 80 | ext1 i; unfold creme duoTop; cases i using Fin.lastCases with |
| 81 | | last => simp; rfl |
| 82 | | cast i => cases i using Fin.lastCases <;> simp <;> rfl |
| 83 | end generic |
| 84 | end YM.Stationary |
| 85 | end |
| 86 | |
| 87 | /-! |
| 88 | # Fixed-dimension census stamp of rank Κ. Energy cost in twisted momentum. |
| 89 | -/ |
| 90 | noncomputable section |
| 91 | namespace YM.Stationary |
| 92 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 93 | open scoped Topology ContDiff BigOperators |
| 94 | variable {G : Gauge} {P : Patch} {α β ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype ι] {n : ℕ} {c f m L : Side} {p q : Momentum} {σ C A D : ℝ} |
| 95 | |
| 96 | def syrupC (Φ : Bridge G P) (v : Fin n→ Momentum) (a : Fin n→ Loc G 1) (i : Fin n) := Φ (v i)*ᵥ Pi.single (a i) 1 |
| 97 | |
| 98 | def gusts (v : Fin n→ Momentum) (q : Momentum) := duoTop n v (-sunshift v q) q |
| 99 | |
| 100 | lemma twinBill (X : RecordM ℂ (Fin (n+2)) α) (u : Fin n→ Phase α) (M : CompM α α) (H : ∀ i j,M i j=X (duoTop n u (Pi.single i 1) (Pi.single j 1))) (v w : Phase α) : |
| 101 | dotProduct v (M*ᵥ w)=X (duoTop n u v w) := by |
| 102 | have he j (a : Phase α) (x) : X (update x j a)=∑ i,X (update x j (Pi.single i 1))*a i := by |
| 103 | let L := X.toLinearMap x j |
| 104 | change L a=∑ i,L _ * a i |
| 105 | conv_lhs => rw [show a=∑ i,a i • Pi.single i (1:ℂ) by ext i; simp [Finset.sum_apply,Pi.single_apply]] |
| 106 | rw [map_sum]; apply sum_congr rfl; intro i _; rw [map_smul]; exact mul_comm .. |
| 107 | have hv i : (M *ᵥ w) i = X (duoTop n u (Pi.single i 1) w) := by |
| 108 | unfold duoTop Matrix.mulVec dotProduct; rw [sonnet (Fin.snoc u (Pi.single i 1)) 0 w, he]; apply sum_congr rfl; intro a _; dsimp only; rw [H,← sonnet] |
| 109 | have hu := he (Fin.castSucc (Fin.last n)) v (Fin.snoc (Fin.snoc u 0 : Fin (n+1) → _) w); simp_rw [← snock, ← sonnet] at hu |
| 110 | unfold dotProduct; simp_rw [hv]; unfold duoTop; rw [hu]; exact sum_congr rfl fun _ _ => mul_comm .. |
| 111 | |
| 112 | section sprice |
| 113 | variable (Φ : Bridge G P) (l : ι → Stitch (n+1)) (K : Needle ι (Loc G 1) (n+1)) |
| 114 | |
| 115 | def ripple (v : Fin n→ Momentum) (a : Fin n→ Loc G 1) (q : Momentum) : CircM P.L (Loc G 1) (Loc G 1) := |
| 116 | Matrix.of fun i j=> tunnels l K (gusts v q) (duoTop n (syrupC Φ v a) (Pi.single i 1) (Pi.single j 1)) |
| 117 | lemma ripple_evals (v : Fin n→ Momentum) (a : Fin n→ Loc G 1) (q : Momentum) (u w) : dotProduct u (ripple Φ l K v a q *ᵥ w)= |
| 118 | tunnels l K (gusts v q) (duoTop n (syrupC Φ v a) u w) := twinBill _ _ _ (fun _ _ => rfl) u w |
| 119 | lemma gust_p {p : Fin n→Momentum} (h : ∀ i,p i∈strip σ) (he : q∈strip σ) (hv : sunshift p q∈strip σ) : ∀ i,gusts p q i∈strip σ := by intro i; unfold gusts duoTop; cases i using Fin.lastCases with |
| 120 | | last => simpa using he |
| 121 | | cast j => cases j using Fin.lastCases <;> simp [*,negResident hv] |
| 122 | lemma ripple_flip (h : Poster σ Φ) (v r : Fin n→Momentum) (a : Fin n→Loc G 1) (hv : ∀ i,v i∈strip σ) (he : ∀ i,rolls (v i) (r i)) (hp : rolls p q) : |
| 123 | ripple Φ l K v a p=ripple Φ l K r a q := by |
| 124 | have hx : syrupC Φ v a=syrupC Φ r a := by ext1 i; unfold syrupC; rw [h.shifts (he i) (hv i)] |
| 125 | have hh : ∀ i,rolls (gusts v p i) (gusts r q i) := snockedR rolls _ _ (snockedR rolls v r he ((hp.plus (rolls_sums he)).neg)) hp |
| 126 | unfold ripple; rw [hx,tunnels_twist l K hh (L:=P.L)] |
| 127 | section loc |
| 128 | variable {X : Type} [NormedAddCommGroup X] [NormedSpace ℂ X] |
| 129 | lemma ripple_bill (v : X→Fin n→Momentum) (a : Fin n→ Loc G 1) (p : X→ Momentum) (x) (hp : ∀ i,DifferentiableAt ℂ (fun y=> v y i) x) (hq : DifferentiableAt ℂ p x) |
| 130 | (he : ∀ i,v x i∈strip σ) (hv : p x∈strip σ) (hW : sunshift (v x) (p x)∈strip σ) (h : Poster σ Φ) (hf : Dai K (inch P.L*σ) C) (hs : 0<σ) : BillD (fun y => ripple Φ l K (v y) a (p y)) x := by |
| 131 | intro i j; let H (y : X) := gusts (v y) (p y); let V y := duoTop n (syrupC Φ (v y) a) (Pi.single i 1) (Pi.single j 1); let U y := (H y,V y) |
| 132 | have hb : DifferentiableAt ℂ H x := by |
| 133 | unfold H gusts duoTop; apply differentiableAt_pi.mpr; exact diff_snoc (diff_snoc hp (hq.add (DifferentiableAt.fun_sum (fun i _=> hp i))).neg) hq |
| 134 | have hP : DifferentiableAt ℂ V x := by |
| 135 | apply differentiableAt_pi.mpr; intro i |
| 136 | unfold V duoTop; cases i using Fin.lastCases with |
| 137 | | last => simp [differentiableAt_const] |
| 138 | | cast j => cases j using Fin.lastCases with |
| 139 | | last => simp [differentiableAt_const] |
| 140 | | cast b => |
| 141 | simp only [Fin.snoc_castSucc]; apply differentiableAt_pi.mpr; intro c; unfold syrupC Matrix.mulVec dotProduct |
| 142 | exact DifferentiableAt.fun_sum fun i _=> ((h.shape (he b) c i).comp x (hp b)).mul_const _ |
| 143 | exact (tunnels_bill l K hf hs (U x) (gust_p he hv hW)).comp (f:=U) x (hb.prodMk hP) |
| 144 | end loc |
| 145 | end sprice |
| 146 | end YM.Stationary |
| 147 | end |
| 148 | |
| 149 | /-! |
| 150 | # Power counting on true Κ vertex. Keep branch-independent energy slab. |
| 151 | Log correction comparison after normalizing dot. -/ |
| 152 | noncomputable section |
| 153 | namespace YM.Stationary |
| 154 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 155 | open scoped Topology ContDiff BigOperators |
| 156 | variable {G : Gauge} {P : Patch} {α β ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype ι] {n t : ℕ} {c f m L : Side} {p q : Momentum} {σ C A D : ℝ} |
| 157 | -- word size factors |
| 158 | lemma needleCollapse (l : Stitch t) (u : ℕ) (K : ℝ) (L : Side) (h : (t+1)+∑ j,(l j).length=4+u) : |
| 159 | (L.val:ℝ)^4*(∏ j, inch L^(1+(l j).length)*K)=inch L^u*K^(t+1) := by |
| 160 | have hz : (∑ j : Fin (t+1), (1+(l j).length))=4+u := by rw [Finset.sum_add_distrib]; simpa [h] |
| 161 | rw [Finset.prod_mul_distrib, Finset.prod_pow_eq_pow_sum,hz,pow_add,Finset.prod_const,card_univ,Fintype.card_fin, ← mul_assoc,← mul_assoc, ← mul_pow, mul_comm (L.val:ℝ), inch_unit, one_pow, one_mul] |
| 162 | |
| 163 | def roundBay (G : Gauge) (t : ℕ) (ι : Type) [Fintype ι] (C σ E : ℝ) := ((Fintype.card (Breed t (Loc G 1)):ℝ)* Fintype.card ι*robinTax σ t)*E*C |
| 164 | |
| 165 | def ruffle (C : ℝ) := C+Real.exp 4*5 |
| 166 | lemma ruffled (hc : 0 ≤ C) : 0 ≤ ruffle C := by unfold ruffle; positivity |
| 167 | lemma rip_room (G : Gauge) (t : ℕ) (ι : Type) [Fintype ι] (σ C E : ℝ) (h : 0≤C) (he : 0≤E) : 0 ≤ roundBay G t ι C σ E := by unfold roundBay robinTax; positivity |
| 168 | variable (Φ : Bridge G P) (l : ι → Stitch (n+1)) (K : Needle ι (Loc G 1) (n+1)) |
| 169 | |
| 170 | lemma ripple_cash (h : Cruise Φ 1 σ D) (hs : 0<σ) (hp : σ≤1) (hc : Dai K (inch P.L*σ) C) (he : 0≤C) (hg : ∀ a i,(l a i).length ≤1) (hx : ∀ a,(n+2)+(∑ i,(l a i).length)=4) |
| 171 | (v : Fin n→ Momentum) (a : Fin n→Loc G 1) (hv : ∀ i,v i∈strip σ) (p : Momentum) (hi : p∈strip σ) (hS : sunshift v p∈strip σ) : |
| 172 | serial (altarTile P.L (Loc G 1)|>.dual) (altarTile P.L (Loc G 1)) (sunshift v p) p (ripple Φ l K v a p) (roundBay G (n+1) ι C σ ((ruffle D)^(n+2))) := by |
| 173 | let x := altarTile P.L (Loc G 1) |
| 174 | let q:= -sunshift v p |
| 175 | have hr := negResident hS; have hA := h.2.1 |
| 176 | refine stands_echo _ (rip_room G (n+1) ι _ C _ he (pow_nonneg (ruffled hA) _)) fun u w hu hw => ?_ |
| 177 | let V := syrupC Φ v a; let R := ruffle D; let Y (i : ι) (a : Fin (n+2)) := inch P.L^(1+(l i a).length)*R |
| 178 | rw [ripple_evals]; refine tunnels_book l K hc hs (gust_p hv hi hS) _ Y (n:=duoTop n (fun _ : Fin n=> (0:ℕ)) 1 1) ?_ ?_ he (fun a => ?_) |
| 179 | · intro i b j |
| 180 | have hB p (k : Fin (n+2)) (t : Phase (Co P.L (Loc G 1))) (hp' : p∈strip σ) (hx : x.rate p t≤1) : Hearing (balcony _) 1 (fun z : Site P.L=> flight p (l i k) t (z,j)) (Y i k) := (lower_voice (p:=p) (fun j => (hp' j).trans_le hp) hx _ (hg i k) _).more (mul_le_mul_of_nonneg_left (le_add_of_nonneg_left hA) (pow_nonneg (inch_pos _).le _)) |
| 181 | unfold gusts duoTop; cases b using Fin.lastCases with |
| 182 | | last => simpa using hB _ _ w hi hw |
| 183 | | cast r => cases r using Fin.lastCases with |
| 184 | | last => simpa using hB _ _ u hr hu |
| 185 | | cast r => |
| 186 | simp only [Fin.snoc_castSucc, Fin.snoc_last] |
| 187 | let b := r.castSucc.castSucc |
| 188 | have hB : Hearing (balcony _) 0 (fun z : Site P.L=> flight (v r) (l i b) (V r) (z,j)) _ := Hearing.sup (mul_nonneg (pow_nonneg (inch_pos _).le _) hA) fun z => h.2.2 (l i b) (hg i b) (v r) (hv r) (a r) (z,j) |
| 189 | exact hB.more (mul_le_mul_of_nonneg_left (le_add_of_nonneg_right (by positivity)) (pow_nonneg (inch_pos _).le _)) |
| 190 | · unfold duoTop; rw [snocked_sum, snocked_sum]; simp |
| 191 | exact le_of_eq ((needleCollapse (l a) 0 R P.L (hx a)).trans (by rw [pow_zero,one_mul])) |
| 192 | end YM.Stationary |
| 193 | end |
| 194 | |
| 195 | /-! |
| 196 | # Flare tube on the real resonance sets. External single pick at all |
| 197 | phases, tubes no independence claim off-pencil. -/ |
| 198 | noncomputable section |
| 199 | namespace YM.Stationary |
| 200 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 201 | open scoped Topology ContDiff BigOperators |
| 202 | variable {G : Gauge} {P : Patch} {α β ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype ι] {n : ℕ} {c f m L : Side} {σ C A D τ : ℝ} |
| 203 | |
| 204 | section cash |
| 205 | variable {p q : Momentum} |
| 206 | lemma rolls_strip_REAL (a : Site m) (hp : rolls (mon a) p) (hs : 0<σ) : p∈strip σ := Work.F07.realStrip _ hs (hp.metric (real_frequency _)) |
| 207 | omit [Fintype α] [Fintype β] [DecidableEq α] [DecidableEq β] in |
| 208 | lemma duoRoll {u : Fin n→α} {v : Fin n→ β} (h : α →β→Prop) (he : ∀ i,h (u i) (v i)) {x z y w} (hp : h x z) (hv : h y w) : ∀ i,h (duoTop n u x y i) (duoTop n v z w i) := snockedR h _ _ (snockedR h u v he hp) hv |
| 209 | lemma duoSum {R : Type} [AddCommMonoid R] (v : Fin n→R) (x y) : ∑ i,duoTop n v x y i=(∑ i,v i)+x+y := by unfold duoTop; rw [snocked_sum,snocked_sum] |
| 210 | end cash |
| 211 | |
| 212 | section reality |
| 213 | variable (S : StepData c f) (Φ : Bridge G S.patch) (W : Matrix (Body 1 f) (Body 1 c) ℝ) (l : ι→ Stitch (n+1)) (K : Needle ι (Loc G 1) (n+1)) {p : Clip} {R : PathData G} |
| 214 | lemma tack_jack (he : Premise S W Φ) {t : Site c} {v : Momentum} (hp : rolls (mon t) v) (i : Phase (Loc G 1)) : approached (patron G W)*ᵥ tune t i = poured S.ratio t (Φ v*ᵥ i) := by |
| 215 | let x:= tune t i |
| 216 | let y:= unitSplit G S 1 |
| 217 | have hh : (approached (patron G W)*ᵥ x) ∘ y.symm=tune t (Φ v*ᵥ i) := (repack_act y (Equiv.refl _) _ _).symm.trans ((he _ _ hp i).trans (by rw [add_zero]; rfl)) |
| 218 | ext j; have hk := congr_fun hh (y j); rw [Function.comp_apply, Equiv.symm_apply_apply] at hk; exact hk |
| 219 | lemma wave_skim (he : Premise S W Φ) (h : R.Bounds p τ A D) (hc : Dai K (inch S.patch.L*σ) C) (hp : Bitter l K (creme n) (intended p R (m:=f))) (hs : 0<σ) |
| 220 | (q : Fin n→Momentum) (i : Fin n→ Loc G 1) (v : Fin n→Site c) (hw : ∀ i,rolls (mon (v i)) (q i)) : |
| 221 | Jaunt (art (FireMat p R (uniformM W) (unitSplit G S 1)) n (fun j => relay (v j) (i j))) (ripple Φ l K q i) (∑ j,v j) := by |
| 222 | intro u y H a |
| 223 | let B:=unitSplit G S 1 |
| 224 | let V := art (FireMat p R (uniformM W) B) n (fun j=>relay (v j) (i j)) |
| 225 | let C' := fun j=> relay (v j) (i j) |
| 226 | let Y := syrupC Φ q i |
| 227 | let F : Phase (Lines G c 1)→ₗ[ℂ] Phase (Lines G f 1) := Matrix.mulVecLin (approached (patron G W)) |
| 228 | have hx : F ∘ C'=fun j=>poured S.ratio (v j) (Y j) := funext fun j=> tack_jack S Φ W he (hw j) (Pi.single (i j) 1) |
| 229 | have hb j : F (axes j)= axes (uniformM W j) := (prom_vec ..).trans (congr_arg axes (patron_fee W j)) |
| 230 | have hq j := rolls_strip_REAL _ (hw j) hs |
| 231 | apply ray_book; intro r b |
| 232 | let e := r+(u+∑ j,v j) |
| 233 | have hy (x) (g : rolls (mon r) x) : dotProduct (tune r b) (V*ᵥ tune u a)= if e=0 then |
| 234 | (Fintype.card (Site c):ℂ)*tunnels l K (duoTop n q x y) (duoTop n Y b a) else 0 := by |
| 235 | rw [show V=_ from rfl, published (uniformM W) B F hb h (tune r b) _ (fun j=> relay (v j) (i j))] |
| 236 | let p' := duoTop n v r u; let q':=duoTop n q x y; let w := duoTop n Y b a |
| 237 | have h' := duoRoll (n:=n) (u:=v) (v:=q) (fun i j=>rolls (mon i) j) hw g H |
| 238 | have hd := nectar_run S.ratio hc hp p' q' h' (fun j => rolls_strip_REAL _ (h' j) hs) hs w |
| 239 | rw [show (∑ i,p' i)=e by unfold p' e; rw [duoSum]; abel] at hd |
| 240 | refine (congr_arg (liquid (creme n) (intended p R)) ?_).trans hd |
| 241 | rw [show F ∘ (fun j=> relay _ _)= _ from hx]; unfold p' w duoTop |
| 242 | ext1 j; cases j using Fin.lastCases with |
| 243 | | last => simp only [Fin.snoc_last]; rfl |
| 244 | | cast j => simp only [Fin.snoc_castSucc]; cases j using Fin.lastCases <;> simp only [Fin.snoc_castSucc,Fin.snoc_last] <;> rfl |
| 245 | change dotProduct _ (V *ᵥ tune u a)= _ |
| 246 | rw [ray_dots]; split |
| 247 | next hz => |
| 248 | have hh : rolls (mon r) (-sunshift q y) := by rw [eq_neg_of_add_eq_zero_left hz]; exact (H.combine (collide v q hw)).flip_sign |
| 249 | rw [hy _ hh,if_pos hz]; exact congr_arg ((Fintype.card (Site c):ℂ)*·) (ripple_evals Φ l K q i y b a |>.symm) |
| 250 | next hz => rw [hy _ (rolls.refl _),if_neg hz] |
| 251 | end reality |
| 252 | end YM.Stationary |
| 253 | end |
| 254 | |
| 255 | /-! |
| 256 | # Claiming three-vertex sheet pre-L. Persistence on exactly the widths |
| 257 | chosen from U. InfraAfter budgets `provided` for one path not requiring |
| 258 | program. Δ leg points are per call. -/ |
| 259 | noncomputable section |
| 260 | namespace YM.Stationary |
| 261 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience |
| 262 | open scoped Topology ContDiff BigOperators |
| 263 | variable {G : Gauge} {P : Patch} {i j n t : ℕ} {c f m L : Side} {p q r : Momentum} {σ η C A D : ℝ} {M : ℕ →Side} |
| 264 | |
| 265 | abbrev Shirley (n : ℕ) := Ports (n+1) (2-n) |
| 266 | |
| 267 | def melon : (n : ℕ) → Shirley n → Stitch (n+1) |
| 268 | | 0 => roller (t:=1) (n:=2) ![0,1] |
| 269 | | n+1 => winglet _ _ |
| 270 | |
| 271 | lemma melon_short {n} (he : n≤2) (z : Shirley n) (i) : (melon n z i).length ≤ 1 := by |
| 272 | match n with |
| 273 | | 0 => fin_cases i <;> simp [melon,roller,tabsZ,List.finRange] |
| 274 | | k+1 => exact (roller_ge _ _ _).trans (by omega) |
| 275 | lemma melon_card {n} (he : n≤2) (z : Shirley n) : (n+2)+(∑ j,(melon n z j).length)=4 := by |
| 276 | match n with |
| 277 | | 0 => unfold melon; rw [roller_extent] |
| 278 | | k+1 => unfold melon winglet; rw [roller_extent]; omega |
| 279 | |
| 280 | abbrev Mockup (G : Gauge) (n : ℕ) := Needle (Shirley n) (Loc G 1) (n+1) |
| 281 | |
| 282 | def Fruit (U : ∀ n, Mockup G n) (σ C : ℝ) := ∀ i ≤ 2, Dai (U i) σ C |
| 283 | def Syrupy (X : ∀ i,Link G (M i) →ℝ) (U : ∀ n,Mockup G n) := ∀ i n,n≤2 → Bitter (melon n) (U n) (creme n) (X i) |
| 284 | lemma fruit_mono {U : ∀ n,Mockup G n} (h : Fruit U σ C) (he : η≤σ) (hp : C≤A) : Fruit U η A := fun _ a i j=> (h _ a i j).mono he hp |
| 285 | lemma loanChar (G : Gauge) (n : ℕ) (he : n≤2) (hs : 0<σ) : ∃ η C,0<η ∧ 0≤C ∧ ∀ (A : ℝ), 0≤A → |
| 286 | ∀ M : ℕ→Side,∀ U : ∀ i,Link G (M i)→ℝ, (∀ i,AnalyticAt ℝ (U i) 0 ∧ fderiv ℝ (U i) 0=0) → |
| 287 | (∀ j,0<j → j≤3 → Drinkable j M U (3-j) σ A) → ∃ k : Mockup G n, Dai k η (A*C) ∧ ∀ i,Bitter (melon n) k (creme n) (U i) := by |
| 288 | let w := calls ((n+1)+1) σ |
| 289 | have ht : 0<w := by unfold w calls; positivity |
| 290 | have h : ∃ η K : ℝ,0<η ∧ 0≤K ∧ ∀ (A : ℝ),0≤A → ∀ (F : Picture G (n+1)), |
| 291 | (∀ i j,Firm w A (F i j) ∧ Rays (2-n) (F i j ∘ axes)) → ∃ k : Mockup G n,Dai k η (A*K) ∧ Spool F (melon n) k := by |
| 292 | match n with |
| 293 | | 0 => exact windTwin _ _ ht |
| 294 | | k+1 => exact winding _ _ ht |
| 295 | obtain ⟨η,K,hη,hk,H⟩ := h |
| 296 | let D := pintCost (creme n) G |
| 297 | have hc : 0≤D := sum_nonneg (fun _ _ => sum_nonneg fun _ _ => sum_nonneg fun _ _ => abs_nonneg _) |
| 298 | refine ⟨η,D*K,hη,mul_nonneg hc hk,fun A hA M U hp hy => ?_⟩ |
| 299 | obtain ⟨Y,hY,hE⟩ := wedlock U (v:=creme n) (u:=2-n) (fun k hk hw=> (hy k hk (by omega)).thins hs le_rfl le_rfl (by omega)) (fun i=>(hp i).2) (fun i=>(hp i).1) hs hA |
| 300 | obtain ⟨a,ha,hK⟩ := H (A*D) (mul_nonneg hA hc) Y hE |
| 301 | exact ⟨a,(mul_assoc A D K) ▸ ha,fun i => nectar ha hη hK (hY i)⟩ |
| 302 | |
| 303 | lemma blenderBar (G : Gauge) (hs : 0<σ) : ∃ η C,0<η ∧ 0≤C ∧ ∀ (A : ℝ), 0≤A → |
| 304 | ∀ M : ℕ→Side,∀ U : ∀ i,Link G (M i)→ℝ, (∀ i,AnalyticAt ℝ (U i) 0 ∧ fderiv ℝ (U i) 0=0) → |
| 305 | (∀ j,0<j → j≤3 → Drinkable j M U (3-j) σ A) → ∃ k : ∀ n,Mockup G n,Fruit k η (A*C) ∧ Syrupy U k := by |
| 306 | obtain ⟨x,V,hx,hV,H⟩ := loanChar G 0 (by decide) hs |
| 307 | obtain ⟨y,W,hy,hW,T⟩ := loanChar G 1 (by decide) hs |
| 308 | obtain ⟨z,X,hz,hX,P⟩ := loanChar G 2 le_rfl hs |
| 309 | let η := min x (min y z) |
| 310 | let D := V+W+X |
| 311 | refine ⟨η,D,lt_min hx (lt_min hy hz),by unfold D; positivity,fun A hA M U hp hu => ?_⟩ |
| 312 | obtain ⟨a,ha,H1⟩ := H _ hA _ U hp hu |
| 313 | obtain ⟨b,hb,H2⟩ := T _ hA _ U hp hu |
| 314 | obtain ⟨c,hc,H3⟩ := P _ hA _ U hp hu |
| 315 | let k (n : ℕ) : Mockup G n := match n with |
| 316 | | 0=> a | 1=>b | 2=>c | n+3=>0 |
| 317 | have hη : η ≤ min y z := min_le_right .. |
| 318 | refine ⟨k,fun i hi => ?_,fun v n hn => ?_⟩ |
| 319 | · interval_cases i |
| 320 | · exact fun p q => (ha p q).mono (min_le_left ..) (mul_le_mul_of_nonneg_left (by unfold D; linarith) hA) |
| 321 | · exact fun p q => (hb p q).mono (hη.trans (min_le_left ..)) (mul_le_mul_of_nonneg_left (by unfold D; linarith) hA) |
| 322 | exact fun p q => (hc p q).mono (hη.trans (min_le_right ..)) (mul_le_mul_of_nonneg_left (by unfold D; linarith) hA) |
| 323 | interval_cases n; exacts [H1 v,H2 v,H3 v] |
| 324 | |
| 325 | def RippleF (U : ∀ n,Mockup G n) (Φ : Bridge G P) : Spark (Loc G 1) G P := recitalX (fun n => if n≤2 then ripple Φ (melon n) (U n) else 0) |
| 326 | lemma cooking {Φ : Bridge G P} {U : ∀ n,Mockup G n} (h : Cruise Φ 1 σ D) (hp : σ≤1) (hs : 0<σ) (hc : 0≤C) (he : Fruit U (inch P.L*σ) C) : Keels (RippleF (G:=G) U Φ) σ |
| 327 | (feeHead (fun n=>roundBay G (n+1) (Shirley n) C σ ((ruffle D)^(n+2)))) := by |
| 328 | unfold Keels RippleF; apply serial_caps |
| 329 | · refine cosmic _ ?_ ?_ |
| 330 | · intro n p r i q z h1 h2 w1 w2 w3; split |
| 331 | next hn => exact ripple_flip _ _ _ h.1 p r i w1 h1 h2 |
| 332 | rfl |
| 333 | intro X _ _ x n p q a h1 h2 h3 hP hQ |
| 334 | by_cases H : n ≤ 2 |
| 335 | · simp_rw [if_pos H]; exact ripple_bill _ _ _ p a q x hP hQ h1 h2 h3 h.1 (he _ H) hs |
| 336 | simp_rw [if_neg H]; exact BillD.park x (0:_) |
| 337 | intro n hn i v hw p hv hz; rw [if_pos hn]; exact (ripple_cash _ _ _ h hs hp (he n hn) hc (melon_short hn) (melon_card hn) _ _ hw _ hv hz).mono (fee_ge (fun n=>roundBay G (n+1) (Shirley n) C σ ((ruffle D)^(n+2))) hn) |
| 338 | end YM.Stationary |
| 339 | end |