import YM.RG08.Fields.Nimb /-! # Exact conditional projection law tested on active polynomial legs Finite periods. Tree forest unconstrained except on branches here. -/ set_option autoImplicit false noncomputable section namespace YM.RG08.Drift open Function Filter Set Lattice Wilson RG Exterior Precision Next.Free open Laurent Bloch Matrix Work.F08 Tree FreeResolvent Stationary open scoped Topology BigOperators variable {G : Gauge} {c f : Side} {j n : ℕ} -- matrix version using the RIGHT Schur law lemma sprig_eq (S : StepData c f) (T : Forest S.ratio) (M : FreeResolvent.FaceRow) (hM : (treeMatrix G S T M).PosDef) (v : Vec G f 1) : FreeResolvent.covariance G S T M *ᵥ (fullMatrix G S M *ᵥ v)=representative S T v := by classical have hx : treeInverse G S T M 0 * treeMatrix G S T M=1 := by unfold treeInverse resolve; rw [zero_smul,add_zero]; exact nonsing_inv_mul _ ((isUnit_iff_isUnit_det _).mp hM.isUnit) let w:=representative S T v; let L:=insertion (plant (G:=G) T); let u:=reduce G S T *ᵥ w have hu : L *ᵥ u=w:=projects T w (onto_slice T v) calc _ = FreeResolvent.covariance G S T M *ᵥ (fullMatrix G S M *ᵥ (L*ᵥ u)) := by rw [hu]; unfold w; rw [FreeResolvent.invariant] _ = L *ᵥ u := by rw [FreeResolvent.covariance,← Matrix.mulVec_mulVec,← Matrix.mulVec_mulVec,Matrix.mulVec_mulVec _ (reduce G S T), Matrix.mulVec_mulVec u, show reduce G S T * fullMatrix G S M * L=treeMatrix G S T M from insertion.compress _ _, Matrix.mulVec_mulVec u (treeInverse G S T M 0), hx, Matrix.one_mulVec] _ = _ := hu lemma tensor_times (c f n : Side) (G : Gauge) {i j k : ℕ} (A : Matrix (Body i c) (Body j f) ℝ) (B : Matrix (Body j f) (Body k n) ℝ) : tensor G (A*B) = tensor G A*tensor G B := by rw [← tensor_same,← tensor_same, ← tensor_same]; exact patron_mul .. lemma tint_fund (G : Gauge) (c : Side) (i : ℕ) : tensor G (1 : Matrix (Body i c) (Body i c) ℝ)=1 := by ext ⟨x,a,v⟩ ⟨y,b,w⟩; by_cases h:v=w · subst v; simp [tensor,Matrix.one_apply] simp [tensor,h,Matrix.one_apply] lemma tensor_clear (G : Gauge) (c f : Side) (i j : ℕ) : tensor G (0 : Matrix (Body i c) (Body j f) ℝ)=0 := by ext i j; simp [tensor] /-- Left,right *aggregate Hessians*, therefore through all finite polarized tensor tests horizontally supported; no p=0 removal expense on the Γ. -/ theorem dwell (G : Gauge) {S : StepData c f} (T : Forest S.ratio) {A : Train j} {D : Train n} {k : ℝ} (hk : 0