File size: 3,861 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | 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
|