import YM.MergeProof.North.Bourse import YM.FullVolume.Hearth import YM.FullVolume.Warrant import YM.MergeProof.North.Expound /-! Calendared proof thru actual Base+Seed. Can pay more beforeL, delays and Wait. -/ set_option autoImplicit false noncomputable section namespace YM.PhysicalNext.Repeat.Legato open Function Filter Set Lattice RG RG.Shoot Wilson Precision RG.Supply Input Org Extra.Histories Source open JointLoad JointLoad.Heir JointLoad.Heir.Suite JointLoad.Psalm Clockwork open AnalyticBridge VerifiedReset Collection Quotes Next.Scheduling Extra.Iteration Song Geo open ThroughLaunch Roof Push.PriceCompiler Further.StrongStartup SectorNext open WilsonStartup Progress.DirectedRecipe Time Next.Foundations UVNext.CouplingReset open Cub Circlet Graces Roost Planned.GuardedAtom Bandage open InteractingRank Next.Rank Next.Rank.Tapes RankCovariance PhysicalNext.InteractingRank.Soft open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff Interval InnerProductSpace variable {G:Gauge} open Next.Extract Dash open YM.MergeProof MergeProof.Accent /-- Wallets retained BEFORE choosing volume and field family for uniform UV. Everything still in one Purchase; can retune pre-L and Θ costs jointly. Adaptation of bally, but works with any exits `squad` can pay for our enhanced UV choices. Before choosing Y and transfers. -/ def Unlatched {M : Metals G}{P:Rolls M.p}{A:Alloy M P}{X:Factor A}{C : ℕ→ℝ}{K:Bid.Worth} (b:Bandage X C K) (Q:ℕ→ℕ)(After: ∀ (T:Bolt A) (_t:ℕ→ℕ) (_S:∀ d N p:ℕ,TransferData ((Labels.frames G).level d) (Issue.trail T) N p) (_D:∀ N p m:ℕ,m True) := by obtain ⟨V,W,hV⟩:= Push.Mark.commissioned G (hol G) (Labels.frames G) obtain ⟨s,T,C,K',hP,hv,hC⟩ := ruese hG hK v hp Q let u:Tariffs:=⟨fun _=>0,fun _=>le_rfl,fun _=>1⟩ let X:Extra.Multi.Scope:=⟨fun _=>1,fun _=>0,fun _=>1,fun _=>le_rfl,fun _=>Nat.zero_lt_one⟩ obtain ⟨t,hT,hx⟩:= hC u X; obtain ⟨Kc,L,hL⟩:= oyster s W V hV have ho:Tendsto (fun i=>(s.profile i).order) atTop atTop:= tendsto_atTop_mono (f:=id) (g:=_) (fun i=> by rw [hv.jets]; exact (le_max_right ..).trans (hp.k i)) tendsto_id obtain ⟨z,p,μ,-,-,hμ,hf⟩:= capitalSnow s (ThroughLaunch.bearing s T) ho obtain ⟨A⟩:= Next.Rank.exists_budget G refine ⟨s,T,C,K',hP,hv,t⊔ L⊔μ,hT.trans (le_sup_left.trans le_sup_left),fun k ht=>?_⟩ intro M; obtain ⟨hK,hB⟩:= sup_le_iff.mp ht; obtain ⟨hK,hl⟩:=sup_le_iff.mp hK obtain ⟨hi,hk⟩:= hx k hK let ξ:Extra.Multi.Tariff:= ⟨1,0,fun _=>le_rfl⟩ refine ⟨hi,fun P=>?_⟩; obtain ⟨w,hk⟩:= hk P; refine ⟨w,fun w' hw Qt E=>?_⟩ obtain ⟨F,hk⟩:=hk w' hw Qt E ξ; refine ⟨F,fun θ₀ hθ=>?_⟩; obtain ⟨θ,hθ,hk⟩:= hk _ hθ refine ⟨θ,hθ,fun Ht J V0=>?_⟩ let S:Delays θ:= {V0 with shells:= fun i => max (V0.shells i) (snows P i)} obtain ⟨a,hα,hδ⟩:= shower Kc S obtain ⟨l,h₁,h₂⟩:= hiss Q a; obtain ⟨q,hφ,hM,h₃⟩:= hk Ht J l refine ⟨q, (show DelayLe V0 S from ⟨le_rfl,le_rfl,fun _=>le_max_left ..,le_rfl⟩).trans (hα.trans (h₁.trans hφ)),fun V' h D W0=>?_⟩ have hw:= hα.trans (h₁.trans (hφ.trans h)) have hG'(i):0≤ generator G i := by unfold generator; positivity obtain ⟨Q',Z,hZ,h₄⟩:= franchise M.K A (generator G) hG' hG (hf k).1 (hf k).2 (fun i=> (hB i).trans (P.large i).need) hμ W0 refine ⟨Z,⟨hZ.1,hZ.2.2,hZ.2.1⟩,fun U ha hb hc aX hz hD=>?_⟩ obtain ⟨T,B,hF,hA,R,hR,hR₂,hR₃,hR₄,hR₅,⟨b⟩,hp,hπ,H₈,f,h₅⟩:=h₃ V' h D U aX hz hD refine ⟨T,B,hF,R,⟨hR,hR₂,hR₃,hR₄,hR₅⟩,b,?_⟩ intro Y hy t ht' F' D₁ Z' hx0 hd ht let S:=Family.mk (Issue.trail Y) (hol G) (Labels.frames G) (localSection G) t F' have hi:= h₂ V' (hφ.trans h) have hm:= hF.symm ▸ hA have huv:Mix.paidL S:= hm.factorial have hp' :∀ i, 100 ≤ (B.a.budget i).supportExponent:=by intro i; change _ ≤ (B.a.params i).supportExponent; rw [params_eq B.valid]; change _ ≤ (s.profile (B.a.clock.J i)).supportExponent; rw [hv.prices]; exact he _ obtain ⟨hx',hfr,P',A',hhe⟩:= hearthstone Q b Y t hi hQ hQ' hp hp' hG ht' hy hd ht Kc L V W hV (hδ V' (h₁.trans (hφ.trans h))) hL hl hx0 have hS:=hhe.foundation have htX : Extraction.Wcmain S:= gardena S (by exact hm.tabs) hx0 hx'.1 hx'.2 hG huv obtain ⟨B',HH,hH⟩:= castle R Y h₅ (C:=S) rfl (fun i=> (le_max_right ..).trans (hw.shells i)) have hX : Chateau b Q Y t F' D₁:= ⟨ht',hy,hp,hi, hd,ht,⟨M.p,P,θ,V',D,U,M.O,M.K,F,B,Y.history,Y.sticks,rfl,Y.moves⟩,hx0,huv,hx',htX, B',HH,hH,W,P',A',hS, fun g=>rated (B:=B') hx0 hS hG htX g hx' Q' hG' M.O (h₄ S (retains_budget hc (fun i=>⟨ha i,hb i⟩) B.valid) B' hH)⟩ exact ⟨hX,hm.tabs,exodus hG b Y Q t F' D₁ hX hp' H₈ hπ,hfr,⟨V,W,P',A',hV,hhe⟩,warrant (B:=B') hx0 hG hx' Q' hG' M.O (h₄ S (retains_budget hc (fun i=>⟨ha i,hb i⟩) B.valid) B' hH),⟨Kc,L,V,W,hδ V' (h₁.trans (hφ.trans h)),hV,hL,hl⟩,trivial⟩ end YM.PhysicalNext.Repeat.Legato