import YM.TraceExtension.Terrace.HomePort import YM.MergeProof.Dollars set_option autoImplicit false noncomputable section namespace YM.Trace.Terrace open Function Filter Finset Set Lattice RG Wilson Labels Source MergeProof MergeProof.Accent Extra.Histories Bid Zn open Extraction Next.Rank.Price Next.Rank.East MergeProof.East Further.CorrectedLift Ward Climb Analysis StressFlux Next.UVStress open Further.PhysicalPeriodLimitF933 Next.Rank.Spindle Cells PhysicalNext.Repeat.Legato.Bandage Push.GridApprox Next.Rank.Station open UVNext.FreeStress (camera) open MeasureTheory open scoped BigOperators Topology Matrix.Norms.Frobenius ContDiff Classical variable {G:Gauge}{C:Family G} set_option quotPrecheck false local notation "A"=>C.path.levels local notation "T!"=> tilesAt C.S lemma anti_test {S:Schedule}{G:Gauge}{i j p:ℕ}(h:i≤ j)(U V:Config G (S.side j p)→ℂ)(β:ℝ): (tilesAt S p h).rootTest β (U-V)= (tilesAt S p h).rootTest β (V-U):=by rw [← neg_sub V U,← neg_one_smul ℂ (V-U), root_smul];norm_num variable (h:G.Simple)(θ:PostT C.path.levels)(K:Stock.Tabs C.path.levels) variable (H:C.Makes) {W:Bid.Worth}{u ψ φ δ:ℕ→ℝ}{r:ℕ→ℕ}{D:∀ N p m:ℕ,m.le)); rw [anti_test]; exact hz₁ have h₃ : ‖L (P-U) V‖ ≤ t (-200)*(t (-300)+t 5):=by refine (pulpit _ _ _ _ _ hx (Next.UVStress.minus hp' hα) hB hS).trans (mul_le_mul ?_ hb (T.root_nonneg β V) (Tau_pos ..|>.le)); rw[anti_test]; exact hχ have hz(A' B':ℝ): t A'*t B'=t (A'+B') :=(Tau_add ..).symm change ‖L P Q‖≤ t (-100); rw [show L P Q=L U V+L P (Q-V)+L (P-U) V from slides C.S h₀ β x z hα hB hp' hq']; apply le_trans ((norm_add_le ..).trans (add_le_add ((norm_add_le ..).trans (add_le_add h₁ h₂)) h₃)); rw [mul_add,hz,hz,hz] have hp : 4*t (-195) ≤ t (-100):= calc _ ≤ t 1*t (-195):= mul_le_mul_of_nonneg_right hw (Tau_pos ..|>.le) _ ≤ _:= (hz ..).le.trans (tau_mono (A) i (by norm_num)) apply le_trans _ hp; have hw (x:ℝ)(he:x ≤ -195):t x ≤ t (-195):= tau_mono (A) i he linarith only [hw _ (by norm_num : (-(200:ℝ)) ≤ -195),hw _ (by norm_num : (5:ℝ)+ -300 ≤ -195),hw _ (by norm_num : (-(200:ℝ))+ -300 ≤ -195),hw _ (by norm_num : (-(200:ℝ))+ 5 ≤ -195)] end YM.Trace.Terrace