import YM.TraceExtension.Filch.Choir import YM.Extra.WILSON_STARTUP.Curvature import YM.Planned.PRIMARY_INTEGRAL_295.Drupes set_option autoImplicit false /-! # outer polynomial color. Not a license for a plog consumption outside marked cube. Only supplies compact globally analytic *germ* representatives and actual conjugation for them. -/ noncomputable section namespace YM.Trace.Filch open Function Filter Set Lattice Precision Exterior Stationary Push.Uniform Planned.PrimaryIntegral295.Drupes Lamp Perfect WilsonStartup open scoped Topology ContDiff Classical Matrix.Norms.Frobenius variable {X : Type}[NormedAddCommGroup X][NormedSpace โ„ X]{G:Gauge}{n d:โ„•}{x:X} private lemma Kturn (u:G.El)(x:G.Color): localK G (G.adjoint u x)=G.adjoint u (localK G x):=by rw [localK,adjoint_exp,G.curvature_conjugate];rfl lemma undone (u:G.El): undo G โˆ˜ G.adjoint u=แถ [๐“ 0] G.adjoint u โˆ˜ undo G:=by let L:= (G.adjoint u).toContinuousLinearMap have hp: Tendsto (L โˆ˜ undo G) (๐“ 0) (๐“ 0):=by simpa using! (L.continuous.continuousAt.comp (x:=0) (undo_analytic G).continuousAt).tendsto filter_upwards [hp.eventually (undo_left G), undo_right G] with x hx hv change undo G (localK G (G.adjoint u (undo G x)))=_ at hx; rw[Kturn, hv] at hx; exact hx def nimbus(G:Gauge)(n:โ„•)(u:G.El):G.Color:= choral n (undo G) (G.curvature u) lemma altoM (u y:G.El)(n:โ„•): nimbus G n (u*y*uโปยน)=G.adjoint u (nimbus G n y):=by unfold nimbus; rw[G.curvature_conjugate]; let L:=(G.adjoint u).toContinuousLinearMap exact (intoned L (L โˆ˜ undo G) (undo G) (undone u).symm _ (undo_analytic G) _|>.symm).trans (slice_tone L _ n (undo_analytic G) (G.curvature y)) lemma radiant (u:Xโ†’G.El)(a:X)(h:ContDiffAt โ„ ฯ‰ (G.mat โˆ˜ u) a)(n:โ„•): ContDiffAt โ„ ฯ‰ (nimbus G n โˆ˜ u) a:= (rhythm ..).contDiffAt.comp a (Next.Fluctuations.curvature_diff_mat u a h) lemma prophet (G:Gauge)(n k:โ„•):โˆƒ C:โ„,0โ‰คCโˆง โˆ€ (X:Type) [NormedAddCommGroup X] [NormedSpace โ„ X](U:Xโ†’ G.El)(R:โ„)(x:X),Allows k (G.mat โˆ˜ U) x R โ†’ Allows k (nimbus G n โˆ˜ U) x (composeCost k C R):=by let Z:=choral n (undo G) โˆ˜ cbr G obtain โŸจC,hC,HโŸฉ:=exists_allows (f:=Z) (isCompact_range (f:=G.mat) G.continuous_mat) (fun x _=> ((rhythm (undo G) n).comp (cbr G).contDiff).contDiffAt) k refine โŸจC,hC,?_โŸฉ; intro T _ _ U r x h refine ((H (G.mat (U x)) (mem_range_self ..)).comp (f:= G.mat โˆ˜ U) h).germ ?_ filter_upwards with y; exact congr_arg (choral n (undo G)) (identifies (U y)).symm lemma rain_wet (G:Gauge)(n:โ„•): braid id (nimbus G n โˆ˜ G.lieExp) 0 n:= by exact (braided (F:=undo G โˆ˜ localK G) (H:=id) (undo_left G)|>.symm).trans (wove (a:=0) (w:=localK G) (show braid (undo G) (choral n (undo G)) _ _ from (localK_zero G).symm โ–ธ repitch (undo_analytic G) _) ((localK_zero G).symm โ–ธ undo_analytic G) (rhythm _ n|>.contDiffAt) (localK_analytic G 0)) lemma rain_zero (G:Gauge)(n:โ„•): nimbus G n 1=0:=by have hp:= DFunLike.congr_fun (rain_wet G n 0 (Nat.zero_le _)) 0; simpa [iteratedFDeriv_zero_apply] using hp.symm lemma resounds (U:Xโ†’G.El)(h:U 0=1)(hm:ContDiffAt โ„ ฯ‰ (G.mat โˆ˜ U) 0) (n:โ„•): braid (G.plog โˆ˜ G.mat โˆ˜ U) (nimbus G n โˆ˜ U) 0 n:=by have h0:ContinuousAt U 0:= (G.continuous_mat.isClosedEmbedding G.mat_injective).isEmbedding.continuousAt_iff.mpr hm.continuousAt let T:= G.plog โˆ˜ G.mat โˆ˜ U; have hz:T 0=0:=by simp[T,h] have ht:ContDiffAt โ„ ฯ‰ T 0:=ContDiffAt.comp 0 (g:=G.plog) (by simp only[comp_apply,h,G.mat_one]; exact G.plog_diff) hm have hb:= wove (a:=0) (w:=T) (hz.symm โ–ธ rain_wet G n) contDiffAt_id (radiant _ (T 0) G.exp_jet.contDiffAt _) ht apply hb.trans (braided ?_) filter_upwards [(show Tendsto U _ (๐“ 1) from h โ–ธ h0.tendsto).eventually G.plog_right] with z hz; exact congr_arg (nimbus G n) hz end YM.Trace.Filch