math / data /lean /OAI /Analysis /HardSphere /PathBounds /GridTailTransfer.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
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