math / data /lean /OAI /Probability /ContinuumTransition /ActiveUniform.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.33 kB
import OAI.Probability.ContinuumTransition.ActiveLimits
namespace OAI
section
open scoped Topology
open Set Filter Metric
noncomputable section
namespace ContinuumTemperature
lemma active_uniform_near {Q : β„• β†’ Parameter β†’ ℝ} {q : Parameter β†’ ℝ}
{P : β„• β†’ Parameter β†’ ℝ} {p : Parameter β†’ ℝ} {a : ℝ}
(hQ : TendstoLocallyUniformlyOn Q q atTop pressureDomain)
(hconv : βˆ€ n, ConvexOn ℝ pressureDomain (Q n)) (hq : ContinuousOn q pressureDomain)
(hP : βˆ€ n, IsMeanField (Q n) a (P n)) (hp : IsMeanField q a p)
{x : Parameter} (hx : x ∈ pressureDomain) {r : ℝ} (hr : 0 < r)
(hball : ball x r βŠ† pressureDomain) {D : ℝ}
(hD : βˆ€ n, βˆ€ y ∈ ball x r, βˆ€ w ∈ activeLifts (Q n) a (P n) y, w.2 ∈ Icc 0 D)
{U : Set Parameter} (hU : IsOpen U) (hAU : activeLifts q a p x βŠ† U) :
βˆƒ Ξ΄ > 0, Ξ΄ < r ∧ βˆƒ N : β„•, βˆ€ n β‰₯ N, βˆ€ y ∈ ball x Ξ΄, activeLifts (Q n) a (P n) y βŠ† U := by
by_contra hn
push Not at hn
have hex : βˆ€ m : β„•, βˆƒ n β‰₯ m, βˆƒ y ∈ ball x (min (r/2) ((1/2 : ℝ)^m)),
βˆƒ w ∈ activeLifts (Q n) a (P n) y, w βˆ‰ U := by
intro m
have hd : 0 < min (r/2) ((1/2 : ℝ)^m) := lt_min (by positivity) (pow_pos (by norm_num) _)
have hdr : min (r/2) ((1/2 : ℝ)^m) < r := (min_le_left _ _).trans_lt (by linarith)
obtain ⟨n,hn,y,hy,hbad⟩ := hn _ hd hdr m
obtain ⟨w,hw,hwu⟩ := Set.not_subset.mp hbad
exact ⟨n,hn,y,hy,w,hw,hwu⟩
choose k hk X hX W hW hbad using hex
have hk' : Tendsto k atTop atTop := tendsto_atTop_mono hk tendsto_id
have hXr : βˆ€ n, X n ∈ ball x r := fun n => (hX n).trans_le ((min_le_left _ _).trans (show r/2 ≀ r by linarith))
have hXt : Tendsto X atTop (𝓝 x) := by
apply tendsto_iff_dist_tendsto_zero.mpr
exact squeeze_zero (fun n => dist_nonneg) (fun n => (hX n).le.trans (min_le_right _ _))
(tendsto_pow_atTop_nhds_zero_of_lt_one (by norm_num) (by norm_num))
obtain βŸ¨Ο†,_,w,hw,hwt⟩ := active_subseq_of_density_bound (locallyUniform_reindex hQ hk')
(fun n => hconv (k n)) hq tendsto_const_nhds (fun n => hP (k n)) hp hx hXt
(fun n => hball (hXr n)) hW (fun n => hD (k n) _ (hXr n) _ (hW n))
obtain ⟨n,hn⟩ := (hwt.eventually (hU.mem_nhds (hAU hw))).exists
exact hbad (Ο† n) hn
end ContinuumTemperature
end
end
end OAI