File size: 3,636 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 | import OAI.Probability.Ballisticity.RowBridge
namespace OAI
open MeasureTheory ProbabilityTheory Filter
open scoped ENNReal NNReal BigOperators Topology
namespace DirectionalTransience
lemma uniformElliptic_directional_zero_one {d : β} (hd : 3 β€ d)
(Ξ½ : Measure (Row d)) [IsProbabilityMeasure Ξ½] (hue : UniformElliptic Ξ½)
(β : Vector d) (hβ : β β 0) :
annealedLaw Ξ½ (TransientPaths β) = 0 β¨ annealedLaw Ξ½ (TransientPaths β) = 1 := by
have h := DirectionalZeroOne.directional_zero_one d hd (RowBridge.rowLaw Ξ½)
(RowBridge.strictEllipticity Ξ½ hue) β hβ
change DirectionalZeroOne.annealed (RowBridge.rowLaw Ξ½) 0 (TransientPaths β) = 0 β¨
DirectionalZeroOne.annealed (RowBridge.rowLaw Ξ½) 0 (TransientPaths β) = 1 at h
rwa [β RowBridge.annealedLaw_eq Ξ½] at h
lemma dot_div_right {d : β} (v β : Vector d) (r : β) :
dot v (fun i => β i / r) = dot v β / r := by
simp only [dot, mul_div_assoc, Finset.sum_div]
lemma dot_self_pos_of_ne_zero {d : β} (β : Vector d) (hβ : β β 0) :
0 < dot β β := by
obtain β¨i, hiβ© := Function.ne_iff.mp hβ
change β i β 0 at hi
exact (mul_self_pos.mpr hi).trans_le
(Finset.single_le_sum (fun j _ => mul_self_nonneg (β j)) (Finset.mem_univ i))
lemma transientPaths_div_pos {d : β} (β : Vector d) {r : β} (hr : 0 < r) :
TransientPaths (fun i => β i / r) = TransientPaths β := by
ext X
simp only [TransientPaths, Set.mem_ofPred_eq, dot_div_right]
exact tendsto_div_const_atTop_of_pos hr
lemma velocity_of_positive_escape {d : β} (hd : 3 β€ d)
(Ξ½ : Measure (Row d)) [IsProbabilityMeasure Ξ½] (hue : UniformElliptic Ξ½)
(β : Vector d) (hβ : β β 0) (hpos : 0 < annealedLaw Ξ½ (TransientPaths β)) :
β v : Vector d, 0 < dot v β β§ HasVelocity Ξ½ v := by
have hprob : annealedLaw Ξ½ (TransientPaths β) = 1 :=
(uniformElliptic_directional_zero_one hd Ξ½ hue β hβ).resolve_left hpos.ne'
have hs : 0 < dot β β := dot_self_pos_of_ne_zero β hβ
let r : β := Real.sqrt (dot β β)
have hr : 0 < r := Real.sqrt_pos.mpr hs
let u : Vector d := fun i => β i / r
have hu : dot u u = 1 := by
have he : dot u u = dot β β / (r * r) := by
simp only [u, dot, div_mul_div_comm, Finset.sum_div]
rw [he, show r * r = dot β β from Real.mul_self_sqrt hs.le, div_self hs.ne']
have htrans : DirectionallyTransient Ξ½ u := by
apply (mem_ae_iff_prob_eq_one (measurableSet_transientPaths u)).mpr
rw [transientPaths_div_pos β hr]
exact hprob
obtain β¨v, hvu, hvβ© := directional_transience_implies_ballisticity_unit
(by omega : 2 β€ d) Ξ½ hue u hu htrans
refine β¨v, ?_, hvβ©
have hp : 0 < dot v β / r := by simpa only [u, dot_div_right] using hvu
exact (div_pos_iff_of_pos_right hr).mp hp
lemma escape_probability_one_of_velocity {d : β} (Ξ½ : Measure (Row d))
[IsProbabilityMeasure Ξ½] (v u : Vector d) (hv : HasVelocity Ξ½ v)
(hvu : 0 < dot v u) : annealedLaw Ξ½ (TransientPaths u) = 1 := by
apply (mem_ae_iff_prob_eq_one (measurableSet_transientPaths u)).mp
filter_upwards [hv] with X hX
have hproj := velocityPaths_projection v u X hX
have hprod := hproj.pos_mul_atTop hvu
(tendsto_natCast_atTop_atTop : Tendsto (fun n : β => (n : β)) atTop atTop)
apply hprod.congr'
filter_upwards [eventually_gt_atTop (0 : β)] with n hn
exact div_mul_cancelβ _ (by exact_mod_cast hn.ne')
lemma unit_direction_ne_zero {d : β} (u : Vector d) (hu : dot u u = 1) : u β 0 := by
intro h
subst u
simp [dot] at hu
end DirectionalTransience
end OAI
|