Download data/lean/OAI/Analysis/HardSphere/PathBounds/GridTailTransfer.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.19 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HardSphere/PathBounds/GridTailTransfer.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/HardSphere/PathBounds/GridTailTransfer.lean
-
curl -L -o GridTailTransfer.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/HardSphere/PathBounds/GridTailTransfer.lean
4.19 kB
| import Mathlib | |
| import OAI.Analysis.HardSphere.Geometry.GridAlignment | |
| import OAI.Analysis.HardSphere.PathBounds.VisitCounts | |
| import OAI.Analysis.HardSphere.Thermodynamics.ShiftCloseTail | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open MeasureTheory ProbabilityTheory Set Filter | |
| open scoped ENNReal NNReal Topology BigOperators | |
| namespace HardSphere.Groups | |
| open Wiener PathCutoff CellOrbital BathSlice HardSphere.Lattice | |
| lemma joint_event_image {W V U : Type*} [MeasurableSpace W] [DecidableEq U] | |
| (ΞΌ : Measure W) (f : VβU) (P : UβWβProp) (A : Finset V) : | |
| ΞΌ {Ο | βvβA,P (f v) Ο}=ΞΌ {Ο | βuβA.image f,P u Ο} := by | |
| congr 1 | |
| ext Ο | |
| simp only [Set.mem_ofPred_eq,Finset.mem_image,forall_exists_index,and_imp,forall_apply_eq_imp_iffβ] | |
| lemma grid_visitors_eq {n K : β} [NeZero K] (L : Length) | |
| (v : Fin 3βFin K) (Ο : ConfigurationPath n L) : | |
| ShiftVisits.visitorCount L (gridShift L) Set.univ (gridSite v) Ο=(visitors (gridCenter L v) Ο).card := by | |
| classical | |
| rw [grid_visitorCount] | |
| apply congrArg Finset.card | |
| ext i | |
| simp [visitors] | |
| lemma grid_longVisitors_eq {n K : β} [NeZero K] (L : Length) | |
| (v : Fin 3βFin K) (Ο : ConfigurationPath n L) : | |
| ShiftVisits.visitorCount L (gridShift L) {p | 1 < intervalDiameter 0 1 p} (gridSite v) Ο= | |
| (longVisitors (gridCenter L v) Ο).card := by | |
| classical | |
| rw [grid_visitorCount] | |
| apply congrArg Finset.card | |
| ext i | |
| simp [longVisitors,and_comm] | |
| lemma grid_nonregular_iff {n K : β} [NeZero K] (L : Length) | |
| (m : β) (r R C S : β) (u : Time) (v : Fin 3βFin K) (Ο : ConfigurationPath n L) : | |
| (Β¬βi,pathVisitsBall L 12 (gridCenter L v) i ΟβRegular m r R C u S (onePathAt i Ο)) β | |
| 1β€(ShiftVisits.visitorCount L (gridShift L) {p | Β¬Regular m r R C u S p} (gridSite v) Ο:β) := by | |
| classical | |
| rw [grid_visitorCount] | |
| have hcast (k : β) : (1:β)β€(k:β) β 1β€k := by exact_mod_cast Iff.rfl | |
| rw [hcast,Finset.one_le_card] | |
| change (Β¬βi, _ β _) β βi, iβ_ | |
| simp only [Finset.mem_filter,Finset.mem_univ,true_and,Set.mem_ofPred_eq] | |
| push Not | |
| exact exists_congr (fun i β¦ and_comm) | |
| lemma ofReal_power_tail {x q : β} (hx : 0β€x) (hq : 0β€q) (h : xβ€q^6) (n : β) : | |
| ENNReal.ofReal (x^n)β€(ENNReal.ofReal q)^(6*n) := by | |
| rw [pow_mul,βENNReal.ofReal_pow hq,βENNReal.ofReal_pow (pow_nonneg hq _)] | |
| exact ENNReal.ofReal_le_ofReal (pow_le_pow_leftβ hx h n) | |
| lemma exp_power_tail {x q : β} (hq : 0β€q) (h : Real.exp xβ€q^6) (n : β) : | |
| ENNReal.ofReal (Real.exp (x*(n:β)))β€(ENNReal.ofReal q)^(6*n) := by | |
| rw [mul_comm x (n:β),Real.exp_nat_mul] | |
| exact ofReal_power_tail (Real.exp_pos x).le hq h n | |
| lemma grid_close_tail : β Q : β, 0<Q β§ β ΞΈ : β, 0<ΞΈ β | |
| β b GΞΈ : β, 0<b β§ bβ€1/4 β§ 0<GΞΈ β§ | |
| Tendsto (fun D : β β¦ ((GΞΈ/b^2)*D^(-(4/3):β))^(1/(Q:β))) atTop (π 0) β§ | |
| β Ξ±max : β, β Dβ : β, 1β€Dβ β§ | |
| β (n K : β) [Nontrivial (Fin n)] (L : Length) (_hL : L.val=(K:β)) (D Ξ± : β), | |
| 100β€L.val β D=(n:β)/L.val^3 β Dββ€D β 1β€Ξ± β Ξ±β€Ξ±max β | |
| β (g : Jet n L), IsGroundVector n L (Ξ±/D) g β | |
| β (T : β), 0β€T β β (q : Time) (A : Finset (Fin 3βFin K)), | |
| groundPathLaw n L (Ξ±/D) T g {Ο | β vβA, | |
| ΞΈ*Dβ€((localCloseLabels L (spatialCloseScale D b) (gridCenter L v) (Ο q)).card:β)}β€ | |
| ENNReal.ofReal (((((GΞΈ/b^2)*D^(-(4/3):β))^(1/(Q:β)))^A.card)) := by | |
| obtain β¨Q,hQ,htailβ© := spatial_translated_stationary_close_tail | |
| refine β¨Q,hQ,?_β© | |
| intro ΞΈ hΞΈ | |
| obtain β¨b,G,hb,hb1,hG,hl,htβ© := htail ΞΈ hΞΈ | |
| refine β¨b,G,hb,hb1,hG,hl,?_β© | |
| intro Ξ±max | |
| obtain β¨Dβ,hDβ,hhβ© := ht Ξ±max | |
| refine β¨Dβ,hDβ,?_β© | |
| intro n K inst L hL D Ξ± hL100 hDeq hD hΞ± hΞ±max g hg T hT q A | |
| have h := hh n K L hL D Ξ± hL100 hDeq hD hΞ± hΞ±max g hg T hT q (gridShift L) (A.image gridCube) | |
| rw [Finset.card_image_of_injective _ gridCube_injective] at h | |
| convert h using 1 | |
| congr 1 | |
| ext Ο | |
| simp only [Set.mem_ofPred_eq,Finset.mem_image,forall_exists_index,and_imp,forall_apply_eq_imp_iffβ,shifted_unitCenter] | |
| end HardSphere.Groups | |
| end | |
| end | |
| end | |
| end OAI | |