import YM.TraceExtension.Atlas.Purse set_option autoImplicit false noncomputable section namespace YM.Trace.Pilot open Function Filter Set Extraction Climb Next.UVStress Table Work.A01 Maxwell UVNext.FreeStress Spin open Spec Over Terrace MergeProof.East Next.Rank open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius ContDiff Classical variable {G : Gauge}{C:Family G}{X:Extraction.Order} variable {S:Table C.book}(F: Final C X S){H:(Bel C.book).Hierarchy} local notation "Fβ‚€"=> Bel C.book variable (h:G.Simple){𝓛:Ultrafilter (β„•Γ—β„•)}{J:Scaling S}{V:βˆ€ i,Vane C i}{Z:Arch C} variable (h₁:Scribe X J V Z F.sector 𝓛 F.room.kernel H) open StressFlux TraceExtension -- unselected centering. Selected follows later by fixed linear relation. abbrev lum(F: Final C X S) := TraceExtension.theta S F.sector.energy lemma sceneV (H:(Bel C.book).Hierarchy) : expectation (Fβ‚€) 4 (OScale C.book)=0:=by have hu : expectation (Fβ‚€) 4 ((4:ℝ) β€’ OScale C.book)=0:=by rw[← sum_delta (C:=C),map_sum]; apply Finset.sum_eq_zero; intro i _; rw [Further.PhysicalPeriodLimitF933.expectation_is]; unfold Shelves.materialB; rw [show oneStress _ _ _ _ _=_ from oneStress_formula (L:=C.book) _ i i 0]; norm_num exact (smul_eq_zero.mp ( ((expectation (Fβ‚€) 4).restrictScalars ℝ).map_smul (4:ℝ) _|>.symm.trans hu)).resolve_left (by norm_num) lemma scalar_cod (v : Over.CP): ScalarP C v= v 0 β€’ ((Fβ‚€).unit 4)+(4*v 1) β€’ OScale C.book:=by change v 0 β€’ _+v 1 β€’ ((4:ℝ) β€’ OScale C.book)=_;rw[smul_smul,mul_comm ((4:ℝ))] lemma lum_real: S.conj F.room.kernel.spin 4 (lum F)=lum F:= trace_real F.phase.transport.conserved (fun _=> le_rfl) F.room.kernel lemma lum_active: expectation S 4 (lum F)=0:=by rw[onepoint]; exact centerIn_vac (fun _=>le_rfl) F.room.kernel .. lemma lum_spin(g): F.sector.turns.act 4 g (lum F)=lum F:= trace_turn F.phase.transport.spin F.phase.transport.spots g lemma force_neg(h:G.Simple): d2 G < 0:=by rw[force_b]; unfold b0; have hx:= Gauge.casimir_pos h; rw[neg_div]; simp only [Left.neg_neg_iff]; positivity lemma scale_alive(h:G.Simple)(H:(Bel C.book).Hierarchy): OScale C.bookβ‰ 0:=by intro ht; let v : Over.CP:= ![0,1]; have he: v=0:= Scalar_inj h H (show ScalarP C v=ScalarP C 0 by rw[scalar_cod, ht,map_zero];simp[v]); exact one_ne_zero (show (1:ℝ)=0 from congr_fun he 1) lemma scale_vector(h:G.Simple)(H:(Bel C.book).Hierarchy)(v:Active (Bel C.book))(ht:starA H v=v)(hh:βˆ€ s,swingA H s v=v): βˆƒ c:ℝ,v.val=c β€’ OScale C.book:=by obtain ⟨w,hw⟩:=Scalar_onto (C:=C) (H:=H) h (v.val) (show (Bel C.book).conj H.spin 4 v.val = v.val by rw[← star_act H, ht]) (fun s=> show (Fβ‚€).mirror H.spin 4 s v.val=v.val by rw [← swing_act H,hh]) let p:= ((expectation (Fβ‚€) 4).restrictScalars ℝ); have hv:= congr_arg p hw; rw[scalar_cod, map_add,map_smul,map_smul,show p ((Fβ‚€).unit 4)=1 from mean_unit H.laws, show p (OScale C.book)=0 from sceneV H, show p v.val=0 from v.property,smul_zero,add_zero] at hv have hE:w 0=0:=by simpa [Complex.real_smul] using hv rw[scalar_cod,hE,zero_smul,zero_add] at hw; exact ⟨_,hw.symm⟩ -- anchor calibration using *only* UV station choices before O alignment. Not defined by stress tests! def BranchV (F:Final C X S)(𝓛:Ultrafilter (β„•Γ—β„•))(H:(Bel C.book).Hierarchy)(v:S.Field 4): Prop:= βˆƒ (J:Scaling S), StarPath X H J F.room.kernel 𝓛 ∧ βˆ€αΆ  i in atTop, βˆƒ c:ℝ,0 BQ Z V i*d i) atTop (𝓝 (d2 G)) ∧ βˆ€αΆ  i in atTop,d i<0 ∧ J.U i 4 (ScalarP C (![e i,d i]))= ((J.r i)^ (4:β„•)) β€’ lum F:=by obtain ⟨d,e,hg,hD,hE⟩:= h₁.gallery S F.room.kernel (fun _=> le_rfl) refine ⟨d,e,hD,?_⟩; filter_upwards[hg,hD.eventually (gt_mem_nhds (force_neg h)),h₁.grows.eventually_gt_atTop 0] with i hi hv hu; rw[← hi]; refine ⟨?_,(J.U i 4).apply_symm_apply _⟩; nlinarith lemma branch_loss : βˆ€αΆ  i in atTop, βˆƒ c:ℝ,0 ?_⟩; obtain ⟨c,hc,hc'⟩:= hi; exact ⟨u*c, mul_pos hu hc,by rw[← hc',smul_smul]⟩ end YM.Trace.Pilot