File size: 2,598 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 | import Mathlib
import OAI.Probability.Ballisticity.Estimates.GridOccupation
namespace OAI
section
section
open MeasureTheory ProbabilityTheory Filter
open scoped ENNReal NNReal Topology BoundedContinuousFunction
namespace DirectionalTransience
def heightTubeEndpointEvent (Y : β β β) (H : β) (L R : β) : Prop :=
(β j β€ H, |Y j| β€ L) β§ |Y H| β€ R
lemma measurableSet_heightTubeEndpointEvent {Ξ© : Type*} [MeasurableSpace Ξ©]
(Y : β β Ξ© β β) (hY : β j, Measurable (Y j)) (H : β) (L R : β) :
MeasurableSet {x | heightTubeEndpointEvent (fun j => Y j x) H L R} := by
change MeasurableSet ({x | β j β€ H, |Y j x| β€ L} β© {x | |Y H x| β€ R})
apply MeasurableSet.inter
Β· simp only [Set.ofPred_forall]
exact MeasurableSet.iInter fun j => MeasurableSet.iInter fun _ =>
measurableSet_le (hY j).abs measurable_const
Β· exact measurableSet_le (hY H).abs measurable_const
lemma heightPolygon_window_implies_tube (Y : β β β) (r n : β) (hr : 0 < r) (hn : 0 < n)
(B L Ο Ξ΄ : β) (hBL : B β€ L) (Ο : unitInterval)
(hg : βheightPolygon Y r n 2β < B)
(he : β t : unitInterval, dist t Ο β€ Ξ΄ β |heightPolygon Y r n 2 t| < Ο)
(ht : dist (layerGridPoint (2*n) βnββ) Ο β€ Ξ΄) :
heightTubeEndpointEvent Y βnββ (L*r) (Ο*r) := by
have h2n : 0 < 2*n := by positivity
have hj (j : β) (h : j β€ βnββ) : (j:β) β€ 2*n := by
have h' := (Nat.cast_le (Ξ± := β)).mpr h
have hfloor := Nat.floor_le hn.le
linarith
have heval (j : β) (h : j β€ βnββ) : heightPolygon Y r n 2 (layerGridPoint (2*n) j)=Y j/r := by
apply heightPolygon_grid _ _ _ _ h2n.le
rw [layerGridPoint_coe h2n (hj j h),mul_div_cancelβ _ h2n.ne']
constructor
Β· intro j h
have hh := (heightPolygon Y r n 2).norm_coe_le_norm (layerGridPoint (2*n) j)
rw [heval j h,Real.norm_eq_abs,abs_div,abs_of_pos hr] at hh
exact ((div_le_iffβ hr).mp (hh.trans (hg.le.trans hBL)))
Β· have hh := he _ ht
rw [heval βnββ le_rfl,abs_div,abs_of_pos hr] at hh
exact ((div_lt_iffβ hr).mp hh).le
lemma half_layer_grid_tendsto (n : β β β) (hn : Tendsto n atTop atTop) :
Tendsto (fun i => layerGridPoint (2*n i) βn iββ) atTop
(π (β¨(1:β)/2,by norm_num,by norm_numβ© : unitInterval)) := by
apply layerGridPoint_tendsto
have hh := ((tendsto_nat_floor_mul_div_atTop (by norm_num : (0:β)β€1)).comp hn).div_const 2
convert hh using 1
simp only [one_mul,Function.comp_def]
funext i
ring
end DirectionalTransience
end
end
end OAI
|