import Mathlib import OAI.Probability.SKBarriers.Dynamics.DynamicsMeasurable import OAI.Probability.SKBarriers.Coverage.HighProbability import OAI.Probability.SKBarriers.Coverage.CoverageSchedule import OAI.Probability.SKBarriers.Dynamics.IdentityDynamics namespace OAI section noncomputable section open scoped BigOperators Topology open Classical MeasureTheory ProbabilityTheory Filter Set namespace SK.Analytic theorem site_clock_tail_tendsto : Tendsto (fun n : ℕ => (n:ℝ)*Real.exp (-levelLogScale n)) atTop (𝓝 0) := by simpa only [pow_one,neg_one_mul,levelLogScale] using polynomial_rpow_exp_decay (by norm_num [kappa] : 0 4*(9*Real.exp (-2*levelLogScale n)+(n:ℝ)*Real.exp (-levelLogScale n))) atTop (𝓝 0) simpa only [mul_zero,add_zero] using H theorem identity_main_of_static_locking (β : ℝ) (μ : ProbabilityMeasure ℝ) {t b b' q : ℝ} (ht : 0 (disorderLaw n).real (C n)) atTop (𝓝 1) ∧ ∀n J,J∈C n → ∀S : Finset (Config n),finiteMass (gibbs β J) (S.filter (fun x => finiteMass (gibbs β J) (S.filter (fun y => q≤|overlap x y|)) (disorderLaw n).real (V n)) atTop (𝓝 1) := high_probability_small_replica β _ (by norm_num [kappa] : kappa<(4:ℝ)/5) 3 A hstatic have hD (n : ℕ) : MeasurableSet (D n) := (finiteGoodEvent_measurable C hC B n).inter (hV n) have hD1 : Tendsto (fun n => (disorderLaw n).real (D n)) atTop (𝓝 1) := high_probability_inter _ _ hV (finiteGoodEvent_tendsto C hC hC1 B) hV1 apply main_of_quenched_mixed_bounds β D hD hD1 bankEndpointError bankEndpointError_nonneg bankEndpointError_tendsto have hsmall : Tendsto (fun n => 3*Real.exp (-4*levelLogScale n)) atTop (𝓝 0) := by simpa only [mul_zero] using (stretched_exp_decay (by norm_num : (0:ℝ)<4)).const_mul 3 filter_upwards [eventually_gt_atTop (0:ℕ),stretchedLogScale_tendsto.eventually_ge_atTop 5, eventually_exp_dominates_linear (bankPrefix c B+5),eventually_exp_dominates_linear (t/8), hsmall.eventually_lt_const zero_lt_one, greedyScale_eventual hB (show H (hc j).le) hcovJ hJ.2 hL ((greedy_level_count_bound hB ht n).trans hp) hdom hsmalln G hcount end SK.Analytic end end end OAI