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.Site |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | /-! |
| 5 | # Γ=TON + T-profile. T^9 transport bookkeeping. Corresponds in any |
| 6 | mesh here, only Tune receipts. -/ |
| 7 | set_option linter.unusedSectionVars false |
| 8 | noncomputable section |
| 9 | namespace YM.Stationary |
| 10 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset |
| 11 | open scoped Topology ContDiff BigOperators |
| 12 | variable {α β γ δ ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype γ] [DecidableEq γ] [Fintype δ] [DecidableEq δ] [Fintype ι] [DecidableEq ι] {G : Gauge} {c f L : Side} {P : Patch} {C D σ μ : ℝ} {p q : Momentum} |
| 13 | |
| 14 | -- Real reindex on inverse/pow etc. |
| 15 | lemma repack_scale (a : α≃β) (b : γ≃δ) (U : Matrix α γ ℝ) (c : ℝ) : repackM a b (c • U)= c • repackM a b U := rfl |
| 16 | lemma repack_scale_inv (e : α≃β) (u : Matrix α α ℝ) (h : IsUnit u.det) : repackM e e u⁻¹=(repackM e e u)⁻¹ := by |
| 17 | let T := repackM e e u |
| 18 | have he : T* repackM e e u⁻¹=1 := by rw [show T=_ from rfl,← repack_multiply e _,Matrix.mul_nonsing_inv _ h,repack_unit] |
| 19 | change _=T⁻¹ |
| 20 | have hv : IsUnit T.det := by rw [show T=_ from rfl,repack_det]; exact h |
| 21 | exact ((Matrix.nonsing_inv_mul_cancel_left T _ hv).symm.trans ((congr_arg (T⁻¹ *·) he).trans (Matrix.mul_one _))) |
| 22 | |
| 23 | section triple |
| 24 | variable (F : Film ι α α) |
| 25 | def tripleFilm := (F.pay F).pay F |
| 26 | lemma tripleBase (p) : (tripleFilm F).tab p=(F.tab p)^3 := by rw [pow_succ,sq]; rfl |
| 27 | lemma triple_am (Q : OperatorF ι c α α) (h : Ticket F Q) : Ticket (tripleFilm F) (fun x => Q x^3) := by |
| 28 | refine Ticket.foreign ((h.pay h).pay h) ?_; filter_upwards with i; rw [pow_succ,sq] |
| 29 | lemma triple_act (h : Charges (Slab.basic _) (Slab.basic _) F σ C) (he : 0<σ) : Charges (Slab.basic _) (Slab.basic _) (tripleFilm F) σ (4*(4*C*C)*C) := ((h.pay h he).pay h he) |
| 30 | lemma triple_paid (h : Play F σ) : Play (tripleFilm F) σ := (h.pay h).pay h |
| 31 | end triple |
| 32 | |
| 33 | section tonic |
| 34 | variable (E : Eye ι (Acts G P)) |
| 35 | |
| 36 | def tonFilm := (sectorMail P E).rear.pay (sectorMail P E) |
| 37 | def amFilm := (tonFilm E).plus (Film.cardF (ι:=ι) (fun _ : Momentum => ((inch P.L)^2:ℝ) • (1:CompM (Co P.L (Loc G 0)) _))) |
| 38 | def pebFilm := ((amFilm E).back).weight (((inch P.L)^2:ℝ):ℂ) |
| 39 | def cannonFilm := (tripleFilm (tripleFilm (pebFilm E))).weight (((inch P.L)^2:ℝ):ℂ) |
| 40 | def grenadeFilm := (tonFilm E).plus (cannonFilm E) |
| 41 | lemma rear_tone {p} : (sectorMail P E).tab p=areaRef G P.L p := by simp [sectorMail, Film.plus,Dapper.base,Film.pay, stableF, Film.cardF] |
| 42 | end tonic |
| 43 | |
| 44 | variable (S : StepData c f) (t : S.Choices) (r : Bool) (Z : Corn (Co c ι)→L[ℝ] Bang G c f) {D : Eye ι (Acts G S.patch)} |
| 45 | (h : Turns D (billZ S Z)) |
| 46 | def headingF x := (headOn S t r (Z x)).1 |
| 47 | include h |
| 48 | lemma ton_rears : Ticket (tonFilm D) (fun x => repackM (unitSplit G S 0) (unitSplit G S 0) (tonic (headingF S t r Z x))) := by |
| 49 | classical |
| 50 | have he := mail_for S Z h t r |
| 51 | refine Ticket.foreign (he.rear.pay he) ?_; filter_upwards with x |
| 52 | let U := mail (headingF S t r Z x) |
| 53 | change _=repackM _ _ (Uᵀ*U) |
| 54 | have hx : repackM (unitSplit G S 0) (unitSplit G S 0) (Uᵀ*U)=_ := repack_multiply _ (unitSplit G S 1) .. |
| 55 | exact hx.symm |
| 56 | lemma amo_reel : Ticket (amFilm D) (fun x => repackM (unitSplit G S 0) (unitSplit G S 0) (ammo (inch S.patch.L) (headingF S t r Z x))) := by |
| 57 | classical |
| 58 | let T := ton_rears S t r Z h |
| 59 | let R : Lines G f 0≃ Co c (Co S.patch.L (Loc G 0)) := unitSplit G S 0 |
| 60 | let μ := inch S.patch.L |
| 61 | let Q : Matrix (Lines G f 0) (Lines G f 0) ℝ := μ^2 • 1 |
| 62 | have he : Jaunt (approached (repackM R R Q)) (fun _ => (μ^2:ℝ) • (1:CompM (Co S.patch.L (Loc G 0)) _)) 0 := by |
| 63 | unfold Q; rw [repack_scale,repack_unit,prom_tone] |
| 64 | have hz : approached (1:Funds (Co c (Co S.patch.L (Loc G 0))))=1 := by ext i j; by_cases h : i=j <;> simp [approached,Matrix.one_apply, *] |
| 65 | rw [hz]; exact Jaunt.smul Jaunt.noop _ |
| 66 | exact T.plus (Ticket.current _ _ he) |
| 67 | lemma peb_reel : Ticket (pebFilm D) (fun x => repackM (unitSplit G S 0) (unitSplit G S 0) (pebble (inch S.patch.L) (headingF S t r Z x))) := by |
| 68 | classical |
| 69 | let Zr : Lines G f 0≃ Co c (Co S.patch.L (Loc G 0)) := unitSplit G S 0 |
| 70 | let μ := inch S.patch.L |
| 71 | let F x := ammo μ (headingF S t r Z x) |
| 72 | let M := fun x => repackM Zr Zr (F x) |
| 73 | have hp x : IsUnit ((M x).det) := by rw [show M x=repackM _ _ _ from rfl,repack_det]; exact fund_det (ammo_safe _ (inch_pos _)) |
| 74 | let H : Ticket (amFilm D).back (fun x => (M x)⁻¹) := (amo_reel S t r Z h).back (hp 0) |
| 75 | refine (H.weight (μ^2)).foreign ?_; filter_upwards with x |
| 76 | change μ^2 • _=repackM Zr Zr (μ^2 • (F x)⁻¹) |
| 77 | rw [repack_scale,repack_scale_inv] |
| 78 | exact fund_det (ammo_safe _ (inch_pos _)) |
| 79 | lemma fuel_reel : Ticket (cannonFilm D) (fun x => repackM (unitSplit G S 0) (unitSplit G S 0) (cannon (inch S.patch.L) (headingF S t r Z x))) := by |
| 80 | classical |
| 81 | let μ := inch S.patch.L |
| 82 | let F x := pebble μ (headingF S t r Z x) |
| 83 | let Ry : Lines G f 0≃ Co c (Co S.patch.L (Loc G 0)) := unitSplit G S 0 |
| 84 | let M x := repackM Ry Ry (F x) |
| 85 | have H := triple_am _ (fun x => (M x)^3) (triple_am _ M (peb_reel S t r Z h)) |
| 86 | refine (H.weight (μ^2)).foreign ?_; filter_upwards with x |
| 87 | have he n : M x^n=repackM Ry Ry ((F x)^n) := by |
| 88 | induction n with |
| 89 | | zero => rw [pow_zero, pow_zero,repack_unit] |
| 90 | | succ n ih => rw [pow_succ,pow_succ, ih,repack_multiply _ Ry] |
| 91 | change μ^2 • (M x^3)^3=repackM Ry Ry (μ^2 • (F x)^9) |
| 92 | rw [← pow_mul,he,repack_scale] |
| 93 | lemma shipGren : Ticket (grenadeFilm D) (fun x => repackM (unitSplit G S 0) (unitSplit G S 0) (grenade (inch S.patch.L) (headingF S t r Z x))) := |
| 94 | (ton_rears S t r Z h).plus (fuel_reel S t r Z h) |
| 95 | end YM.Stationary |
| 96 | end |
| 97 | |
| 98 | /-! |
| 99 | # Common centers of static films. Real mesh of an arbitrary size m used |
| 100 | only to fix area/second-order comparison at the trivial field. No extension |
| 101 | or disambiguation of actual branch kernels. -/ |
| 102 | set_option linter.unusedSectionVars false |
| 103 | noncomputable section |
| 104 | namespace YM.Stationary |
| 105 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset |
| 106 | open scoped Topology ContDiff BigOperators |
| 107 | variable {α β γ ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype ι] [DecidableEq ι] {G : Gauge} {c f L : Side} {P : Patch} {C σ μ : ℝ} {p : Momentum} (E : Eye ι (Acts G P)) |
| 108 | lemma ton_ground (hs : p∈strip σ) : (tonFilm E).tab p=furnish P.L (fun p => stone p • (1:CompM (Loc G 0) (Loc G 0))) p := by |
| 109 | let M := areaRef G P.L |
| 110 | let K q := (M (-q))ᵀ * M q |
| 111 | have hz : (tonFilm E).tab=K := by funext p; simp only [K, M, tonFilm, Film.pay, Film.rear,rear_tone] |
| 112 | rw [hz] |
| 113 | have hh : Poster σ K := ((areaNice ..).reverse.forge (areaNice G P.L)) |
| 114 | have hW : Poster σ (furnish P.L (fun p => stone p • (1:CompM (Loc G 0) (Loc G 0)))) := by |
| 115 | have hx := (ammo_poster (G:=G) (μ:=0) (σ:=inch P.L*σ)); apply Poster.furnish_ok |
| 116 | simpa only [soda,Complex.ofReal_zero,zero_pow two_ne_zero, add_zero] using hx |
| 117 | have hσ : 0<σ := (abs_nonneg _).trans_lt (hs 0) |
| 118 | apply Poster.renew hh hW hσ walentes _ hs |
| 119 | intro i |
| 120 | let m := walent i |
| 121 | let f : Side := m*P.L |
| 122 | let S : StepData m f := ⟨P,⟨1,1,1,1,zero_lt_one,zero_lt_one,zero_lt_one,zero_lt_one⟩,rfl⟩ |
| 123 | let T : Lines G f 0≃ Co m (Co P.L (Loc G 0)) := unitSplit G S 0 |
| 124 | let Y : Lines G f 1≃ Co m (Co P.L (Loc G 1)) := unitSplit G S 1 |
| 125 | let U := mail (1:Config G f); let F := approached (repackM Y T U) |
| 126 | refine ⟨Fᵀ*F,((zero_neat G S).takes.hoist (zero_neat G S)), ?_⟩ |
| 127 | rw [show Fᵀ*F=approached (repackM T T (Uᵀ*U)) by rw [repack_multiply _ Y, repack_rotate,prom_mul]; rfl] |
| 128 | change Jaunt ((approached (tonic (1:Config G f))).submatrix _ _) _ _ |
| 129 | refine Jaunt.press S.ratio (tonic_symbol (G:=G) f) (σ:=1) ?_ zero_lt_one |
| 130 | simpa only [soda,Complex.ofReal_zero,zero_pow two_ne_zero, add_zero] using ammo_poster (G:=G) (μ:=0) (σ:=inch S.ratio.count*1) |
| 131 | |
| 132 | section furniture |
| 133 | variable {K T : Momentum→CompM α β} |
| 134 | lemma furnish_add : furnish L (K+T) p=furnish L K p+furnish L T p := by |
| 135 | have he : posterBlock L (K+T) p=posterBlock L K p+posterBlock L T p := by ext; simp [posterBlock,fiber]; split <;> simp |
| 136 | unfold furnish; rw [he, Matrix.mul_add, Matrix.add_mul] |
| 137 | lemma furnish_one : furnish L (fun _ => (1:CompM α α)) p=1 := by |
| 138 | have ht : posterBlock L (fun _ => (1:CompM α α)) p=1 := by ext ⟨i,a⟩ ⟨j,b⟩; by_cases h : i=j <;> simp [posterBlock,fiber,h,Matrix.one_apply] |
| 139 | unfold furnish; rw [ht, Matrix.mul_one,mul_nonsing_inv _ (tile_solid p)] |
| 140 | lemma furnish_mol (x : ℂ) : furnish L (x • K) p=x • furnish L K p := by |
| 141 | have h : posterBlock L (x • K) p=x • posterBlock L K p := by ext; simp only [posterBlock,fiber,Matrix.of_apply,Pi.smul_apply,Matrix.smul_apply]; split <;> simp |
| 142 | unfold furnish; rw [h,Matrix.mul_smul,Matrix.smul_mul] |
| 143 | |
| 144 | lemma furnish_prod {F M : Momentum→CompM α α} : furnish L (fun p => F p*M p) p=furnish L F p*furnish L M p := by |
| 145 | apply Matrix.toLin'.injective; apply LinearMap.ext; intro v; change furnish _ _ _*ᵥ v= _*ᵥ v |
| 146 | rw [← alias_pack p v, Matrix.mulVec_sum,Matrix.mulVec_sum]; refine sum_congr rfl fun x _ => ?_ |
| 147 | rw [furnish_gear, ← Matrix.mulVec_mulVec _ (furnish _ F p), furnish_gear, furnish_gear,mulVec_mulVec] |
| 148 | end furniture |
| 149 | |
| 150 | lemma amc_ground (hs : p∈strip σ) : (amFilm E).tab p= furnish P.L (fun p => soda (inch P.L) p • (1:CompM (Loc G 0) (Loc G 0))) p := by |
| 151 | let c := inch P.L |
| 152 | simp only [amFilm,Film.plus, Pi.add_apply,Film.cardF,ton_ground E hs]; unfold soda; simp_rw [add_smul] |
| 153 | let F q := stone q • (1:CompM (Loc G 0) (Loc G 0)) |
| 154 | let M := fun _ : Momentum => (1:CompM (Loc G 0) (Loc G 0)) |
| 155 | change furnish _ F p+_ = furnish _ (F+(c:ℂ)^2 • M) p |
| 156 | rw [furnish_add,furnish_mol,show furnish P.L M p=1 from furnish_one, ← Complex.ofReal_pow]; rfl |
| 157 | |
| 158 | lemma peb_ground (hs : p∈strip (1/128:ℝ)) : (pebFilm E).tab p=furnish P.L (fun p => damp (inch P.L) p • (1:CompM (Loc G 0) (Loc G 0))) p := by |
| 159 | let c := inch P.L |
| 160 | let F q := soda c q • (1:CompM (Loc G 0) (Loc G 0)); let X := furnish P.L F p |
| 161 | let T q := (soda c q)⁻¹ • (1:CompM (Loc G 0) (Loc G 0)) |
| 162 | let Y := furnish P.L T p |
| 163 | have hx : X⁻¹=Y := by |
| 164 | apply inv_eq_right_inv; apply Matrix.toLin'.injective; apply LinearMap.ext; intro v |
| 165 | rw [Matrix.toLin'_apply, Matrix.toLin'_apply,Matrix.one_mulVec]; rw [← alias_pack p v, mulVec_sum]; refine sum_congr rfl fun i _ => ?_ |
| 166 | unfold X Y; rw [← Matrix.mulVec_mulVec _ (furnish _ F p), furnish_gear, furnish_gear]; |
| 167 | have he : soda c (aliasAt p i)≠0 := soda_glass (inch_pos _) (inch_le _) (alias_inside hs i) |
| 168 | simp only [F,T,Matrix.smul_mulVec,Matrix.one_mulVec, smul_smul, mul_inv_cancel₀ he, one_smul] |
| 169 | simp only [pebFilm,Film.weight, Pi.smul_apply,Film.back,Film.coupon]; rw [amc_ground _ hs, show _⁻¹=Y from hx, Complex.ofReal_pow]; unfold damp Y; rw [← furnish_mol]; congr 2; ext1 i; rw [Pi.smul_apply]; exact smul_smul .. |
| 170 | lemma peb_triple (hs : p∈strip (1/128:ℝ)) : (tripleFilm (pebFilm E)).tab p=furnish P.L (fun p => damp (inch P.L) p ^ 3 • (1:CompM (Loc G 0) (Loc G 0))) p := by |
| 171 | rw [tripleBase,peb_ground _ hs, pow_succ,sq,← furnish_prod, ← furnish_prod]; congr 2 |
| 172 | ext1 i; rw [Matrix.mul_smul,Matrix.mul_smul,mul_one,smul_smul,Matrix.mul_one,smul_smul]; rw [mul_comm,pow_succ,sq,mul_assoc] |
| 173 | lemma cannon_ground (hs : p∈strip (1/128:ℝ)) : (cannonFilm E).tab p=furnish P.L (fun p => satin (inch P.L) p • (1:CompM (Loc G 0) (Loc G 0))) p := by |
| 174 | simp only [cannonFilm,Film.weight,Pi.smul_apply,tripleBase (tripleFilm ..),peb_triple _ hs,pow_succ _ 2,sq] |
| 175 | rw [← furnish_prod,← furnish_prod, ← furnish_mol]; congr 2; ext1 i; rw [Pi.smul_apply,Matrix.mul_smul,Matrix.mul_smul,Matrix.mul_one,smul_smul,Matrix.mul_one, smul_smul,smul_smul]; congr 1; unfold satin; push_cast; ring |
| 176 | lemma grenade_ground (hs : p∈strip (1/128:ℝ)) : (grenadeFilm E).tab p=throneK G P.L p := by |
| 177 | rw [grenadeFilm, Film.plus]; simp only [Pi.add_apply, ton_ground _ hs,cannon_ground _ hs,← furnish_add]; congr 1 |
| 178 | ext1 i; rw [Pi.add_apply, ← add_smul]; rfl |
| 179 | end YM.Stationary |
| 180 | end |
| 181 | |
| 182 | /-! |
| 183 | # Trace phase ideal for differentiated scattering. `triple_charge` crucial: |
| 184 | ALL routes have at most two differentiated legs. r.f. |
| 185 | -/ |
| 186 | set_option linter.unusedSectionVars false |
| 187 | noncomputable section |
| 188 | namespace YM.Stationary |
| 189 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset |
| 190 | open scoped Topology ContDiff BigOperators |
| 191 | variable {α β γ ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype γ] [DecidableEq γ] {G : Gauge} {L : Side} {P : Patch} {C D B σ : ℝ} {p q : Momentum} |
| 192 | namespace Ledger |
| 193 | variable {X : Slab α} {Y : Slab β} {Z : Slab γ} {F L : Film ι α β} {G : Film ι β γ} |
| 194 | lemma credit (h : Ledger X Y F σ C) (he : 0<σ) : 0≤C := (h.charge (p:=0) (Work.F07.realStrip _ he (by simp))).credit |
| 195 | lemma mono (h : Ledger X Y F σ C) (hv : D≤σ) (ht : C≤B) : Ledger X Y F D B := ⟨fun {p} w => (h.charge (fun i => (w i).trans_le hv)).mono ht, |
| 196 | fun i p q w => (h.feat i (w.part hv)).mono ht,fun i j p q r w => (h.dues i j (w.costs hv)).mono ht⟩ |
| 197 | lemma boost (h : Ledger X Y F σ C) (v : ℂ) : Ledger X Y (F.weight v) σ (‖v‖*C) := ⟨fun {p} w => (h.charge w).billed v,fun i p q w => (h.feat i w).billed v,fun i j p q r w => (h.dues i j w).billed v⟩ |
| 198 | lemma plus (h : Ledger X Y F σ C) (hp : Ledger X Y L σ D) : Ledger X Y (F.plus L) σ (C+D) := ⟨fun {p} w => (h.charge w).plus (hp.charge w), fun i p q w => (h.feat i w).plus (hp.feat i w),fun i j p q r w => (h.dues i j w).plus (hp.dues i j w)⟩ |
| 199 | lemma twirls (h : Ledger X Y F σ C) : Ledger Y.dual X.dual F.rear σ C := by |
| 200 | refine ⟨fun {p} w => ?_, fun i p q w => ?_,fun i j p q r w => ?_⟩ |
| 201 | · simpa only [neg_neg,Film.rear] using (h.charge (negResident w)).slide |
| 202 | · have he := (h.feat i w.late).slide; rw [neg_neg,show -(-(q+p)+p)=q by abel] at he; exact he |
| 203 | have he := (h.dues i j w.ebb).slide; rw [neg_neg,show -(-(r+(p+q))+(p+q))=r by abel] at he; exact he |
| 204 | lemma freight (h : Ledger X Y F σ C) (p : Charges Y Z G σ B) (he : 0<σ) : Ledger X Z (F.pay G) σ (4*C*B) := by |
| 205 | have hc := h.credit he; have hb := p.funds he |
| 206 | refine ⟨fun {q} w => ((h.charge w).pay (p.base w)).mono (by nlinarith), fun i q t w => ?_,fun i j q t r w => ?_⟩ |
| 207 | · exact (((h.feat i w).pay (p.base w.basic)).plus ((h.charge w.added).pay (p.detail i w))).mono (by nlinarith) |
| 208 | have h1 := (h.feat j w.roads).pay (p.detail i w.oneWay) |
| 209 | have h2 := (h.feat i w.proceed).pay (p.detail j w.second) |
| 210 | rw [add_assoc] at h1; rw [add_right_comm,add_assoc] at h2 |
| 211 | exact (((((h.dues i j w).pay (p.base w.oneWay.basic)).plus h1).plus h2).plus ((h.charge w.total).pay (p.stamp i j w))).mono (by linarith) |
| 212 | lemma freights (h : Ledger Y Z G σ D) (p : Charges X Y F σ C) (he : 0<σ) : Ledger X Z (F.pay G) σ (4*C*D) := by |
| 213 | have hc := p.funds he; have hb := h.credit he |
| 214 | refine ⟨fun {q} w => ((h.charge w).taken (p.base w)).mono (by nlinarith), fun i q t w => ?_,fun i j q t r w => ?_⟩ |
| 215 | · exact (((h.charge w.basic).taken (p.detail i w)).plus ((h.feat i w).taken (p.base w.added))).mono (by nlinarith) |
| 216 | have h1 := (h.feat i w.oneWay).taken (p.detail j w.roads) |
| 217 | have h2 := (h.feat j w.second).taken (p.detail i w.proceed) |
| 218 | rw [add_assoc] at h1; rw [add_right_comm,add_assoc] at h2 |
| 219 | exact (((((h.charge w.oneWay.basic).taken (p.stamp i j w)).plus h1).plus h2).plus ((h.dues i j w).taken (p.base w.total))).mono (by linarith) |
| 220 | lemma origin (h : Charges X Y F σ C) : Ledger X Y F σ ((Fintype.card α:ℝ)*C) := ⟨fun {p} w => bags.crew (h.base w), fun i p q w => bags.crew (h.detail i w),fun i j p q r w => bags.crew (h.stamp i j w)⟩ |
| 221 | |
| 222 | -- move indices |
| 223 | lemma advance (h : Ledger X Y F σ C) {T : Slab β} (ht : ∀ p ∈ strip σ,serial Y T p p 1 D) : Ledger X T F σ (C*D) := by |
| 224 | refine ⟨fun {p} w => ?_, fun i p q w => ?_, fun i j p q r w => ?_⟩ |
| 225 | · simpa using (h.charge w).pay (ht p w) |
| 226 | · simpa using (h.feat i w).pay (ht _ w.basic) |
| 227 | simpa using (h.dues i j w).pay (ht _ w.oneWay.basic) |
| 228 | lemma factors (h : Ledger X Y F σ C) {T : Slab α} (ht : ∀ p ∈ strip σ,serial T X p p 1 D) : Ledger T Y F σ (D*C) := by |
| 229 | refine ⟨fun {p} w => ?_, fun i p q w => ?_, fun i j p q r w => ?_⟩ |
| 230 | · simpa using (h.charge w).taken (ht p w) |
| 231 | · simpa using (h.feat i w).taken (ht _ w.added) |
| 232 | simpa using (h.dues i j w).taken (ht _ w.total) |
| 233 | end Ledger |
| 234 | |
| 235 | lemma triple_charge {U : Film ι α α} {X : Slab α} (h : Charges X X U σ C) (he : ∀ p∈strip σ,bags X X p p (U.tab p) D) (hs : 0<σ) : Ledger X X (tripleFilm U) σ (20*C*C*D) := by |
| 236 | have hc := h.funds hs; have hd := (he (0:Momentum) (Work.F07.realStrip _ hs (by simp))).credit |
| 237 | let F := U.pay U |
| 238 | have hF : Charges X X F σ _ := h.pay h hs |
| 239 | have H1 p (hz : p∈strip σ) : bags X X p p (F.tab p) (C*D) := (he p hz).taken (h.base hz) |
| 240 | have H2 i p q (hv : Avenue σ p q) : bags X X (q+p) q (F.spot i p q) (2*C*D) := by |
| 241 | exact (((he q hv.basic).taken (h.detail i hv)).plus ((he _ hv.added).pay (h.detail i hv))).mono (by linarith) |
| 242 | have hx : 0≤C*C*D := mul_nonneg (mul_nonneg hc hc) hd |
| 243 | refine ⟨fun {p} w => ((he p w).taken (hF.base w)).mono (by linarith),fun i p q w => ?_, fun i j p q r w => ?_⟩ |
| 244 | · exact (((he q w.basic).taken (hF.detail i w)).plus ((H1 _ w.added).pay (h.detail i w))).mono (by linarith) |
| 245 | have h1 := (H2 j _ _ w.roads).pay (h.detail i w.oneWay) |
| 246 | have h2 := (H2 i _ _ w.proceed).pay (h.detail j w.second) |
| 247 | rw [add_assoc] at h1; rw [add_right_comm,add_assoc] at h2 |
| 248 | exact (((((he r w.oneWay.basic).taken (hF.stamp i j w)).plus h1).plus h2).plus ((H1 _ w.total).pay (h.stamp i j w))).mono (by linarith) |
| 249 | end YM.Stationary |
| 250 | end |
| 251 | |
| 252 | /-! |
| 253 | # Pre-L tariffs for Ω/R1 & thin sectors. `parcels` valid at width |
| 254 | paid by soda_cube; invite inputs explicit σ. |
| 255 | -/ |
| 256 | set_option linter.unusedSectionVars false |
| 257 | noncomputable section |
| 258 | namespace YM.Stationary |
| 259 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset |
| 260 | open scoped Topology ContDiff BigOperators |
| 261 | variable {α ι : Type} [Fintype α] [DecidableEq α] [Fintype ι] [DecidableEq ι] {G : Gauge} {L : Side} {P : Patch} {C A B D τ σ : ℝ} {p q : Momentum} |
| 262 | |
| 263 | -- twice reweights |
| 264 | lemma advancing (h : σ≤1) {M : Film ι (Co L α) (Co L α)} (hp : Charges (Slab.basic _) (Slab.basic _) M σ (inch L^2*C)) : Charges (altarTile L α|>.dual) (altarTile L α) M σ (Real.exp 4*C*Real.exp 4) := by |
| 265 | convert advance (revertX hp (westward h)) (leftward h) using 1 |
| 266 | field_simp [(inch_pos L).ne'] |
| 267 | lemma regaling (h : σ≤1) {M : Film ι (Co L α) (Co L α)} (hp : Ledger (Slab.basic _) (Slab.basic _) M σ (inch L^2*C)) : Ledger (altarTile L α|>.dual) (altarTile L α) M σ (Real.exp 4*C*Real.exp 4) := by |
| 268 | convert Ledger.advance (Ledger.factors hp (westward h)) (leftward h) using 1 |
| 269 | field_simp [(inch_pos L).ne'] |
| 270 | lemma shining (h : σ≤1) {M : Film ι (Co L α) (Co L α)} (hp : Charges (altarTile L α) (altarTile L α|>.dual) M σ (inch L^2*C)) : Charges (Slab.basic _) (Slab.basic _) M σ (Real.exp 4*C*Real.exp 4) := by |
| 271 | convert advance (revertX hp (leftward h)) (westward h) using 1 |
| 272 | field_simp [(inch_pos L).ne'] |
| 273 | |
| 274 | -- uniform bubbles require σ≤1/128 theorem param. `AmoMeter` cost independent volume implicit. |
| 275 | def tonPay (G : Gauge) (j : ℕ) (C : ℝ) := 4*paceTariff G j C * paceTariff G j C |
| 276 | def amoPay (G : Gauge) (j : ℕ) (C : ℝ) := tonPay G j C + Real.exp 4*Real.exp 4 |
| 277 | def icePay (a b : ℝ) := a+a*b*a+(a*b*a*b+a*b*a*b+a*b)*a |
| 278 | |
| 279 | def mealPeb (G : Gauge) (j : ℕ) (C D : ℝ) := Real.exp 4*icePay D (amoPay G j C)*Real.exp 4 |
| 280 | def thirds (F : ℝ) := 4*(4*F*F)*F |
| 281 | def mealTr (G : Gauge) (j : ℕ) (C D : ℝ) := thirds (mealPeb G j C D) |
| 282 | def mealCa (G : Gauge) (j : ℕ) (C D : ℝ) := thirds (mealTr G j C D) |
| 283 | def bookTr (G : Gauge) (j : ℕ) (C D : ℝ) := let p := mealTr G j C D; let q := (Real.exp (1/128*4)*((Fintype.card (Loc G 0):ℝ)*(8*jointMoney)))*Real.exp (1/128*4); 20*p*p*q |
| 284 | |
| 285 | def Amateur (G : Gauge) (L : Side) (σ D : ℝ) := Freezer (altarTile L (Loc G 0)|>.dual) (altarTile L _) (furnish L (fun p => soda (inch L) p • (1:CompM (Loc G 0) (Loc G 0)))) σ D |
| 286 | lemma amasses (G : Gauge) : ∃ (η a : ℝ),0<η∧η≤1/128 ∧ 0≤a ∧ ∀ L : Side, ∀ σ≤η, Amateur G L σ a := by |
| 287 | obtain ⟨η,b,h,he,hk,hf⟩ := ammo_bill G; exact ⟨η,b,h,he,hk,fun L _ hw => (hf L).mono hw le_rfl⟩ |
| 288 | variable {E : Eye ι (Acts G P)} |
| 289 | lemma amid (hp : Amateur G P.L σ D) : Freezer (altarTile P.L (Loc G 0)|>.dual) (altarTile P.L _) (amFilm E).tab σ D := Freezer.passes hp (fun i hi => (amc_ground E hi).symm) |
| 290 | |
| 291 | |
| 292 | |
| 293 | |
| 294 | lemma tonic_points (h : Spotlight P E σ C) (hp : 0<σ) : Charges (altarTile P.L (Loc G 0)|>.dual) (altarTile P.L _) (tonFilm E) σ (tonPay G P.J C) := by |
| 295 | obtain ⟨hh,H⟩ := paceTariff_pays h hp |
| 296 | have he := hh.rear; rw [slide_basic] at he; exact he.pay hh hp |
| 297 | lemma ammo_points (h : Spotlight P E σ C) (hp : 0<σ) : Charges (altarTile P.L (Loc G 0)|>.dual) (altarTile P.L _) (amFilm E) σ (amoPay G P.J C) := by |
| 298 | let μ := inch P.L |
| 299 | let K := Film.cardF (ι:=ι) (fun _ : Momentum => μ^2 • (1:CompM (Co P.L (Loc G 0)) (Co P.L (Loc G 0)))) |
| 300 | have hx : Charges (Slab.basic _) (Slab.basic _) K σ (μ^2*1) := by |
| 301 | refine Charges.current (Poster.web _) (by positivity) fun i _ => ?_ |
| 302 | have ht := serial.costs (X:=Slab.basic (Co P.L (Loc G 0))) (p:=i) (q:=i) serial.free (a:= ((μ^2:ℝ):ℂ)); simp only [Complex.norm_real,Real.norm_of_nonneg (sq_nonneg _)] at ht; exact ht |
| 303 | have hp := advancing h.width hx; rw [mul_one (Real.exp 4)] at hp; exact Charges.plus (tonic_points h ‹0<σ›) hp |
| 304 | lemma pebbles_frozen (h : Spotlight P E σ C) (he : 0<σ) (hp : Amateur G P.L σ D) : Charges (Slab.basic _) (Slab.basic _) (pebFilm E) σ (mealPeb G P.J C D) := by |
| 305 | have hx := (ammo_points h he) |
| 306 | have hh := Freezer.back hx (amid hp) he |>.weight (((inch P.L)^2:ℝ):ℂ) |
| 307 | rw [Complex.norm_real, Real.norm_of_nonneg (sq_nonneg _)] at hh; exact shining h.width hh |
| 308 | lemma cannon_frozen (h : Spotlight P E σ C) (he : 0<σ) (hp : Amateur G P.L σ D) : Charges (Slab.basic _) (Slab.basic _) (cannonFilm E) σ ((inch P.L)^2*mealCa G P.J C D) := by |
| 309 | have hx := pebbles_frozen h he hp |
| 310 | have hh := (triple_act _ (triple_act _ hx he) he).weight (((inch P.L)^2:ℝ):ℂ) |
| 311 | rw [Complex.norm_real, Real.norm_of_nonneg (sq_nonneg _)] at hh; exact hh |
| 312 | lemma gran_frozen (h : Spotlight P E σ C) (he : 0<σ) (hp : Amateur G P.L σ D) : Charges (altarTile P.L (Loc G 0)|>.dual) (altarTile P.L _) (grenadeFilm E) σ (tonPay G P.J C+Real.exp 4*mealCa G P.J C D*Real.exp 4) := Charges.plus (tonic_points h he) (advancing h.width (cannon_frozen h he hp)) |
| 313 | lemma fuelCredit (h : Spotlight P E σ C) (he : 0<σ) (hp : Amateur G P.L σ D) (hs : σ≤1/128) : Ledger (Slab.basic _) (Slab.basic _) (cannonFilm E) σ ((inch P.L)^2*bookTr G P.J C D) := by |
| 314 | have hx := triple_act _ (pebbles_frozen h he hp) he |
| 315 | have hf i (hi : i∈strip σ) : bags (Slab.basic _) (Slab.basic _) i i ((tripleFilm (pebFilm E)).tab i) ((Real.exp (1/128*4)*((Fintype.card (Loc G 0):ℝ)*(8*jointMoney)))*Real.exp (1/128*4)) := by |
| 316 | have hh : i∈strip (1/128:ℝ) := fun j => (hi j).trans_le hs; rw [peb_triple E hh]; exact thin_doubled _ P.odd_side hh |
| 317 | have hh := (triple_charge hx hf he).boost (((inch P.L)^2:ℝ):ℂ); rw [Complex.norm_real,Real.norm_of_nonneg (sq_nonneg _)] at hh; exact hh |
| 318 | end YM.Stationary |
| 319 | end |