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.ThinTrace |
| 2 | import YM.Work.A04 |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | /-! |
| 6 | # Some Film algebra over columns. Always acts at these width hats. |
| 7 | -/ |
| 8 | set_option linter.unusedSectionVars false |
| 9 | noncomputable section |
| 10 | namespace YM.Stationary |
| 11 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset |
| 12 | open scoped Topology ContDiff BigOperators |
| 13 | variable {α β γ δ ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype γ] [DecidableEq γ] [Fintype δ] [DecidableEq δ] [Fintype ι] [DecidableEq ι] {C D σ : ℝ} {F : Film ι α β} |
| 14 | |
| 15 | namespace Film |
| 16 | lemma compare {X Y : Film ι α β} (ht : ∀ p,X.tab p=Y.tab p) (hv : ∀ i p q,X.spot i p q=Y.spot i p q) (hp : ∀ i j p q r,X.arch i j p q r=Y.arch i j p q r) : X=Y := by |
| 17 | have he : X.tab=Y.tab := funext ht |
| 18 | have hx : X.spot=Y.spot := funext (fun i => funext (fun p => funext (hv i p))) |
| 19 | have h := funext (fun i => funext (fun j => funext (fun p => funext (fun q => funext (hp i j p q))))) |
| 20 | cases X; cases Y; congr |
| 21 | lemma distL (X Y : Film ι α β) (T : Film ι β γ) : (X.plus Y).pay T=(X.pay T).plus (Y.pay T) := by |
| 22 | apply compare |
| 23 | · intro p; simp only [Film.pay,Film.plus,Pi.add_apply, Matrix.add_mul] |
| 24 | · intro i p q; simp only [Film.pay,Film.plus,Pi.add_apply, Matrix.add_mul]; abel |
| 25 | intro i j p q r; simp only [Film.pay,Film.plus,Pi.add_apply, Matrix.add_mul]; abel |
| 26 | lemma distR (X : Film ι α β) (Y T : Film ι β γ) : X.pay (Y.plus T)=(X.pay Y).plus (X.pay T) := by |
| 27 | apply compare |
| 28 | · intro p; simp only [Film.pay,Film.plus,Pi.add_apply, Matrix.mul_add] |
| 29 | · intro i p q; simp only [Film.pay,Film.plus,Pi.add_apply, Matrix.mul_add]; abel |
| 30 | intro i j p q r; simp only [Film.pay,Film.plus,Pi.add_apply, Matrix.mul_add]; abel |
| 31 | lemma combining (X : Film ι α β) (Y : Film ι β γ) (Z : Film ι γ δ) : (X.pay Y).pay Z=X.pay (Y.pay Z) := by |
| 32 | apply compare |
| 33 | · intro p; simp only [Film.pay, Matrix.mul_assoc] |
| 34 | · intro i p q; simp only [Film.pay,Matrix.mul_add,Matrix.add_mul,Matrix.mul_assoc]; abel |
| 35 | intro i j p q r; simp only [Film.pay,Matrix.mul_add,Matrix.add_mul,Matrix.mul_assoc]; rw [add_right_comm r q p]; simp only [add_assoc r]; abel |
| 36 | lemma rear_dist (X : Film ι α β) (Y : Film ι β γ) : (X.pay Y).rear= Y.rear.pay X.rear := by |
| 37 | apply compare |
| 38 | · intro p; simp only [Film.pay,Film.rear,Matrix.transpose_mul] |
| 39 | · intro i p q; simp only [Film.pay,Film.rear,Matrix.transpose_add,Matrix.transpose_mul]; rw [show -(q+p)+p= -q by abel]; abel |
| 40 | intro i j p q r; simp only [Film.pay,Film.rear,Matrix.transpose_add,Matrix.transpose_mul] |
| 41 | rw [add_right_comm r q p, add_assoc r] |
| 42 | rw [show -(r+(p+q))+p= -(r+q) by abel,show -(r+(p+q))+q= -(r+p) by abel,show -(r+(p+q))+(p+q) = -r by abel]; abel |
| 43 | lemma rear_plus (X Y : Film ι α β) : (X.plus Y).rear=X.rear.plus Y.rear := compare (fun _ => Matrix.transpose_add ..) (fun _ _ _=> Matrix.transpose_add ..) (fun _ _ _ _ _=> Matrix.transpose_add ..) |
| 44 | lemma reverseF (X : Film ι α β) : X.rear.rear=X := by |
| 45 | apply compare |
| 46 | · intro p; simp only [Film.rear, Matrix.transpose_transpose,neg_neg] |
| 47 | · intro i p q; simp only [Film.rear, Matrix.transpose_transpose]; rw [show -(-(q+p)+p)=q by abel] |
| 48 | intro i j p q r; simp only [Film.rear, Matrix.transpose_transpose]; rw [show -(-(r+(p+q))+(p+q))=r by abel] |
| 49 | end Film |
| 50 | |
| 51 | -- Axis sum, append Proof. avoid TC Add instance on Movie. |
| 52 | |
| 53 | def chore (l : List γ) (F : γ→Film ι α β) : Film ι α β := match l with |
| 54 | | [] => Film.cardF 0 |
| 55 | | i::l => (F i).plus (chore l F) |
| 56 | lemma chorePay {F : γ→Film ι α β} (p : List γ) (k : γ→ℝ) {X : Slab α} {Y : Slab β} (h : ∀ i∈p, Charges X Y (F i) σ (k i)) : Charges X Y (chore p F) σ (p.map k).sum := by |
| 57 | induction p with |
| 58 | | nil => exact Charges.current (Poster.web _) le_rfl (fun i _ => serial.flat) |
| 59 | | cons a l ih => exact (h a (List.mem_cons_self)).plus (ih (fun i hi => h i (by simp [hi]))) |
| 60 | lemma choreGift {F : γ→ Film ι α β} (p : List γ) (k : γ→ℝ) {X : Slab α} {Y : Slab β} (h : ∀ i ∈p, Ledger X Y (F i) σ (k i)) : Ledger X Y (chore p F) σ (p.map k).sum := by |
| 61 | induction p with |
| 62 | | nil => exact ⟨fun _=> bags.zero le_rfl,fun _ _ _ _=> bags.zero le_rfl,fun _ _ _ _ _ _ => bags.zero le_rfl⟩ |
| 63 | | cons a l ih => exact (h a (List.mem_cons_self)).plus (ih (fun i hi => h i (by simp [hi]))) |
| 64 | lemma choreL {F : γ→Film ι α β} (p : List γ) (h : ∀ i∈p, Play (F i) σ) : Play (chore p F) σ := by |
| 65 | induction p with |
| 66 | | nil => exact Play.current (Poster.web _) |
| 67 | | cons a l ih => exact (h _ List.mem_cons_self).plus (ih (fun i hi => h i (by simp [hi]))) |
| 68 | lemma tipScale (p : List γ) (k : γ→ℝ) (c : ℝ) : (p.map (fun i=> c*k i)).sum=c*(p.map k).sum := by |
| 69 | induction p with |
| 70 | | nil => simp |
| 71 | | cons a l ih => simp [ih,mul_add] |
| 72 | lemma choreRuns {F : γ→Film ι α β} (p : List γ) {m : Side} {U : γ→ OperatorF ι m α β} (h : ∀ i∈p,Ticket (F i) (U i)) : Ticket (chore p F) ((p.map U).sum) := by |
| 73 | induction p with |
| 74 | | nil => |
| 75 | apply Ticket.current (U:=0); rw [show approached (0:Matrix (Co m α) (Co m β) ℝ)=0 by ext; simp [approached]]; exact Jaunt.zero _ |
| 76 | | cons a l ih => exact (h _ List.mem_cons_self).plus (ih (fun i hi => h i (by simp [hi]))) |
| 77 | end YM.Stationary |
| 78 | end |
| 79 | |
| 80 | /-! |
| 81 | # Stack montage of reference and station determinants. Κ fields at same |
| 82 | exponential jet convention. Mission arc includes Mass determinant Δ; no |
| 83 | fixed-post pricing transferred to the absolute L budgets via these |
| 84 | identities. -/ |
| 85 | set_option linter.unusedSectionVars false |
| 86 | noncomputable section |
| 87 | namespace YM.Stationary |
| 88 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree |
| 89 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 90 | variable {ι : Type} [Fintype ι] [DecidableEq ι] {G : Gauge} {P : Patch} {p : Clip} {R : PathData G} {σ A C D : ℝ} {c f L : Side} |
| 91 | section sea |
| 92 | variable (G) |
| 93 | def buttF (G : Gauge) (L : Side) (ι : Type) := Film.cardF (ι:=ι) (fun _ => shardX (Co L (Loc G 1)) (Loc G 0) ℂ) |
| 94 | def brimF (G : Gauge) (L : Side) (ι : Type) := Film.cardF (ι:=ι) (fun _ => shardY (Co L (Loc G 1)) (Loc G 0) ℂ) |
| 95 | def stageFilm (i : Axis) (L : Side) := Film.cardF (ι:=ι) (stairRow G L i) |
| 96 | |
| 97 | end sea |
| 98 | |
| 99 | section movie |
| 100 | variable (D : Eye ι (Acts G P)) (r : Bool) |
| 101 | abbrev Spark (ι : Type) (G : Gauge) (P : Patch) := Film ι (VRange G 1 P.L) (VRange G 1 P.L) |
| 102 | variable (K : Spark ι G P) (k : ℝ) |
| 103 | |
| 104 | def shearGram := (sectorMail P D).rear.pay (buttF G P.L ι) |
| 105 | def emitter := (cannonFilm D).pay (Chromatic r D) |
| 106 | def CanonR := (shearGram D).plus (emitter D r) |
| 107 | |
| 108 | def militiaF := (CanonR D r).rear.pay (CanonR D r) |
| 109 | def motiveFilm (P : Patch) (G : Gauge) (i : Type) := (brimF G P.L i).rear.pay (brimF G P.L i) |
| 110 | def motiveRoll (i : Axis) := ((stageFilm (ι:=ι) G i P.L).rear.pay (cannonFilm D)).pay (stageFilm G i P.L) |
| 111 | def chorusRoll := chore (List.finRange 4) (motiveRoll D) |
| 112 | def rankF := (K.plus ((sectorMail P D).pay (sectorMail P D).rear)).plus (chorusRoll D) |
| 113 | def rankUpF := (((buttF G P.L ι).rear.pay (rankF D K)).pay (buttF G P.L ι)).plus (motiveFilm P G ι) |
| 114 | |
| 115 | def houseF := ((CharterR r D).rear.pay (CoastF r k D)).pay (CharterR r D) |
| 116 | def legionF := ((((buttF G P.L ι).rear.pay K).pay (buttF G P.L ι)).plus (houseF D r k)).plus (militiaF D r) |
| 117 | def medalF := ((((buttF G P.L ι).rear.pay K).pay (buttF G P.L ι)).plus (BoomF r k D)).plus (militiaF D r) |
| 118 | |
| 119 | end movie |
| 120 | section bills |
| 121 | variable (G) (S : StepData c f) |
| 122 | def rankUp (p : Clip) (R : PathData G) (U : Config G f) := (butt G c f)ᵀ* rankAux U p R (inch S.patch.L)* butt _ _ _ + (brim G c f)ᵀ *brim G c f |
| 123 | -- Real determinant surgery between rankUp and rankAux later. |
| 124 | lemma buttRoad : Ticket (buttF G S.patch.L ι) (fun _ : Corn (Co c ι) => repackM (unitSplit G S 1) (clothe _ S) (butt G c f)) := by classical exact Ticket.current _ _ butt_travel |
| 125 | lemma brimRoad : Ticket (brimF G S.patch.L ι) (fun _ : Corn (Co c ι) => repackM (Equiv.refl _) (clothe _ S) (brim G c f)) := by classical exact Ticket.current _ _ brim_travel |
| 126 | variable {G S} |
| 127 | end bills |
| 128 | section dialogs |
| 129 | variable (S : StepData c f) (t : S.Choices) (r : Bool) (Z : Corn (Co c ι) →L[ℝ] Bang G c f) |
| 130 | {D : Eye ι (Acts G S.patch)} {K : Spark ι G S.patch} {R : PathData G} {p : Clip} |
| 131 | (h : Turns D (billZ S Z)) (hp : S.patch.Branches S.kernel G) |
| 132 | (hq : ∀ x,(Z x).2.1=0) (hr : ∀ x,(Z x).2.2=0) (he : Ticket K (fun x => repackM (unitSplit G S 1) (unitSplit G S 1) (flare p R (headingF S t r Z x)))) |
| 133 | include h |
| 134 | lemma chore_lifts : Ticket (chorusRoll D) (fun x => repackM (unitSplit G S 1) (unitSplit G S 1) (brigadeM (cannon (inch S.patch.L) (headingF S t r Z x)))) := by |
| 135 | classical |
| 136 | let X : Lines G f 0≃ Co c (Co S.patch.L (Loc G 0)) := unitSplit G S 0; let Y : Lines G f 1≃ Co c (Co S.patch.L (Loc G 1)) := unitSplit G S 1 |
| 137 | let F x := cannon (inch S.patch.L) (headingF S t r Z x) |
| 138 | let V := fun i x => repackM Y Y ((stagehand i G f)ᵀ*F x * stagehand i G f) |
| 139 | let p := List.finRange 4 |
| 140 | have hx i : Ticket (stageFilm G i S.patch.L (ι:=ι)) (fun _ : Corn (Co c ι) => repackM X Y (stagehand i G f)) := Ticket.current _ _ (seatOpen G S i) |
| 141 | have hv i : Ticket (motiveRoll D i) (V i) := by |
| 142 | refine Ticket.foreign (((hx i).rear.pay (fuel_reel S t r Z h)).pay (hx i)) ?_ |
| 143 | filter_upwards with x; unfold V; rw [repack_multiply _ X, repack_multiply _ X, repack_rotate]; rfl |
| 144 | refine (choreRuns p (U:=V) (fun i _ => hv i)).foreign ?_ |
| 145 | refine Eventually.of_forall fun x => ?_ |
| 146 | rw [show (p.map V).sum=∑ i,V i from ?_] |
| 147 | · rw [Finset.sum_apply]; change ∑ i,V i x=repackM Y Y (brigadeM (F x)); ext i j; simp [V,brigadeM,repackM,Matrix.sum_apply] |
| 148 | rw [← Fin.sum_univ_def] |
| 149 | include he |
| 150 | lemma rank_lyrics : Ticket (rankF D K) (fun x => repackM (unitSplit G S 1) (unitSplit G S 1) (rankAux (headingF S t r Z x) p R (inch S.patch.L))) := by |
| 151 | classical |
| 152 | have hz := mail_for S Z h t r |
| 153 | apply Ticket.foreign ((he.plus (hz.pay hz.rear)).plus (chore_lifts S t r Z h)); filter_upwards with x |
| 154 | let i : Lines G f 1≃ Co c (Co S.patch.L (Loc G 1)) := unitSplit G S 1; let j : Lines G f 0≃ Co c (Co S.patch.L (Loc G 0)) := unitSplit G S 0 |
| 155 | let U := headingF S t r Z x |
| 156 | let F := flare p R U; let V := mail U; let T := brigadeM (cannon (inch S.patch.L) U) |
| 157 | change _=repackM i i (F+ V*Vᵀ +T) |
| 158 | rw [show repackM i i _=repackM i i F+repackM i i (V*Vᵀ)+repackM i i T from rfl,repack_multiply _ j,repack_rotate]; rfl |
| 159 | lemma rank_up_ticket : Ticket (rankUpF D K) (fun x => repackM (clothe _ S) (clothe G S) (rankUp G S p R (headingF S t r Z x))) := by |
| 160 | classical |
| 161 | let F := buttRoad (ι:=ι) G S; let T := brimRoad (ι:=ι) G S |
| 162 | apply Ticket.foreign (((F.rear.pay (rank_lyrics S t r Z h he)).pay F).plus (T.rear.pay T)); filter_upwards with x |
| 163 | let U := (butt G c f)ᵀ * rankAux (headingF S t r Z x) p R (inch S.patch.L)*butt G c f; let V := (brim G c f)ᵀ*brim G c f; let e := clothe G S |
| 164 | change _=repackM e e (U+V); rw [show repackM e e (U+V)=repackM e e U + repackM e e V from rfl]; unfold U V |
| 165 | rw [repack_multiply _ (unitSplit G S 1),repack_multiply _ (unitSplit G S 1), repack_multiply _ (Equiv.refl _),repack_rotate,repack_rotate]; rfl |
| 166 | include hp hq |
| 167 | omit he in |
| 168 | lemma regulator_tour : Ticket (CanonR D r) (fun x => repackM (unitSplit G S 0) (clothe G S) (cannonade S t (inch S.patch.L) (buffOn S t G r) (headOn S t r (Z x)))) := by |
| 169 | classical |
| 170 | have hx := (mail_for S Z h t r).rear.pay (buttRoad (ι:=ι) G S) |
| 171 | have ht := (fuel_reel S t r Z h).pay (estate S t r hp Z hq h) |
| 172 | refine Ticket.foreign (hx.plus ht) ?_; filter_upwards with x |
| 173 | let i : Lines G f 1≃ Co c (Co S.patch.L (Loc G 1)) := unitSplit G S 1; let j : Lines G f 0≃ Co c (Co S.patch.L (Loc G 0)) := unitSplit G S 0; let k := clothe G S |
| 174 | let U := headingF S t r Z x; let V := indexX S t (buffOn S t G r) (headOn S t r (Z x)) |
| 175 | let M := (mail U)ᵀ * rearM G c f; let T := cannon (inch S.patch.L) U* V |
| 176 | change _=repackM j k (M+T) |
| 177 | rw [show repackM j k _=repackM j k M+repackM j k T from rfl]; unfold M T; rw [repack_multiply _ i,repack_multiply _ j (u:=k),repack_rotate]; rfl |
| 178 | omit he in |
| 179 | lemma militia_ride : Ticket (militiaF D r) (fun x => repackM (clothe G S) (clothe G S) (militia S t (inch S.patch.L) (buffOn S t G r) (headOn S t r (Z x)))) := by |
| 180 | classical |
| 181 | have hF := regulator_tour S t r Z h hp hq |
| 182 | refine Ticket.foreign (hF.rear.pay hF) ?_; filter_upwards with x; unfold militia; rw [repack_multiply _ (unitSplit G S 0),repack_rotate]; rfl |
| 183 | include hr |
| 184 | lemma legislature : Ticket (legionF D r K S.kernel.penalty) (fun x => repackM (clothe G S) (clothe G S) (legion S t p R (inch S.patch.L) (buffOn S t G r) (input G c (Z x).1.1) (headOn S t r (Z x)))) := by |
| 185 | classical |
| 186 | have hF := issued_one S t r hp Z hq h |
| 187 | have hp' := coastGift S Z hp t r hq h hr |
| 188 | let T := ((hF.rear.pay hp').pay hF) |
| 189 | let V := buttRoad (ι:=ι) G S |
| 190 | refine Ticket.foreign ((((V.rear.pay he).pay V).plus T).plus (militia_ride S t r Z h hp hq)) ?_; filter_upwards with x |
| 191 | let i := unitSplit G S 1; let k := clothe G S; let d := Equiv.refl (Lines G c 1) |
| 192 | let U := headOn S t r (Z x); let P := input G c (Z x).1.1; let W := buffOn S t G r; let c' := inch S.patch.L |
| 193 | let F := rearM G c f; let M := motions S Z t r x; let H := quota S t W U; let A := militia S t c' W U; let N := flare p R U.1 |
| 194 | change _=repackM k k (Fᵀ*N*F+ Hᵀ*M*H + A) |
| 195 | rw [show repackM k k _=repackM k k (Fᵀ*N*F) + repackM k k (Hᵀ*M*H)+repackM k k A from rfl, repack_multiply _ i (V:=F),repack_multiply _ i (V:=N),repack_multiply _ d (V:=H),repack_multiply _ d (V:=M), repack_rotate, repack_rotate]; rfl |
| 196 | |
| 197 | end dialogs |
| 198 | end YM.Stationary |
| 199 | end |
| 200 | |
| 201 | /-! |
| 202 | # Union at N. Vertical classical score includes boom term. Root-frame |
| 203 | may be used qualitatively. -/ |
| 204 | noncomputable section |
| 205 | namespace YM.Stationary |
| 206 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree |
| 207 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 208 | variable {ι : Type} [Fintype ι] [DecidableEq ι] {G : Gauge} {P : Patch} {p : Clip} {R : PathData G} {σ A C D τ Ω Λ : ℝ} {c f L : Side} |
| 209 | section root |
| 210 | variable (S : StepData c f) (hp : S.patch.Branches S.kernel G) (t : S.Choices) (r : Bool) |
| 211 | (Z : Corn (Co c ι)→L[ℝ] Bang G c f) {D : Eye ι (Acts G S.patch)} |
| 212 | include hp |
| 213 | lemma cloak_open : Thaw (fun x => headOn S t r (Z x)) 0 := by |
| 214 | have ht : Thaw (fun x => Stationary.extend (Z x).1.2) 0 := Thaw.through (Z.contDiff.contDiffAt.fst.snd) |
| 215 | cases r |
| 216 | · exact ht |
| 217 | exact sport_thaw (fedora_style hp t) ht (by simp [Stationary.extend]) |
| 218 | lemma zero_hat : headOn S t r (Z 0)=1 := by |
| 219 | rw [map_zero]; cases r |
| 220 | · exact extend_zero |
| 221 | exact (congr_arg (dress _) extend_zero).trans (dressed_one (fedora_style hp t)) |
| 222 | lemma shellCost : Customs (buffOn S t G r) := by cases r; exact fedora_style hp t; exact root_customs |
| 223 | |
| 224 | lemma arc_rata (p : Clip) (R : PathData G) (hu : R.Bounds p τ Ω Λ) : |
| 225 | ∀ᶠ x in 𝓝 0, let U := headOn S t r (Z x); let V := input G c (Z x).1.1 |
| 226 | let F := buffOn S t G r |
| 227 | damage (helmets G c f) (burnJoint S t p R F V U) 0= |
| 228 | (rearM G c f)ᵀ*flare p R U.1 * rearM G c f + honorsBox S Z t r x := by |
| 229 | have he := awake t hu (cloak_open S hp t r Z) (by rw [zero_hat _ hp]; rfl) hp (shellCost S hp t r) |
| 230 | filter_upwards [he] with x hx |
| 231 | intro U V F |
| 232 | let K := burn p R U.1 |
| 233 | let H := fun y => tickets S V (ribbon S t (atire F U y)) |
| 234 | let T := ContinuousLinearMap.fst ℝ (Link G f) (BaseSites G c) |
| 235 | have hK : ContDiffAt ℝ ω K (T 0) := map_zero T ▸ hx.known |
| 236 | have hp : ContDiffAt ℝ ω H 0 := by |
| 237 | unfold H tickets; apply ContDiffAt.mul contDiffAt_const; apply ContDiffAt.sum; intro i _; exact matrix_price_jet (contDiffAt_const.mul (hx.thorn.inv i)) |
| 238 | let B := helmets G c f |
| 239 | have hv : burnJoint S t p R F V U=(K∘T)+H := rfl |
| 240 | refine damage_eq B ?_; intro a b; rw [detracts,add_mulVec,dotProduct_add,both_cost,rear_cost,rear_cost]; rw [show dotProduct (cash B a) (honorsBox S Z t r x*ᵥ cash B b)= _ from detracts B H 0 a b, hv,iteratedFDeriv_add_apply ((hK.comp _ T.contDiff.contDiffAt).of_le le_top) (hp.of_le le_top),_root_.add_apply,wired T hK.analyticAt, map_zero] |
| 241 | have he := detracts (pocket _) K 0 a.1 b.1; rw [cash_pocket,cash_pocket] at he |
| 242 | rw [show T ∘ ![a,b]=![a.1,b.1] by ext1 i; fin_cases i <;> rfl]; exact congr_arg (·+_) he.symm |
| 243 | |
| 244 | lemma rewarded {p : Clip} {R : PathData G} (hu : R.Bounds p τ Ω Λ) (hz : ∀ x,(Z x).2.1=0) (d : Turns D (billZ S Z)) {K : Spark ι G S.patch} |
| 245 | (he : Ticket K (fun x => repackM (unitSplit G S 1) (unitSplit G S 1) (flare p R (headingF S t r Z x)))) : Ticket (medalF D r K S.kernel.penalty) (fun x => repackM (clothe G S) (clothe G S) (medals S t p R (inch S.patch.L) (buffOn S t G r) (input G c (Z x).1.1) (headOn S t r (Z x)))) := by |
| 246 | classical |
| 247 | let V := buttRoad (ι:=ι) G S |
| 248 | refine ((((V.rear.pay he).pay V).plus (honorsGift S Z hp t r hz d)).plus (militia_ride S t r Z d hp hz)).foreign ?_ |
| 249 | filter_upwards [arc_rata S hp t r Z p R hu] with x hx |
| 250 | dsimp only at hx |
| 251 | unfold medals; rw [hx]; let U := rearM G c f; let T := flare p R (headingF S t r Z x) |
| 252 | let X := honorsBox S Z t r x; let Y := militia S t (inch S.patch.L) (buffOn S t G r) (headOn S t r (Z x)); let e := clothe G S |
| 253 | change _=repackM e e (Uᵀ*T*U+X+Y) |
| 254 | rw [show repackM e e _=repackM e e (Uᵀ*T*U)+repackM e e X+repackM e e Y from rfl,repack_multiply _ (unitSplit G S 1) (V:=U),repack_multiply _ (unitSplit G S 1) (V:=T),repack_rotate]; rfl |
| 255 | end root |
| 256 | end YM.Stationary |
| 257 | end |
| 258 | |
| 259 | /-! |
| 260 | # Montage charge pipeline, vertical context. Standing Gloss from readers, |
| 261 | unit path ext. Reference waves still require κ Spect. `shades_g` root |
| 262 | qualitative with supplied widths (owns no C!). -/ |
| 263 | set_option linter.unusedSectionVars false |
| 264 | noncomputable section |
| 265 | namespace YM.Stationary |
| 266 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree |
| 267 | open scoped Topology ContDiff BigOperators |
| 268 | variable {ι : Type} [Fintype ι] [DecidableEq ι] {G : Gauge} {P : Patch} {σ A C D τ Ω Λ : ℝ} {k j m : ℕ} {r : Bool} |
| 269 | |
| 270 | -- Price chain. |
| 271 | def boots2 (G : Gauge) (j : ℕ) (C D : ℝ) := 4*mealCa G j C D*feeHead (fun k => hatchRate G j k C) |
| 272 | def tribute2 (G : Gauge) (j : ℕ) (C D : ℝ) := 4* paceTariff G j C + boots2 G j C D |
| 273 | def stageDue (G : Gauge) (j : ℕ) (c : ℝ) := feeHead (fun k => lantern G j k c) |
| 274 | def sensor (G : Gauge) (j : ℕ) (c k : ℝ) := let a := stageDue G j c; 4 * (4*a*feeHead (theaterH (fun n => cashDamage G j n (muralRoom j*c) k))) * a |
| 275 | def legPay (G : Gauge) (j : ℕ) (C D k A : ℝ) := 4*(4*A)+sensor G j C k+ (4*tribute2 G j C D* tribute2 G j C D) |
| 276 | def boomPay (G : Gauge) (j : ℕ) (C D k A : ℝ) := 4*(4*A)+ feeHead (theaterH (fun n => cashBook G j n (muralRoom j*C) k))+(4*tribute2 G j C D*tribute2 G j C D) |
| 277 | def seats (G : Gauge) (a : ℝ) := ((List.finRange 4).map fun i => 4*(4*stageTariff G i*a)*stageTariff G i).sum |
| 278 | def uphill (G : Gauge) (j : ℕ) (C D A : ℝ) := A+tonPay G j C+Real.exp 4*seats G (mealCa G j C D)*Real.exp 4 |
| 279 | def statusP (G : Gauge) (j : ℕ) (C D A : ℝ) := 4*(4*uphill G j C D A)+4 |
| 280 | |
| 281 | def Keels (K : Spark ι G P) (σ C : ℝ) := Charges (altarTile P.L (Loc G 1)|>.dual) (altarTile P.L _) K σ C |
| 282 | |
| 283 | lemma bursar (G : Gauge) (L : Side) (ι : Type) : Charges (altarTile L (Loc G 1)) (slabW G L) (buttF G L ι) σ 1 := Charges.current (Poster.web _) zero_le_one (fun _ _ => serial_butt ..) |
| 284 | lemma bursar_prism (G : Gauge) (L : Side) (ι : Type) : Charges (Slab.basic (Loc G 0)) (slabW G L) (brimF G L ι) σ 1 := Charges.current (Poster.web _) zero_le_one (fun _ _ => serial_brim ..) |
| 285 | lemma stagepay {L : Side} (i : Axis) (h : σ ≤ 1) : Charges (Slab.basic _) (Slab.basic _) (stageFilm (ι:=ι) G i L) σ (stageTariff G i) := by |
| 286 | refine Charges.current (rowNice i) (by unfold stageTariff; positivity [flux_nonneg (dasher G i)]) fun p he => ?_ |
| 287 | exact plankPrice (fun _ => dasher G i) (fun i => (he i).trans_le h) (flux_nonneg _) (fun _=> le_rfl) |
| 288 | section paid |
| 289 | variable {K : KernelChoices} (hp : P.Branches K G) (hs : 0<σ) {E : Eye ι (Acts G P)} (h : Spotlight P E σ C) (hF : Amateur G P.L σ D) |
| 290 | include h hs |
| 291 | lemma shearPaid : Charges (Slab.basic _) (slabW G P.L) (shearGram E) σ (4*paceTariff G P.J C) := by |
| 292 | have hx := (paceTariff_pays h hs).2.rear; rw [Slab.retro,slide_basic] at hx |
| 293 | simpa only [mul_one,shearGram] using hx.pay (bursar G P.L ι) hs |
| 294 | lemma prism_pay2 : Charges (slabW G P.L|>.dual) (slabW G P.L) (motiveFilm P G ι) σ 4 := by |
| 295 | have he := bursar_prism (σ:=σ) G P.L ι; have hy := he.rear; rw [slide_basic] at hy; simpa only [mul_one,motiveFilm] using hy.pay he hs |
| 296 | include hp |
| 297 | lemma homes (k : ℝ) : Charges (slabW G P.L|>.dual) (slabW G P.L) (houseF E false k) σ (sensor G P.J C k) := by |
| 298 | have hv := CharterR.costs h hp |
| 299 | have hb := CoastF.costs h hp k |
| 300 | have hc := hv.rear; rw [slide_basic] at hc |
| 301 | exact (hc.pay hb hs).pay hv hs |
| 302 | include hF |
| 303 | lemma elevation_pay : Charges (Slab.basic _) (slabW G P.L) (emitter E false) σ (boots2 G P.J C D) := by |
| 304 | have ht := (cannon_frozen h hs hF).pay (Chromatic.costs h hp) hs |
| 305 | convert ht using 1 <;> first | rfl | (unfold boots2 inch; field_simp) |
| 306 | lemma conquer : Charges (Slab.basic _) (slabW G P.L) (CanonR E false) σ (tribute2 G P.J C D) := by |
| 307 | apply Charges.plus (shearPaid hs h) (elevation_pay hp hs h hF) |
| 308 | lemma specialOps : Charges ((slabW G P.L).dual) (slabW G P.L) (militiaF E false) σ (4*tribute2 G P.J C D* tribute2 G P.J C D) := by |
| 309 | have he := conquer hp hs h hF; have ht := he.rear; rw [slide_basic] at ht; exact ht.pay he hs |
| 310 | |
| 311 | lemma legion_right (U : Spark ι G P) (hv : Keels U σ A) : Charges ((slabW G P.L).dual) (slabW G P.L) (legionF E false U K.penalty) σ (legPay G P.J C D K.penalty A) := by |
| 312 | have hu : _ := bursar (σ:=σ) G P.L ι |
| 313 | have hx := (hu.rear.pay hv hs).pay hu hs; simp only [mul_one] at hx |
| 314 | exact (hx.plus (homes hp hs h K.penalty)).plus (specialOps hp hs h hF) |
| 315 | lemma medals_right (U : Spark ι G P) (hv : Keels U σ A) : Charges ((slabW G P.L).dual) (slabW G P.L) (medalF E false U K.penalty) σ (boomPay G P.J C D K.penalty A) := by |
| 316 | have hu : _ := bursar (σ:=σ) G P.L ι |
| 317 | have hx := (hu.rear.pay hv hs).pay hu hs; simp only [mul_one] at hx |
| 318 | exact (hx.plus (BoomF.costs h hp K.penalty)).plus (specialOps hp hs h hF) |
| 319 | |
| 320 | omit hp |
| 321 | lemma roll_round : Charges (Slab.basic _) (Slab.basic _) (chorusRoll E) σ ((inch P.L)^2*seats G (mealCa G P.J C D)) := by |
| 322 | let a := mealCa G P.J C D |
| 323 | let p := inch P.L^2 |
| 324 | unfold seats; rw [← tipScale] |
| 325 | refine chorePay _ _ (fun i _ => ?_) |
| 326 | have hx := stagepay (L:=P.L) (G:=G) (ι:=ι) i h.width; have hv := hx.rear; rw [slide_basic,slide_basic] at hv |
| 327 | convert (hv.pay (cannon_frozen h hs hF) hs).pay hx hs using 1 <;> first | rfl | ring |
| 328 | lemma rankRight (U : Spark ι G P) (hv : Keels U σ A) : Keels (rankF E U) σ (uphill G P.J C D A) := by |
| 329 | have ht := (paceTariff_pays h hs).2; have he := ht.rear |
| 330 | rw [slide_basic, Slab.retro] at he |
| 331 | exact (Charges.plus hv (ht.pay he hs)).plus (advancing h.width (roll_round hs h hF)) |
| 332 | lemma rankUpRight (U : Spark ι G P) (hv : Keels U σ A) : Charges (slabW G P.L|>.dual) (slabW G P.L) (rankUpF E U) σ (statusP G P.J C D A) := by |
| 333 | have hh := bursar (σ:=σ) G P.L ι |
| 334 | have ht := (hh.rear.pay (rankRight hs h hF U hv) hs).pay hh hs; simp only [mul_one] at ht |
| 335 | exact ht.plus (prism_pay2 hs h) |
| 336 | end paid |
| 337 | |
| 338 | -- qualitative rooting |
| 339 | |
| 340 | |
| 341 | end YM.Stationary |
| 342 | end |
| 343 | |
| 344 | /-! |
| 345 | # Uniform trace-idealized Hessian difference Θ. Requires CANON r=center for |
| 346 | C only. No costs for shear auxiliary or for Kin at this point. Compare |
| 347 | same E. -/ |
| 348 | set_option linter.unusedSectionVars false |
| 349 | noncomputable section |
| 350 | namespace YM.Stationary |
| 351 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree |
| 352 | open scoped Topology ContDiff BigOperators |
| 353 | variable {α β γ δ ι : Type} [Fintype ι] [DecidableEq ι] {G : Gauge} {P : Patch} {K : KernelChoices} {σ A C D : ℝ} |
| 354 | |
| 355 | section eta |
| 356 | variable (E : Eye ι (Acts G P)) (r : Bool) (k : ℝ) |
| 357 | |
| 358 | -- compare gram parts: sectorMail + emit; only pure bows cancel rank. Difference of - chorus part & Id. |
| 359 | def isolates (E : Eye ι (Acts G P)) := ((buttF G P.L ι).rear.pay (chorusRoll E)).pay (buttF G P.L ι) |
| 360 | def reflects := (((emitter E r).rear).pay (CanonR E r)).plus ((shearGram E).rear.pay (emitter E r)) |
| 361 | def barker := outstanding ((houseF E r k).plus (reflects E r)) ((isolates E).plus (motiveFilm P G ι)) |
| 362 | lemma ledger_book (U : Spark ι G P) : outstanding (legionF E r U k) (rankUpF E U)=barker E r k := by |
| 363 | let X := shearGram E |
| 364 | let T := emitter E r |
| 365 | let Y := reflects E r |
| 366 | let s := buttF G P.L ι |
| 367 | let t := sectorMail P E |
| 368 | have hp : militiaF E r=(X.rear.pay X).plus (reflects E r) := by |
| 369 | change ((X.plus T).rear.pay (X.plus T))= _; rw [Film.rear_plus, Film.distL,Film.distR X.rear] |
| 370 | change (((X.rear.pay X).plus (X.rear.pay T)).plus (T.rear.pay (X.plus T)))=(X.rear.pay X).plus ((T.rear.pay (X.plus T)).plus (X.rear.pay T)); |
| 371 | apply Film.compare |
| 372 | · intro p; simp [Film.plus]; abel |
| 373 | · intro i p q; simp [Film.plus]; abel |
| 374 | intro i j p q r; simp [Film.plus]; abel |
| 375 | have he : X.rear.pay X=(s.rear.pay (t.pay t.rear)).pay s := by |
| 376 | change (t.rear.pay s).rear.pay (t.rear.pay s)= _; rw [Film.rear_dist,Film.reverseF,Film.combining,Film.combining,Film.combining] |
| 377 | let N := (s.rear.pay U).pay s; let M := X.rear.pay X; let H := houseF E r k |
| 378 | have hg : rankUpF E U = (((N.plus M).plus (isolates E)).plus (motiveFilm P G ι)) := by unfold rankUpF rankF; simp only [Film.distL, Film.distR]; unfold M; rw [he]; rfl |
| 379 | rw [hg]; unfold legionF; rw [hp] |
| 380 | change outstanding ((N.plus H).plus (M.plus Y)) (((N.plus M).plus (isolates E)).plus (motiveFilm P G ι))=outstanding (H.plus Y) ((isolates E).plus (motiveFilm P G ι)) |
| 381 | apply Film.compare |
| 382 | · intro p; simp [outstanding,Film.plus,Film.weight]; abel |
| 383 | · intro i p q; simp [outstanding,Film.plus,Film.weight]; abel |
| 384 | intro i j p q r; simp [outstanding,Film.plus,Film.weight]; abel |
| 385 | end eta |
| 386 | |
| 387 | def popLedger (G : Gauge) := 4 * (Fintype.card (Loc G 0):ℝ) |
| 388 | |
| 389 | def orbitLedger (G : Gauge) (j : ℕ) (C D : ℝ) := Real.exp 4*seats G (bookTr G j C D)*Real.exp 4 |
| 390 | def regLedger (G : Gauge) (j : ℕ) (C D : ℝ) := 4*bookTr G j C D*feeHead (fun k=>hatchRate G j k C) |
| 391 | def reflectLedger (G : Gauge) (j : ℕ) (C D : ℝ) := let a := regLedger G j C D; 4*a* tribute2 G j C D + 4*(4*paceTariff G j C)*a |
| 392 | def payLedger (G : Gauge) (j : ℕ) (C k : ℝ) := let a := stageDue G j C; let b := feeHead (theaterH fun n=> cashDamage G j n (muralRoom j*C) k); 4 * (4 * a * ((Fintype.card (Loc G 1):ℝ)*b))*a |
| 393 | def barkPay (G : Gauge) (j : ℕ) (C D k : ℝ) := (payLedger G j C k+reflectLedger G j C D)+(4*(4*orbitLedger G j C D)+popLedger G) |
| 394 | |
| 395 | section prep |
| 396 | variable {E : Eye ι (Acts G P)} (h : Spotlight P E σ C) (hs : 0<σ) (hl : Amateur G P.L σ D) (ht : σ≤1/128) (hp : P.Branches K G) |
| 397 | |
| 398 | lemma motive_budget (P : Patch) (hs : 0<σ) : Ledger (slabW G P.L|>.dual) (slabW G P.L) (motiveFilm P G ι) σ (popLedger G) := by |
| 399 | let T := brimF G P.L ι |
| 400 | have he : Charges _ _ T σ _ := bursar_prism (σ:=σ) G P.L ι |
| 401 | have hx := he.rear; rw [slide_basic] at hx |
| 402 | unfold popLedger; have hh := (Ledger.origin he).freights hx hs; rw [mul_one,mul_one] at hh; exact hh |
| 403 | include h hs hp |
| 404 | lemma house_owed : Ledger (slabW G P.L|>.dual) (slabW G P.L) (houseF E false K.penalty) σ (payLedger G P.J C K.penalty) := by |
| 405 | have hv := CharterR.costs h hp |
| 406 | have hb := CoastF.costs h hp K.penalty |
| 407 | have hc := hv.rear; rw [slide_basic] at hc |
| 408 | exact ((Ledger.origin hb).freights hc hs).freight hv hs |
| 409 | include hl ht |
| 410 | omit hp in |
| 411 | lemma orbit_owed : Ledger (altarTile P.L (Loc G 1)|>.dual) (altarTile P.L _) (chorusRoll E) σ (orbitLedger G P.J C D) := by |
| 412 | apply regaling h.width |
| 413 | unfold seats; rw [← tipScale] |
| 414 | refine choreGift _ _ (fun i _ => ?_) |
| 415 | have hx := stagepay (L:=P.L) (G:=G) (ι:=ι) i h.width; have hv := hx.rear; rw [slide_basic,slide_basic] at hv |
| 416 | convert ((fuelCredit h hs hl ht).freights hv hs).freight hx hs using 1 <;> first | rfl | ring |
| 417 | lemma regionLedger : Ledger (Slab.basic _) (slabW G P.L) (emitter E false) σ (regLedger G P.J C D) := by |
| 418 | have hF := fuelCredit h hs hl ht; have hi := hF.freight (Chromatic.costs h hp) hs |
| 419 | convert hi using 1 <;> first | rfl | (unfold regLedger inch; field_simp) |
| 420 | lemma lens_paid : Ledger (slabW G P.L|>.dual) (slabW G P.L) (reflects E false) σ (reflectLedger G P.J C D) := by |
| 421 | have he := regionLedger h hs hl ht hp |
| 422 | have hv := he.twirls; rw [slide_basic] at hv |
| 423 | have hh := (shearPaid hs h).rear; rw [slide_basic] at hh |
| 424 | exact (hv.freight (conquer hp hs h hl) hs).plus (he.freights hh hs) |
| 425 | lemma full_tolls (U : Spark ι G P) : Ledger (slabW G P.L|>.dual) (slabW G P.L) (outstanding (legionF E false U K.penalty) (rankUpF E U)) σ |
| 426 | (barkPay G P.J C D K.penalty) := by |
| 427 | rw [ledger_book] |
| 428 | have he := bursar (σ:=σ) G P.L ι |
| 429 | have hm := ((orbit_owed h hs hl ht).freights he.rear hs).freight he hs; rw [mul_one,mul_one] at hm |
| 430 | apply Ledger.plus ((house_owed h hs hp).plus (lens_paid h hs hl ht hp)) |
| 431 | have hv := (hm.plus (motive_budget P hs)).boost (-1); rw [norm_neg,norm_one,one_mul] at hv; exact hv |
| 432 | end prep |
| 433 | end YM.Stationary |
| 434 | end |
| 435 | |
| 436 | /-! |
| 437 | # Auxiliary rank proof escrow and union at commonM arc. Step actual mark, |
| 438 | no constancy hypothesis for inputs over flags in any hs. |
| 439 | -/ |
| 440 | set_option linter.unusedSectionVars false |
| 441 | noncomputable section |
| 442 | namespace YM.Stationary |
| 443 | open Function Filter Lattice RG Audience Exterior Precision Bloch Wilson Laurent Matrix Finset Tree |
| 444 | open scoped Topology ContDiff BigOperators |
| 445 | variable {α β ι : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype ι] [DecidableEq ι] {G : Gauge} {P : Patch} {K : KernelChoices} {σ A C D : ℝ} {c f : Side} |
| 446 | section join |
| 447 | lemma matBlocks (R : Type) [CommRing R] (U : Matrix α α R) : (shardX α β R)ᵀ*U*shardX α β R +(shardY α β R)ᵀ*shardY α β R =fromBlocks U 0 0 1 := by |
| 448 | ext (i|i) (j|j) <;> simp [Matrix.mul_apply,shardX,shardY,LinearMap.toMatrix'_apply,Fintype.sum_sum_type,Pi.single_apply,Matrix.one_apply,ite_mul,mul_ite] <;> simp only [eq_comm] |
| 449 | end join |
| 450 | |
| 451 | lemma headquarters (S : StepData c f) (p : Clip) (R : PathData G) (U : Config G f) : (rankUp G S p R U).det=(rankAux U p R (inch S.patch.L)).det := by |
| 452 | simp only [rankUp,helmet_butt,helmet_brim, matBlocks]; rw [det_fromBlocks_zero₁₂,det_one,mul_one] |
| 453 | lemma rankUpFreeze {E : Eye ι (Acts G P)} {T : Spark ι G P} (hv : Freezer (altarTile _ _ |>.dual) (altarTile _ _) (rankF E T).tab σ A) : Freezer (slabW G P.L|>.dual) (slabW G P.L) (rankUpF E T).tab σ (max A 1) := by |
| 454 | let Y := rankF E T; let K := rankUpF E T |
| 455 | have hx p : K.tab p=spades (Y.tab p) 1 := matBlocks ℂ _ |
| 456 | refine ⟨fun p hp => ?_,fun p hp => ?_⟩ |
| 457 | · change IsUnit (K.tab p).det; rw [hx,spades, det_fromBlocks_zero₁₂]; simpa using hv.period p hp |
| 458 | change serial _ _ p p (K.tab p)⁻¹ _ |
| 459 | rw [hx, spade_inv (hv.period p hp) (by simp), inv_one] |
| 460 | unfold slabW; rw [Slab.spadeD, slide_basic] |
| 461 | exact Slab.serial_spade ((hv.price p hp).mono (le_max_left ..)) (serial.free.mono (le_max_right ..)) |
| 462 | |
| 463 | def ColdRank (G : Gauge) (P : Patch) (B : Bed) (σ C : ℝ) := Freezer ((altarTile P.L (Loc G 1)).dual) (altarTile P.L _) (furnish P.L (dais G (inch P.L) B)) σ C |
| 464 | def ColdTone (G : Gauge) (P : Patch) (σ C : ℝ) := Freezer (altarTile P.L (Loc G 0)|>.dual) (altarTile P.L _) (throneK G P.L) σ C |
| 465 | lemma absoluteTone {E : Eye ι (Acts G P)} (h : ColdTone G P σ C) (he : σ≤1/128) : Freezer (altarTile P.L (Loc G 0)|>.dual) (altarTile P.L _) (grenadeFilm E).tab σ C := Freezer.passes h (fun p hp => (grenade_ground E (p:=p) (fun i => (hp i).trans_le he)).symm) |
| 466 | |
| 467 | section ecology |
| 468 | -- coherent family. Z general, requires truth of particular Kick K; we pay with casts. |
| 469 | variable {m n : ℕ→Side} |
| 470 | structure PostCard (R : PathData G) (p : Clip) (P : Patch) (M : KernelChoices) (E : Eye ι (Acts G P)) |
| 471 | (X : Spark ι G P) (m n : ℕ→Side) where |
| 472 | ship : Armada m n P M |
| 473 | tags i : (ship.boot i).Choices |
| 474 | L i : Corn (Co (m i) ι)→L[ℝ] Bang G (m i) (n i) |
| 475 | bare i : ∀ x, ((L i) x).2=0 |
| 476 | tilts i : Turns E (billZ (ship.boot i) (L i)) |
| 477 | meets i : let S := ship.boot i |
| 478 | Ticket X (fun v => repackM (unitSplit G S 1) (unitSplit G S 1) (flare p R (headingF S (tags i) false (L i) v))) |
| 479 | |
| 480 | variable {r : Clip} {R : PathData G} {E : Eye ι (Acts G P)} {X : Spark ι G P} (Q : PostCard R r P K E X m n) (hv : P.Branches K G) (hm : Tendsto (fun i=>(m i).val) atTop atTop) |
| 481 | variable {η τ ε d Ω Λ A : ℝ} {B : Bed} |
| 482 | include hm Q hv |
| 483 | |
| 484 | -- post proofs before Nano. Need ColdRank drawn from shape H._. |
| 485 | lemma freezeRank (h : Play (rankF E X) σ) (hp : 0<σ) (he : σ ≤ 1/128) |
| 486 | (hc : R.Bounds r τ Ω Λ) (ht : Attached B R) (hy : B.metric.strip (inch P.L*σ) A) |
| 487 | (hf : ∀ i,Floor B r (n i) ε d) (hw : ∀ i, Bid.Sworn B (n i) G) (hz : η≤σ) (HG : ColdRank G P B η D) : Freezer (altarTile P.L (Loc G 1)|>.dual) (altarTile P.L _) (rankF E X).tab η D := by |
| 488 | let T := furnish P.L (dais G (inch P.L) B) |
| 489 | have hu := mul_pos (inch_pos P.L) hp |
| 490 | have hh := dais_charge (G:=G) B (inch_pos P.L) (inch_le P.L) hu (mul_le_mul_of_nonneg_left he (inch_pos _).le) hy |
| 491 | refine Freezer.passes HG fun x hx => Poster.renew hh.furnish_ok h.tab hp hm ?_ (fun j => (hx j).trans_le hz : x∈strip σ) |
| 492 | intro i |
| 493 | let S := Q.ship.boot i |
| 494 | let U := rankAux (1:Config G (n i)) r R (inch P.L) |
| 495 | let M := approached (repackM (unitSplit G S 1) (unitSplit G S 1) U) |
| 496 | refine ⟨M,?_,?_⟩ |
| 497 | · have he : Jaunt ((approached U).submatrix (splitCo S.ratio (Loc G 1)).symm (splitCo S.ratio (Loc G 1)).symm) T 0 := Jaunt.press S.ratio (daisy (inch_pos P.L) _ _ _ hc ht (hf i) (hw i) (B.metric.rights _ _ hy hu.le)) hh hp |
| 498 | exact he |
| 499 | have hk := rank_lyrics S (Q.tags i) false (Q.L i) (Q.tilts i) (Q.meets i) |>.tab |
| 500 | have hi : headingF S (Q.tags i) false (Q.L i) 0=1 := congr_arg Prod.fst (zero_hat S hv ..) |
| 501 | dsimp only [cardM] at hk; rw [hi] at hk; exact hk |
| 502 | omit hm hv in |
| 503 | lemma meterMark (hp : P.Branches K G) (i) : let S := Q.ship.boot i |
| 504 | Jaunt (approached (repackM (unitSplit G S 0) (clothe G S) (postroom S (Q.tags i) (inch P.L)))) (CanonR E false).tab 0 := by |
| 505 | intro S |
| 506 | have hx := (regulator_tour S (Q.tags i) false (Q.L i) (Q.tilts i) hp (fun x => congr_arg Prod.fst (Q.bare i x))).tab |
| 507 | unfold cardM at hx; dsimp only at hx |
| 508 | rw [zero_hat S hp] at hx; exact hx |
| 509 | |
| 510 | lemma freezeLegion (h : Charges (slabW G P.L|>.dual) (slabW G P.L) (legionF E false X K.penalty) σ C) (hvP : Poster σ (CanonR E false).tab) (hp : 0<σ) |
| 511 | (hc : R.Bounds r τ Ω Λ) (ht : Attached B R) (hy : B.metric.strip (inch P.L*σ) A) |
| 512 | (hf : ∀ i, Floor B r (n i) ε d) (hw : ∀ i,Bid.Sworn B (n i) G) (hz : η≤σ) (HG : Freezer (slabW G P.L|>.dual) (slabW G P.L) (forceK G P (CanonR E false).tab K.penalty B) η D) : Freezer (slabW G P.L|>.dual) (slabW G P.L) (legionF E false X K.penalty).tab η D := by |
| 513 | let H := (CanonR E false).tab |
| 514 | have hh : Poster σ (forceK G P H K.penalty B) := Poster.amounts (gift_lane B _ hy hp) (hvP.reverse.forge hvP) |
| 515 | refine Freezer.passes HG fun x hx => Poster.renew hh h.covered.tab hp hm ?_ (fun j => (hx j).trans_le hz : x ∈ strip σ) |
| 516 | intro i |
| 517 | classical |
| 518 | let S := Q.ship.boot i |
| 519 | let V := Q.tags i |
| 520 | let Y := clothe G S |
| 521 | let Z := Q.L i |
| 522 | have hp' := meterMark Q hv i |
| 523 | refine ⟨approached (repackM Y Y (commonM S V r R (inch P.L))), ticket_own B hv hc ht (hw i) (hf i) hp' hp hy,?_⟩ |
| 524 | have hk := (legislature S V false Z (Q.tilts i) hv (fun x => congr_arg Prod.fst (Q.bare i x)) (fun x => congr_arg Prod.snd (Q.bare i x)) (Q.meets i)).tab |
| 525 | dsimp only [cardM] at hk |
| 526 | rw [zero_hat S hv V, map_zero] at hk; simp only [Prod.fst_zero, input_zero] at hk |
| 527 | rw [legion_origin hv hc V _ (shellCost S hv V false)] at hk; exact hk |
| 528 | |
| 529 | lemma freezeMedal (h : Charges (slabW G P.L|>.dual) (slabW G P.L) (medalF E false X K.penalty) σ C) (hvP : Poster σ (CanonR E false).tab) (hp : 0<σ) |
| 530 | (hc : R.Bounds r τ Ω Λ) (ht : Attached B R) (hy : B.metric.strip (inch P.L*σ) A) |
| 531 | (hf : ∀ i, Floor B r (n i) ε d) (hw : ∀ i,Bid.Sworn B (n i) G) (hz : η≤σ) (HG : Freezer (slabW G P.L|>.dual) (slabW G P.L) (forceK G P (CanonR E false).tab K.penalty B) η D) : Freezer (slabW G P.L|>.dual) (slabW G P.L) (medalF E false X K.penalty).tab η D := by |
| 532 | let H := (CanonR E false).tab |
| 533 | have hh : Poster σ (forceK G P H K.penalty B) := Poster.amounts (gift_lane B _ hy hp) (hvP.reverse.forge hvP) |
| 534 | refine Freezer.passes HG fun x hx => Poster.renew hh h.covered.tab hp hm ?_ (fun j => (hx j).trans_le hz : x ∈ strip σ) |
| 535 | intro i |
| 536 | classical |
| 537 | let S := Q.ship.boot i |
| 538 | let V := Q.tags i |
| 539 | let Y := clothe G S |
| 540 | let Z := Q.L i |
| 541 | have hp' := meterMark Q hv i |
| 542 | refine ⟨approached (repackM Y Y (commonM S V r R (inch P.L))), ticket_own B hv hc ht (hw i) (hf i) hp' hp hy,?_⟩ |
| 543 | have hk := (rewarded S hv V false Z hc (fun x => congr_arg Prod.fst (Q.bare i x)) (Q.tilts i) (Q.meets i)).tab |
| 544 | dsimp only [cardM] at hk; rw [zero_hat S hv V, map_zero] at hk; simp only [Prod.fst_zero, input_zero] at hk; exact hk |
| 545 | end ecology |
| 546 | end YM.Stationary |
| 547 | end |