Download data/lean/OAI/Probability/Ballisticity/Geometry/SpatialConfinement.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.29 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/Ballisticity/Geometry/SpatialConfinement.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Probability/Ballisticity/Geometry/SpatialConfinement.lean
-
curl -L -o SpatialConfinement.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Probability/Ballisticity/Geometry/SpatialConfinement.lean
3.29 kB
| import Mathlib | |
| import OAI.Probability.Ballisticity.Estimates.ConfinementTemplates | |
| namespace OAI | |
| section | |
| open MeasureTheory ProbabilityTheory Filter | |
| open scoped ENNReal NNReal Classical Topology BigOperators | |
| namespace DirectionalTransience | |
| def StripExcursion {d : β} (β : Vector d) (H R : β) : Set (Path d) := | |
| {X | β n, X β BoundedHeightPrefix β H n β§ β u : Direction d, R < signedCoordinate u (X n)} | |
| lemma measurableSet_stripExcursion {d : β} (β : Vector d) (H R : β) : | |
| MeasurableSet (StripExcursion β H R) := by | |
| simp only [StripExcursion, Set.ofPred_exists, Set.ofPred_and] | |
| apply MeasurableSet.iUnion | |
| intro n | |
| refine (measurableSet_boundedHeightPrefix β H n).inter (MeasurableSet.iUnion fun u => ?_) | |
| exact measurableSet_lt measurable_const ((measurable_of_countable (signedCoordinate u)).comp (measurable_pi_apply n)) | |
| lemma stripExcursion_subset_ratio {d : β} (β : Vector d) (X : Path d) | |
| (h0 : X 0 = 0) (hNN : β n, β e : Direction d, X (n+1) = X n+step e) | |
| (b a D : β) (hb : 0 β€ b) (ha : 1 β€ a) (hD : 0 β€ D) (N : β) : | |
| X β StripExcursion β N (a*(2*b+2+D)*(N+1)^2) β | |
| X β β u : Direction d, RatioHit β u b a N (1+N*(2*b+1+D)) := by | |
| rintro β¨n,hn,u,huβ© | |
| refine Set.mem_iUnion.mpr β¨u,Set.mem_iUnion.mpr β¨n,β¨β¨h0,fun j _ => hNN jβ©,hnβ©,?_β©β© | |
| have hm := runningHeight_le β X n N (Nat.cast_nonneg _) (fun j hj => (hn j hj).2) | |
| have hm0 := runningHeight_nonneg β X n | |
| have ht : 0 β€ 1+(N:β)*(2*b+1+D) := by positivity | |
| have hfactor : 1+(N:β)*(2*b+1+D) β€ (2*b+2+D)*(N+1) := by nlinarith | |
| have hbnd : (1+(N:β)*(2*b+1+D))*(a*(1+runningHeight β X n)) β€ | |
| a*(2*b+2+D)*(N+1)^2 := by | |
| calc | |
| _ β€ (1+(N:β)*(2*b+1+D))*(a*(1+N)) := | |
| mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (by linarith) (by linarith)) ht | |
| _ β€ ((2*b+2+D)*(N+1))*(a*(1+N)) := | |
| mul_le_mul_of_nonneg_right hfactor (by positivity) | |
| _ = _ := by ring | |
| change _ < tiltedCoordinate β u b a (X n)/(a*(1+runningHeight β X n)) | |
| apply (lt_div_iffβ (mul_pos (by linarith) (by linarith))).mpr | |
| have hz := mul_nonneg (mul_nonneg hb (show 0 β€ a by linarith)) (hn n le_rfl).1 | |
| dsimp only [tiltedCoordinate] | |
| linarith | |
| theorem spatial_confinement {d : β} (Ξ½ : Measure (Row d)) [IsProbabilityMeasure Ξ½] | |
| (hue : UniformElliptic Ξ½) (e : Direction d) | |
| (htrans : DirectionallyTransient Ξ½ (realPosition (step e))) : | |
| β C Ξ΅ : β, 0 < C β§ 0 < Ξ΅ β§ Ξ΅ β€ 1 β§ β N : β, | |
| (annealedLaw Ξ½).real (StripExcursion (realPosition (step e)) N (C*(N+1)^2)) β€ | |
| (2*d : β)*(1-Ξ΅)^N := by | |
| obtain β¨b,a,D,Ξ΅,hb,ha,hD,hΞ΅,hΞ΅1,hAβ© := strip_templates Ξ½ hue e htrans | |
| refine β¨a*(2*b+2+D),Ξ΅,mul_pos (by linarith) (by linarith),hΞ΅,hΞ΅1,?_β© | |
| intro N | |
| obtain β¨A,hAm,hAp,hAcβ© := hA N | |
| apply le_trans ?_ (ratio_hit_union_bound Ξ½ (realPosition (step e)) | |
| (unit_direction_coordinate_bound _ (signed_direction_unit e)) b a D N Ξ΅ hb ha hD hΞ΅.le hΞ΅1 A hAm hAp hAc N) | |
| apply ENNReal.toReal_mono (measure_ne_top _ _) | |
| apply measure_mono_ae | |
| filter_upwards [annealed_initial Ξ½,annealed_nearest_neighbor Ξ½] with X h0 hNN | |
| exact stripExcursion_subset_ratio _ X h0 hNN b a D hb ha hD N | |
| end DirectionalTransience | |
| end | |
| end OAI | |