Download data/lean/OAI/Probability/SKBarriers/Dynamics/Uniformization.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.86 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/SKBarriers/Dynamics/Uniformization.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/SKBarriers/Dynamics/Uniformization.lean
-
curl -L -o Uniformization.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/SKBarriers/Dynamics/Uniformization.lean
3.86 kB
| import Mathlib | |
| import OAI.Probability.SKBarriers.Dynamics.HeatBathStationary | |
| import OAI.Probability.SKBarriers.Dynamics.TVSignBridge | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open scoped BigOperators | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| namespace SK.Analytic | |
| def clockWeight (a : β) (k : β) : β := Real.exp (-a)*a^k/(k.factorial:β) | |
| theorem clockWeight_nonneg {a : β} (ha : 0 β€ a) (k : β) : 0 β€ clockWeight a k := by | |
| unfold clockWeight | |
| positivity | |
| theorem clockWeight_hasSum (a : β) : HasSum (clockWeight a) 1 := by | |
| have H := (NormedSpace.expSeries_div_hasSum_exp a).mul_left (Real.exp (-a)) | |
| rw [β Real.exp_eq_exp_β,β Real.exp_add,neg_add_cancel,Real.exp_zero] at H | |
| unfold clockWeight | |
| simpa only [mul_div_assoc] using H | |
| theorem clockWeight_sum (a : β) : β' k : β, clockWeight a k = 1 := (clockWeight_hasSum a).tsum_eq | |
| theorem uniformization_summable {n : β} (hn : 0 < n) (Ξ² : β) (J : Disorder n) | |
| {t : β} (ht : 0 β€ t) (x y : Config n) : | |
| Summable (fun k : β => clockWeight ((n:β)*t) k*discreteKernel Ξ² J k x y) := by | |
| refine Summable.of_nonneg_of_le (fun k => mul_nonneg (clockWeight_nonneg (by positivity) k) | |
| (discreteKernel_nonneg Ξ² J k x y)) (fun k => ?_) (clockWeight_hasSum ((n:β)*t)).summable | |
| exact mul_le_of_le_one_right (clockWeight_nonneg (by positivity) k) (discreteKernel_le_one hn Ξ² J k x y) | |
| theorem continuousKernel_eq_clock {n : β} (Ξ² : β) (J : Disorder n) (t : β) | |
| (x y : Config n) : continuousKernel Ξ² J t x y = | |
| β' k : β, clockWeight ((n:β)*t) k*discreteKernel Ξ² J k x y := by | |
| simp only [continuousKernel,clockWeight,neg_mul] | |
| theorem continuousKernel_nonneg {n : β} (Ξ² : β) (J : Disorder n) {t : β} (ht : 0 β€ t) | |
| (x y : Config n) : 0 β€ continuousKernel Ξ² J t x y := by | |
| rw [continuousKernel_eq_clock] | |
| apply tsum_nonneg | |
| intro k | |
| apply mul_nonneg | |
| Β· exact clockWeight_nonneg (by positivity) k | |
| Β· exact discreteKernel_nonneg Ξ² J k x y | |
| theorem continuousKernel_sum {n : β} (hn : 0 < n) (Ξ² : β) (J : Disorder n) | |
| {t : β} (ht : 0 β€ t) (x : Config n) : β y : Config n, continuousKernel Ξ² J t x y = 1 := by | |
| classical | |
| simp_rw [continuousKernel_eq_clock] | |
| rw [β Summable.tsum_finsetSum (fun y (_ : y β (Finset.univ : Finset (Config n))) => | |
| uniformization_summable hn Ξ² J ht x y)] | |
| simp_rw [β Finset.mul_sum,discreteKernel_sum hn,mul_one] | |
| exact clockWeight_sum _ | |
| theorem continuousKernel_stationary {n : β} (hn : 0 < n) (Ξ² : β) (J : Disorder n) | |
| {t : β} (ht : 0 β€ t) (y : Config n) : | |
| β x : Config n, gibbs Ξ² J x*continuousKernel Ξ² J t x y = gibbs Ξ² J y := by | |
| classical | |
| simp_rw [continuousKernel_eq_clock] | |
| simp_rw [β tsum_mul_left] | |
| rw [β Summable.tsum_finsetSum (fun x (_ : x β (Finset.univ : Finset (Config n))) => | |
| (uniformization_summable hn Ξ² J ht x y).mul_left (gibbs Ξ² J x))] | |
| have HH (k : β) : (β x : Config n, gibbs Ξ² J x*(clockWeight ((n:β)*t) k*discreteKernel Ξ² J k x y)) = | |
| clockWeight ((n:β)*t) k*gibbs Ξ² J y := by | |
| simp_rw [mul_left_comm (gibbs Ξ² J _) (clockWeight ((n:β)*t) k),β Finset.mul_sum, | |
| discreteKernel_stationary hn] | |
| simp_rw [HH] | |
| rw [tsum_mul_right,clockWeight_sum,one_mul] | |
| theorem continuous_sign_mass_of_tv {n : β} (hn : 0 < n) (Ξ² : β) (J : Disorder n) | |
| (x v : Config n) {t : β} (ht : 0 β€ t) (hTV : continuousDistance Ξ² J x t β€ (1/4:β)) : | |
| (1/4:β) β€ β y : Config n, if overlap v y β€ 0 then continuousKernel Ξ² J t x y else 0 := by | |
| have H := finite_event_le_tv (continuousKernel Ξ² J t x) (gibbs Ξ² J) | |
| (continuousKernel_sum hn Ξ² J ht x) (gibbs_sum Ξ² J) (fun y => overlap v y β€ 0) | |
| have HG := gibbs_nonpositive_overlap_mass Ξ² J v | |
| change _ β€ continuousDistance Ξ² J x t at H | |
| linarith | |
| end SK.Analytic | |
| end | |
| end | |
| end | |
| end OAI | |