import YM.AnalyticNext.QUARTIC_MATCH.Cells.Entry import YM.AnalyticNext.QUARTIC_MATCH.Local.Powered /-! # Widths at pre-L radii, current residuals On-shell of THAT action. Provides tests as the norm of actual finite coefficient arrays. -/ set_option autoImplicit false noncomputable section namespace YM.AnalyticNext.QuarticMatch.Local open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson Branch Bloch open Progress.StationaryScenes Work.F03 YM.Next.Free Work.F08 Pre.Centered Tree open Joint Estimate Estimate.Purse Estimate.Logfee Estimate.Depot BoxChain Premium Evoke Budget open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace namespace Wages open Green (wt) open Tracks section norm variable {G : Gauge} {c : Side} {n : ℕ} def Alive (w : Fin n) (f : Dir G c →ℝ) (η C : ℝ) := ∀ x : Fin n → Cell (Per c), ∀ z : Fin n→ G.Color, span η (x w).1 (fun i => (x i).1) * |iteratedFDeriv ℝ n f 0 (fun i => sparse (x i) (z i))| ≤ C*∏ i, ‖z i‖ theorem Alive.less {w : Fin n} {η C} {f g : Dir G c→ℝ} (h : Alive w f η C) (hh : f =ᶠ[𝓝 0] g) : Alive w g η C := by unfold Alive at *; rw [← (hh.iteratedFDeriv ℝ n).eq_of_nhds]; exact h theorem Alive.earns {w : Fin n} {η C D} {f : Dir G c→ℝ} (h : Alive w f η C) (hh : C≤D) : Alive w f η D := fun x z => (h x z).trans (mul_le_mul_of_nonneg_right hh (by positivity)) theorem Alive.gives {w : Fin n} {η A B} {f g : Dir G c →ℝ} (h : Alive w f η A) (he : Alive w g η B) (hf : ContDiffAt ℝ ω f 0) (hg : ContDiffAt ℝ ω g 0) (hη : 0<η) (hp : 0 ≤ A+B) (hc : Colorwise (Tensor.coeff (f-g) n 0)) : Spatial (entries _ hc) (η/4) ((n.factorial:ℝ)⁻¹*(A+B)) := by refine ⟨by positivity, mul_nonneg (by positivity) hp,?_⟩ intro x i j change ‖(entries _ hc x).val‖ ≤ _ apply ContinuousMultilinearMap.opNorm_le_bound (by positivity) intro z; rw [Real.norm_eq_abs,entries_eval] let v k := sparse (x k) (z k); let p (f : Dir G c→ℝ) := iteratedFDeriv ℝ n f 0 v let s := span η (x w).1 (fun i => (x i).1) have ht : s* |p f-p g| ≤ (A+B)*∏ i, ‖z i‖ := ((mul_le_mul_of_nonneg_left (abs_sub ..) (span_pos ..).le)).trans (by rw [mul_add]; exact (add_le_add (h x z) (he x z)).trans_eq (add_mul ..).symm) let b := η/4* size (lift ((x i).1-(x j).1)) have hL : Real.exp b * |p f-p g| ≤ (A+B)*∏ i, ‖z i‖ := by have hb : b ≤ η*separation (x i).1 (x j).1 := by unfold b; have he := mul_le_mul_of_nonneg_left (show ↑(size (lift ((x i).1-(x j).1))) ≤ 4*(separation (x i).1 (x j).1:ℝ) by exact_mod_cast inhabits ..) (show 0≤η from hη.le); linarith have hv := Real.exp_monotone hb; apply le_trans _ ht; exact mul_le_mul_of_nonneg_right (hv.trans (pass_pair hη.le (x w).1 (fun i => (x i).1) i j)) (abs_nonneg _) unfold Tensor.coeff; rw [iteratedFDeriv_sub_apply (hf.of_le le_top) (hg.of_le le_top),show -_ * _=(-b) from by unfold b; ring] change |(n.factorial:ℝ)⁻¹*(p f-p g)| ≤ _ rw [abs_mul,abs_of_nonneg (by positivity),Real.exp_neg] have hu := mul_le_mul_of_nonneg_left ((le_div_iff₀ (Real.exp_pos b)).mpr ((mul_comm ..).trans_le hL)) (show 0 ≤ (n.factorial:ℝ)⁻¹ by positivity) exact hu.trans_eq (by ring) end norm section tertiary variable (G : Gauge) (j : ℕ) (D u κ η C a : ℝ) (hp : 0 rfl _ = D4 (F ∘ arc X) 0 (L 0) (L 1) (L 2) (L 3) := D4_jet .. _ = _ := by rw [hα.exchange]; rw [show arc X 0=0 from Prod.ext rfl hX] let t' := rate u; let Q := span t' (x 0).1 X'; let v := ∏ i, ‖z i‖; let D' := Z*c3^2 have ha i j k : wt t' (X' 0) (X' k)*(wt t' (X' 0) (X' i)*wt t' (X' 0) (X' j))* |V i j k| ≤ D'*‖z 0‖*‖z k‖*‖z i‖*‖z j‖ := HZ _ _ S p W θ σ _ _ _ _ hj hκ' hB hW (Rotate.led_lower hl (by exact (booms ‹0 rfl)] at hx exact hx have hV : Q * |V 2 3 1| ≤ D'*v ∧ Q* |V 1 3 2| ≤ D'*v ∧ Q * |V 1 2 3| ≤ D'*v := by rw [hG,hv]; have h₁ : w 1*(w 2*w 3)*_ ≤ _ := ha 2 3 1; have h₂ : w 2*(w 1*w 3)*_ ≤ _ := ha 1 3 2; have h₃ : w 3*(w 1*w 2)*_ ≤ _ := ha 1 2 3 constructor; · linarith only [h₁] constructor; · linarith only [h₂] linarith only [h₃] change Q* |iteratedFDeriv ℝ 4 _ _ L| ≤ _ rw [hx]; have he : |K'+V 2 3 1+V 1 3 2+V 1 2 3| ≤ |K'| + |V 2 3 1| + |V 1 3 2| + |V 1 2 3| := (abs_add_le ..).trans (add_le_add ((abs_add_le ..).trans (add_le_add (abs_add_le ..) le_rfl)) le_rfl) apply ((mul_le_mul_of_nonneg_left he (span_pos ..).le)).trans simp_rw [mul_add] apply (add_le_add (add_le_add (add_le_add hb' hV.1) hV.2.1) hV.2.2).trans change R*c4*v+D'*v+D'*v+D'*v ≤ (_*_ +_*_)*v apply (le_trans _ (mul_le_mul_of_nonneg_right (add_le_add (mul_le_mul_of_nonneg_right (le_max_left ..) hp) (mul_le_mul_of_nonneg_right (le_max_right ..) (sq_nonneg _))) (show 0 ≤ v from Finset.prod_nonneg fun i _ => norm_nonneg _))) unfold D'; linarith end tertiary end Wages end YM.AnalyticNext.QuarticMatch.Local