import YM.FullVolume.Reel.Wear import YM.FullVolume.Spiral.Neum import YM.FullVolume.Reel.Treasure set_option autoImplicit false noncomputable section namespace YM.PhysicalNext.Repeat.Muse.Veil open Function Filter Set Lattice RG Pressure Tree Wilson Finset open Push Push.AbsoluteSums Precision Exterior Next.Fluctuations SectorMeasure Work.E03 Work.F03 open ConnectedActivityE6 Channel Oriented SliceRows Control Window Coat DataKernel Animals open MeasureTheory ProbabilityTheory Gas Ursell Trees Blaze March open AnalyticBridge VerifiedReset Collection Quotes Next.Scheduling Extra.Iteration Song Geo RG.Shoot open Height Input Org Supply Pane Slide open Push.PriceCompiler Progress.DirectedRecipe Jams Apse Empire Time Roof Chord Ovens open FullVolume.Ray FullVolume.Urns FullVolume.Amp Pass Tent open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff Interval InnerProductSpace variable {G:Gauge}{X:Metals G}{D:Rolls X.p}{A:Alloy X D}{R:Roost.Factor A} variable {v q s t' t t₂:ℝ}{N n m d:ℕ}{L:Lyrics R t t} open UniformSpace open Luna Graces Mallow Extra.Histories Planned.GuardedAtom Guard open MergeProof MergeProof.Matric Next.Foundations set_option maxHeartbeats 420000 set_option synthInstance.maxHeartbeats 130000 set_option quotPrecheck false variable (H:Chord R N m n t t) (g:G.Simple)(Z:Ticket A N m n) local notation "s₀"=> A.B.a.S.side m n local notation "s₁"=> A.B.a.S.side (m+1) n variable {W:Bid.Worth}{c₁:ℕ→ℝ}(b:Legato.Bandage R c₁ W) (hd:d+3 ≤ A.B.a.clock.J m)(U0:Heading ((Labels.frames G).level d))(hU:EntryP H b hd U0) local notation "k₀"=> A.B.a.clock.J m local notation "k₁"=> A.B.a.clock.J (m+1) local notation "L_"=> D.L k₁ local notation "ℓ"=> ((L_).val:ℂ)^d local notation "F_"=> (Labels.frames G).level d local notation "p_"=>localSection G d local notation "o_"=>Next.Foundations.hol G local notation "R_"=> Z.val.val local notation "O_"=> H.moment Z.val local notation "κ"=> A.B.a.clock.forcedAllowance m local notation "va"=> authors A.B.a m local notation "D_"=> Orchard.portal H Z.val -- inspect portal namespace namespace Splint open Graces Mallow MergeProof.Menu Circlet Blush Lotus Orchard variable {S: Set Wing} variable (hx:Orchard.Visit H Z.val) local notation "D0s"=>portal H Z.val local notation "u'"=> Real.sqrt κ local notation "p0"=> A.B.a.budget m local notation "p1"=> A.B.a.budget (m+1) local notation "ST"=> (Labels.frames G).level d local notation "NT"=> A.B.a.S.side (m+1) n local notation "ρ"=> Doors.rate L_ set_option quotPrecheck false open YM.Source Labels open Matric.Stamp open Legato.Bandage.Boutique Extra.Histories.InputColumn variable (T: Desk G (A.B.a.S.side (m+1) n))(ht:Feeling A (m+1) n T) (K:Keeper T.orient.p T.orient.activities)(hk:K=Keeper.sufficient ht.aboard) variable (i:((Labels.frames G).level d).Index)(x:Coin ((Labels.frames G).level d) (Next.Foundations.hol G) T) local notation "A!"=>T.orient local notation "W_"=>Keeper.sufficient ht.aboard local notation "x_"=> pollen ST o_ T i x local notation "X_"=>packY ST o_ T K i x -- zero tag primary contribution. actual orientation Stats W.Seat.Pupil and Teller.Real. open YM.FullVolume.Nectar FullVolume.Ray Luna.Aank FullVolume FullVolume.Paint.Tower -- item.Parent currency. value ℓ1 anchored. Countable cocktail exactly sums into Finite Glacial.B. local notation "A_"=> (A.B.a.budget (m+1)) local notation "P"=> inkSet (A:=A) (m:=m) (n:=n) T K local notation "U₀"=> framePay (A:=A) (m:=m) local notation "XP"=> packY ST o_ T K i x set_option quotPrecheck false local notation "U_"=> framePay (A:=A) (m:=m) local notation "Q0"=> (A.B.a.budget m) -- already A!, use Q0 local notation "ρ'"=> (A.B.a.budget (m+1)) variable (Θ:Tableau q 300) local notation "κ_"=> (A.B.a.budget m).supportExponent+2 local notation "Wc_"=> fun i:Support (A.B.a.S.side m n)=> Real.exp (((A.B.a.budget m).supportExponent+2)*coverNumber (A.B.a.budget m).B i) local notation "Fv"=> (H.moment Z.val) open Extra.Histories.InputColumn variable (F:sun→ Ticket A N m n) local notation "Vk"=>fun t:sun=> (F t).val.val local notation "V_"=>fun t:sun=> (F t).val local notation "E_"=> fun t:sun=> headsMoney H b hd (F t).val (F t).property i local notation "CE"=> fun t:sun=> fun x: Coin ST o_ T=> dossier H T K i (F t) x local notation "C!"=>2*(Θ.price+1) variable (hP:Degree R.shape R.scout A.delay)(hc: Savvy R.scout R.target A.delay q v s t)(hp: choir q)(hG:PaysW R.shape v A.delay)(hS: Spire Θ R.shape (costP X.p D) A.delay) (hℓ:s≤1) variable {J:Bolt A}(hJ:Nest R J) include hP hc hG hS hℓ hJ g b hU hp section local notation "a_"=> ledgers (A:=A) (m:=m) (c₁:=c₁) i local notation "c_"=> Wc_ local notation "K_"=> Keeper.sufficient Z.property local notation "s_"=> Ω variable {DY:Team (stageP A.B.a (m+1) n)} -- any pose.HF. maneuvers independent.Pull TRUE only hJ.u.K. local notation "Ω!"=> A.B.a.clock.hatBeta (m+1) variable (Xf: Climate (A.B.a.clock.hatBeta (m+1))) (Q: Beam (ℝ × Guild DY))(G₁:sun→ℝ × Nilot DY)(hW:∀ s,mild (A.B.a.clock.hatBeta (m+1)) (G₁ s).1)(hB:‖(G₁ tip).2‖≤1/8)(hf:∀ s,ReadsF (F s) (G₁ s))(hR: ‖Q‖≤1/4)(he:∀ i:sun,Guild.groupB DY (G₁ i)=Guild.groupB DY (G₁ tip)+Beam.read _ i Q) -- syntax conflict include Xf hf hW lemma riseF (i:((Labels.frames G).level d).Index)(a:sun): Glacier.Bagged (lattice Wc_ (headsMoney H b hd (F a).val (F a).property i)):=by let U:= fun _:sun=>F a; exact (arcE H g b hd U0 hU i Θ U hP hc hp hG hS hℓ hJ (trailP Xf U (G₁ a) 0 (Pass.samples Xf (hW a) (by simp)) (by change ‖(0:ℝ)‖≤_;simp) (fun s=>by rw [smul_zero,add_zero]; exact hf a))).1 tip include hB hR he in lemma scopeE : Treasure (Wc_) (E_) (4*(C!*a_)):=by apply Treasure.pay (fun _=> Real.exp_pos _); · exact ⟨Veil.anima H Xf hp (fun p:Ticket A N m n=> haul Wc_ (headsMoney H b hd p.val p.property i)) (fun f hF=> (arcE H g b hd U0 hU i Θ f hP hc hp hG hS hℓ hJ hF).2) F G₁ hW hB hf Q hR he⟩ exact riseF H g b hd U0 hU Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf i include ht hk variable (hF:∀ s:sun, Visit H (F s).val) lemma packR (a:sun) : Glacier.Bagged (lattice Wc_ (CE a x)) ∧ ∀ y:Support s₀,∀ U:Config G s₀,Summable (fun j=> regMoney H (F a).val (F a).property j ((XP).regular j) d y U)∧Summable (fun j=> inkMoney H (F a).val j ((XP).forced j) d y U):=by let U:= fun _:sun=>F a; have h:= (rays H g b hd U0 hU T ht K hk i x Θ U hP hc hp hG hS hℓ hJ (trailP Xf U (G₁ a) 0 (Pass.samples Xf (hW a) (by simp)) (by change ‖(0:ℝ)‖≤_;simp) (fun s=>by rw [smul_zero,add_zero]; exact hf a))) exact ⟨h.1 tip,h.2.2 tip⟩ lemma prepC (a:sun): loftyC H b hd T K i x (F a)= E_ a+ CE a x :=by funext y U; obtain ⟨hx,hq⟩:= (packR H g b hd U0 hU T ht K hk i x Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf a).2 y U exact (added (f:=fun j=>waist H (F a) b hd T K i x j y U) hx.hasSum hq.hasSum).tsum_eq -- waist parameter is H Z b hd T K etc. include hF lemma portionC (y:Coin ST (hol G) T)(u:sun) : CE u (x-y)= CE u x-CE u y:=by have hx (x: Coin ST (hol G) T):=packR H g b hd U0 hU T ht K hk i x Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf u; funext j U'; let P0s:=F u; obtain ⟨c,p,hZ⟩:=minted ST o_ T K i x; obtain ⟨c',p',hZ'⟩:= minted ST o_ T K i y let a(a:Coin ST o_ T)(s:ℕ):= regMoney H (F u).val (F u).property s (packY ST o_ T K i a|>.regular s) d j U'; let b'(a: Coin ST o_ T)(s:ℕ):= inkMoney H (F u).val s ((packY ST o_ T K i a).forced s) d j U' have ha(s:ℕ):a (x-y) s=a x s-a y s:=by obtain ⟨h₁,h₂⟩:= ReadyE g P0s b hd T ht K hk i x hZ s; obtain ⟨h3,h4⟩:= ReadyE g P0s b hd T ht K hk i y hZ' s; unfold a; rw [(solvent ST o_ T K i x y).1]; exact congr_fun (congr_fun (coolE H g _ b hd (hF u) s h₁ h₂ h3 h4) j) U' have hb(s:ℕ):b' (x-y) s=b' x s-b' y s:=by have h₁:= ReadyK g P0s b hd T ht K hk i x hZ s; have h₂:= ReadyK g P0s b hd T ht K hk i y hZ' s; unfold b'; rw [(solvent ST o_ T K i x y).2]; exact congr_fun (congr_fun (coolK H g _ b hd (hF u) s h₁ h₂ (hZ.stock s|>.2) (hZ'.stock s|>.2)) j) U' change ((∑' s,a (x-y) s)+(∑' s,b' (x-y) s))=((∑' s,a x s)+(∑' s,b' x s))-((∑' s,a y s)+(∑' s,b' y s)) have hS(u): Summable (a u) ∧ Summable (b' u):=(hx u).2 j U' simp_rw [ha,hb]; rw [Summable.tsum_sub (hS x|>.1) (hS y|>.1),Summable.tsum_sub (hS x|>.2) (hS y|>.2)]; abel variable {a:ℝ}(u:sun→ Coin ((Labels.frames G).level d) (Next.Foundations.hol G) T)(hu:PaidBeam (fun i:sun=> ((u i):Completion (Coin ((Labels.frames G).level d) (Next.Foundations.hol G) T))) a) include hB hR he hu lemma scopeC : Treasure Wc_ (fun s:sun=> CE s (u s)) (4*(2*(Θ.price+1)*(ρ*a))):=by let S:= Coin ST o_ T; let Y:=Completion S; let Z(s:sun)(x:S):= haul Wc_ (CE s x); let bC:=4*(C!*ρ); have hZ:0 ≤ bC:=by unfold bC; have h:=Θ.sane; have hh:=Doors.rate_pos L_; positivity obtain ⟨p,hψ,hU'⟩:=hu.arrives; let B:= Completion.toComplL (𝕜:=ℝ) (E:=S); have heB:Isometry B:= Completion.coe_isometry; have hv:=show DenseRange B from Completion.denseRange_coe have hm (t:sun)(x y:S): Z t (x-y)=Z t x-Z t y:=by have hL:= portionC H g b hd U0 hU T ht K hk i x Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf hF y t; have hu (x:S):=(packR H g b hd U0 hU T ht K hk i x Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf t).1; unfold Z; rw [hL]; exact Treasure.hoisted (hu x) (hu y) (hL ▸ hu (x-y)) have hμ(x:S):PaidBeam (fun i=>Z i x) (bC*‖x‖):=by have hv:= Veil.anima H Xf hp (fun p:Ticket A N m n=> haul Wc_ (dossier H T K i p x)) (fun f hF=> (rays H g b hd U0 hU T ht K hk i x Θ f hP hc hp hG hS hℓ hJ hF).2.1) F G₁ hW hB hf Q hR he; exact (show PaidBeam (fun i=>Z i x) _ from ⟨hv⟩).larger (le_of_eq (by unfold bC; ring)) obtain ⟨Q',ht',h⟩:= Beam.listen B heB hv Z hm hZ (fun x:S=> (hμ x).arrives) p u hU' refine Treasure.pay (fun _=>Real.exp_pos _) (PaidBeam.mk ⟨Q',ht'.trans ((mul_le_mul_of_nonneg_left hψ hZ).trans_eq ?_), h⟩) (fun t=>(packR H g b hd U0 hU T ht K hk i (u t) Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf t).1) unfold bC; ring lemma fundsT : Treasure Wc_ (fun t:sun=> loftyC H b hd T K i (u t) (F t)) (4*(C! * a_)+4*(C!*(ρ*a))):=by let A' t:= loftyC H b hd T K i (u t) (F t); change Treasure _ A' _; rw [show A'=fun t:sun=> E_ t+ CE t (u t) from funext (fun i'=>?_)] · exact (scopeE H g b hd U0 hU i Θ F hP hc hp hG hS hℓ hJ Xf Q G₁ hW hB hf hR he).addsP (scopeC H g b hd U0 hU T ht K hk i Θ F hP hc hp hG hS hℓ hJ Xf Q G₁ hW hB hf hR he hF u hu) exact prepC H g b hd U0 hU T ht K hk i _ Θ F hP hc hp hG hS hℓ hJ Xf G₁ hW hf _ end end Splint end YM.PhysicalNext.Repeat.Muse.Veil #print axioms YM.PhysicalNext.Repeat.Muse.Veil.Splint.fundsT