Download data/lean/OAI/MathematicalPhysics/Boltzmann/Compactness/KineticWindowL1.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 10.9 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/Boltzmann/Compactness/KineticWindowL1.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/Boltzmann/Compactness/KineticWindowL1.lean
-
curl -L -o KineticWindowL1.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/Boltzmann/Compactness/KineticWindowL1.lean
10.9 kB
| import OAI.MathematicalPhysics.Boltzmann.Approximation.CapNonlinearHotLimit | |
| import OAI.MathematicalPhysics.Boltzmann.Branching.EuclideanBackwardMap | |
| import OAI.MathematicalPhysics.Boltzmann.Branching.EuclideanKineticMap | |
| import OAI.MathematicalPhysics.Boltzmann.Branching.SpacetimeFourierCoordinates | |
| import OAI.MathematicalPhysics.Boltzmann.Collision.VelocityAverageDifference | |
| import OAI.MathematicalPhysics.Boltzmann.Compactness.WeakL1Operations | |
| import OAI.MathematicalPhysics.Boltzmann.Jets.TorusTransport | |
| namespace OAI | |
| section | |
| /-! # Measure-preserving coordinates for the partial Fourier argument -/ | |
| noncomputable section | |
| open MeasureTheory | |
| namespace BoltzmannNonuniqueness.Published | |
| def kineticFourierEquiv : KineticPhase βα΅ Velocity Γ FourierSpace := | |
| MeasurableEquiv.prodComm.trans ((MeasurableEquiv.refl Velocity).prodCongr spacetimeHilbertEquiv) | |
| theorem kineticFourierEquiv_apply (z : KineticPhase) : | |
| kineticFourierEquiv z = (z.2,spacetimeHilbertEquiv z.1) := rfl | |
| theorem kineticFourier_measurePreserving : | |
| MeasurePreserving kineticFourierEquiv (volume : Measure KineticPhase) volume := by | |
| have hp := (MeasurePreserving.id (volume : Measure Velocity)).prod spacetimeHilbert_measurePreserving | |
| have h := hp.comp (Measure.measurePreserving_swap (ΞΌ := (volume : Measure SpaceTime)) | |
| (Ξ½ := (volume : Measure Velocity))) | |
| have he : (kineticFourierEquiv : KineticPhase β Velocity Γ FourierSpace) = | |
| Prod.map id spacetimeHilbertEquiv β Prod.swap := rfl | |
| rw [he] | |
| simpa only [Measure.volume_eq_prod] using h | |
| theorem kineticFourier_symm_measurePreserving : | |
| MeasurePreserving kineticFourierEquiv.symm (volume : Measure (Velocity Γ FourierSpace)) volume := | |
| kineticFourier_measurePreserving.symm kineticFourierEquiv | |
| theorem kineticFourier_characteristic (p : Velocity Γ FourierSpace) (s : β) : | |
| kineticFourierEquiv ((p.2.ofLp.1-s,p.2.ofLp.2-s β’ p.1),p.1) = | |
| (p.1,p.2-s β’ characteristicDirection p.1) := by | |
| rw [kineticFourierEquiv_apply,spacetimeHilbert_translation] | |
| rfl | |
| end BoltzmannNonuniqueness.Published | |
| end | |
| end | |
| section | |
| /-! # The Fourier-coordinate average is the original physical resolvent average -/ | |
| noncomputable section | |
| open MeasureTheory Set | |
| namespace BoltzmannNonuniqueness.Published | |
| def fourierSource (r : KineticPhase β β) (Ο : Velocity β β) | |
| (p : Velocity Γ FourierSpace) : β := (Ο p.1*r (p.2.ofLp,p.1) : β) | |
| theorem fourierSource_measurable {r : KineticPhase β β} {Ο : Velocity β β} | |
| (hr : Measurable r) (hΟ : Measurable Ο) : Measurable (fourierSource r Ο) := by | |
| unfold fourierSource | |
| fun_prop | |
| theorem fourierSource_resolvent (r : KineticPhase β β) (Ο : Velocity β β) | |
| (v : Velocity) (z : SpaceTime) : | |
| velocityLineResolvent (fourierSource r Ο) (v,spacetimeHilbertEquiv z) = | |
| (Ο v*transportResolvent r (z,v) : β) := by | |
| change (β« s in Ioi (0 : β), Real.exp (-s) β’ | |
| fourierSource r Ο (v,spacetimeHilbertEquiv z-s β’ characteristicDirection v)) = _ | |
| calc | |
| _ = β« s in Ioi (0 : β), | |
| ((Real.exp (-s)*(Ο v*r ((z.1-s,z.2-s β’ v),v)) : β) : β) := by | |
| apply integral_congr_ae | |
| exact Filter.Eventually.of_forall (fun s => by | |
| dsimp only | |
| rw [β spacetimeHilbert_translation z s v] | |
| simp only [fourierSource,spacetimeHilbertEquiv,MeasurableEquiv.coe_toLp, | |
| WithLp.ofLp_toLp,Complex.real_smul,Complex.ofReal_mul]) | |
| _ = ((β« s in Ioi (0 : β), Real.exp (-s)*(Ο v*r ((z.1-s,z.2-s β’ v),v)) : β) : β) := | |
| integral_complex_ofReal | |
| _ = _ := by | |
| congr 1 | |
| unfold transportResolvent | |
| rw [β restrict_Ioi_eq_restrict_Ici,β integral_const_mul] | |
| apply integral_congr_ae | |
| exact Filter.Eventually.of_forall (fun s => by ring) | |
| theorem fourierSource_average (r : KineticPhase β β) (Ο : Velocity β β) (z : SpaceTime) : | |
| velocityLineAverage (fourierSource r Ο) (spacetimeHilbertEquiv z) = | |
| (resolventAverage r Ο z : β) := by | |
| change (β« v, velocityLineResolvent (fourierSource r Ο) (v,spacetimeHilbertEquiv z)) = _ | |
| simp_rw [fourierSource_resolvent] | |
| exact integral_complex_ofReal | |
| end BoltzmannNonuniqueness.Published | |
| end | |
| end | |
| section | |
| /-! # Compact time support of the complete kinetic test integrand -/ | |
| noncomputable section | |
| open Set | |
| namespace BoltzmannNonuniqueness | |
| theorem KineticTest.exists_time_cutoff (Ο : KineticTest) : | |
| β T : β, 0 < T β§ (β x v, Ο.toFun T x v = 0) β§ | |
| β t, T < t β β p : Phase, Ο.transportDerivative t p = 0 β§ Ο.toFun t p.1 p.2 = 0 := by | |
| obtain β¨R,hR,hzeroβ© := Ο.compact_time_velocity | |
| let L : LiftedSpaceTimePhase β β := fun z => Ο.toFun z.1 (torusProjection z.2.1) z.2.2 | |
| have hs : tsupport L β {z : LiftedSpaceTimePhase | z.1 β€ R} := by | |
| apply closure_minimal | |
| Β· intro z hz | |
| by_contra hn | |
| exact hz (hzero z.1 (torusProjection z.2.1) z.2.2 | |
| (Or.inl ((lt_of_not_ge hn).trans_le (le_abs_self _)))) | |
| Β· exact isClosed_le continuous_fst continuous_const | |
| refine β¨R+1,by linarith,?_,?_β© | |
| Β· intro x v | |
| exact hzero (R+1) x v (Or.inl (by rw [abs_of_pos (by linarith : 0 < R+1)]; linarith)) | |
| Β· intro t ht p | |
| have hn : (t,torusRepresentative p.1,p.2) β tsupport L := by | |
| intro hp | |
| have := hs hp | |
| change t β€ R at this | |
| linarith | |
| have hd : fderiv β L (t,torusRepresentative p.1,p.2) = 0 := fderiv_of_notMem_tsupport β hn | |
| refine β¨congrArg (fun A : LiftedSpaceTimePhase βL[β] β => A (1,p.2,0)) hd,?_β© | |
| exact hzero t p.1 p.2 (Or.inl (by linarith [le_abs_self t])) | |
| end BoltzmannNonuniqueness | |
| end | |
| end | |
| section | |
| /-! # Regrouping time and phase space in the weak limit -/ | |
| noncomputable section | |
| open MeasureTheory | |
| namespace BoltzmannNonuniqueness.TorusFlight | |
| def regroup (f : (β Γ Position) Γ Velocity β β) (z : β Γ Phase) : β := | |
| f ((z.1,z.2.1),z.2.2) | |
| theorem weak_regroup {ΞΌ : Measure β} [SFinite ΞΌ] | |
| {f : β β (β Γ Position) Γ Velocity β β} {g : (β Γ Position) Γ Velocity β β} | |
| (hf : β n, Measurable (f n)) | |
| (h : Published.WeakL1Converges ((ΞΌ.prod volume).prod volume) f g) : | |
| Published.WeakL1Converges (ΞΌ.prod (volume : Measure Phase)) | |
| (fun n => regroup (f n)) (regroup g) := by | |
| have hmp : MeasurePreserving (MeasurableEquiv.prodAssoc : | |
| ((β Γ Position) Γ Velocity) βα΅ β Γ Phase) | |
| ((ΞΌ.prod volume).prod volume) (ΞΌ.prod volume) := by | |
| simpa only [Measure.volume_eq_prod] using measurePreserving_prodAssoc ΞΌ | |
| (volume : Measure Position) (volume : Measure Velocity) | |
| exact Published.WeakL1Converges.of_comp_measurePreserving hmp | |
| (fun n => (hf n).comp MeasurableEquiv.prodAssoc.symm.measurable) | |
| (h.1.comp MeasurableEquiv.prodAssoc.symm.measurable) h | |
| theorem weak_constant_time {ΞΌ : Measure β} [IsFiniteMeasure ΞΌ] | |
| {f : β β Phase β β} {g : Phase β β} (hf : β n, Measurable (f n)) | |
| (hfi : β n, Integrable (f n)) (h : Published.WeakL1Converges volume f g) : | |
| Published.WeakL1Converges (ΞΌ.prod volume) (fun n z => f n z.2) (fun z => g z.2) := by | |
| apply Published.WeakL1Converges.of_comp_measurePreserving | |
| (Measure.measurePreserving_swap (ΞΌ := (volume : Measure Phase)) (Ξ½ := ΞΌ)) | |
| (fun n => (hf n).comp measurable_snd) (h.1.comp measurable_snd) | |
| exact h.prod_constant hfi | |
| end BoltzmannNonuniqueness.TorusFlight | |
| end | |
| end | |
| section | |
| /-! # Passing from measurable time traces to kinetic almost-everywhere statements -/ | |
| noncomputable section | |
| open MeasureTheory Set | |
| open BoltzmannNonuniqueness.Published | |
| namespace BoltzmannNonuniqueness.KineticTraceAE | |
| theorem of_traces {P : KineticPhase β Prop} (hP : MeasurableSet {z | P z}) | |
| (h : βα΅ t : β, βα΅ p : Velocity Γ Velocity, P ((t,p.1),p.2)) : | |
| βα΅ z : KineticPhase, P z := by | |
| have hm : Measurable (fun u : β Γ (Velocity Γ Velocity) => ((u.1,u.2.1),u.2.2)) := by fun_prop | |
| have hp : βα΅ u β(volume : Measure β).prod (volume : Measure (Velocity Γ Velocity)), | |
| P ((u.1,u.2.1),u.2.2) := (Measure.ae_prod_iff_ae_ae (hP.preimage hm)).mpr h | |
| have he := (measurePreserving_prodAssoc (volume : Measure β) (volume : Measure Velocity) | |
| (volume : Measure Velocity)).quasiMeasurePreserving.ae hp | |
| have he' : βα΅ z β((volume : Measure β).prod (volume : Measure Velocity)).prod volume, P z := by | |
| filter_upwards [he] with z hz | |
| exact hz | |
| simpa only [Measure.volume_eq_prod] using he' | |
| end BoltzmannNonuniqueness.KineticTraceAE | |
| end | |
| end | |
| section | |
| /-! # Time restriction converts local hot-window convergence to compact L1 convergence -/ | |
| noncomputable section | |
| open MeasureTheory Set Filter | |
| open scoped ENNReal Topology | |
| open BoltzmannNonuniqueness.Published | |
| namespace BoltzmannNonuniqueness.EuclideanFlight | |
| theorem time_cutoff_compact_L1 {f : β β KineticPhase β β} {A : β} | |
| (hf : β n, Measurable (f n)) (hn : β n z, 0 β€ f n z) | |
| (hL : β R V : β, 0 β€ V β Tendsto (fun n => eLpNorm (f n) 1 | |
| (((hotBaseVolume A R).prod volume).restrict {z | βz.2β β€ V})) atTop (π 0)) | |
| (C : Set KineticPhase) (hC : IsCompact C) : | |
| Tendsto (fun n => β«β» z in C, | |
| {z : KineticPhase | z.1.1 β Icc 0 A}.indicator | |
| (fun z => ENNReal.ofReal (f n z)) z) atTop (π 0) := by | |
| have hx : Continuous (fun z : KineticPhase => spaceEquiv z.1.2) := | |
| spaceEquiv_continuous.comp continuous_fst.snd | |
| obtain β¨R,hRβ© := hC.exists_bound_of_continuousOn hx.continuousOn | |
| obtain β¨V,hVβ© := hC.exists_bound_of_continuousOn continuous_snd.continuousOn | |
| let V' := max V 0 | |
| let D := {z : KineticPhase | z.1.1 β Icc 0 A} | |
| have hD : MeasurableSet D := measurableSet_Icc.preimage measurable_fst.fst | |
| let W := (hotBaseSet A R ΓΛ’ (univ : Set Velocity)) β© {z : KineticPhase | βz.2β β€ V'} | |
| have hCW : C β© D β W := by | |
| intro z hz | |
| exact β¨β¨β¨hz.2,by simpa only [mem_preimage,Metric.mem_closedBall,dist_zero_right] using hR z hz.1β©, | |
| mem_univ _β©,(hV z hz.1).trans (le_max_left V 0)β© | |
| have hmeasure : ((hotBaseVolume A R).prod volume).restrict {z : KineticPhase | βz.2β β€ V'} = | |
| volume.restrict W := by | |
| rw [hotBaseVolume_eq,β Measure.restrict_univ (ΞΌ := (volume : Measure Velocity)), | |
| Measure.prod_restrict,β Measure.volume_eq_prod,Measure.restrict_restrict] | |
| Β· exact congrArg (fun E => (volume : Measure KineticPhase).restrict E) (inter_comm _ _) | |
| Β· exact measurableSet_le measurable_snd.norm measurable_const | |
| apply tendsto_of_tendsto_of_tendsto_of_le_of_le tendsto_const_nhds | |
| (hL R V' (le_max_right V 0)) (fun _ => bot_le) | |
| intro n | |
| dsimp only | |
| rw [eLpNorm_one_eq_lintegral_enorm (hf n).aestronglyMeasurable,hmeasure] | |
| simp_rw [Real.enorm_eq_ofReal (hn n _)] | |
| rw [lintegral_indicator hD,Measure.restrict_restrict hD,inter_comm D C] | |
| exact lintegral_mono' (Measure.restrict_mono_set volume hCW) le_rfl | |
| end BoltzmannNonuniqueness.EuclideanFlight | |
| end | |
| end | |
| end OAI | |