cfahlgren1/math / lean /OAI /MathematicalPhysics /Boltzmann /Compactness /KineticDensityMeasurable.lean
cfahlgren1's picture
download
raw
6.73 kB
import OAI.MathematicalPhysics.Boltzmann.Admissibility
import OAI.MathematicalPhysics.Boltzmann.Collision.CollisionMeasure
namespace OAI
section
/-! # Measure-preserving grouping of physical time and phase coordinates -/
noncomputable section
open MeasureTheory Set
namespace BoltzmannNonuniqueness
def kineticDensity (F : Evolution) (z : (ℝ × Position) × Velocity) : ℝ :=
F z.1.1 (z.1.2,z.2)
theorem kineticGrouping_measurePreserving (μ : Measure ℝ) [SFinite μ] :
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)
theorem phaseInterval_measure (T : ℝ) :
(volume.restrict (Icc 0 T)).prod (volume : Measure Phase) =
volume.restrict (boundedTimes T) := by
rw [Measure.restrict_prod_eq_prod_univ,← Measure.volume_eq_prod]
rfl
end BoltzmannNonuniqueness
end
end
section
/-! # Collision representative invariance with space and time parameters -/
noncomputable section
open MeasureTheory MeasureTheory.Measure
namespace BoltzmannNonuniqueness.KineticCollisionNullSets
variable {X : Type*} [MeasurableSpace X]
def left (p : (X × Velocity) × (Velocity × Sphere)) : X × Velocity :=
(p.1.1, scatterLeft p.1.2 p.2.1 p.2.2)
def right (p : (X × Velocity) × (Velocity × Sphere)) : X × Velocity :=
(p.1.1, scatterRight p.1.2 p.2.1 p.2.2)
theorem left_quasiMeasurePreserving (μ : Measure X) [SFinite μ] :
QuasiMeasurePreserving (left (X := X))
((μ.prod (volume : Measure Velocity)).prod ((volume : Measure Velocity).prod sphereArea))
(μ.prod (volume : Measure Velocity)) := by
let : SFinite ((volume : Measure Velocity).prod sphereArea) := Measure.prod.instSFinite
let : SFinite ((volume : Measure Velocity).prod ((volume : Measure Velocity).prod sphereArea)) :=
Measure.prod.instSFinite
have h := MeasureTheory.QuasiMeasurePreserving.prodMap
(MeasurePreserving.id μ).quasiMeasurePreserving CollisionNullSets.left_quasiMeasurePreserving
exact h.comp (measurePreserving_prodAssoc μ (volume : Measure Velocity)
((volume : Measure Velocity).prod sphereArea)).quasiMeasurePreserving
theorem right_quasiMeasurePreserving (μ : Measure X) [SFinite μ] :
QuasiMeasurePreserving (right (X := X))
((μ.prod (volume : Measure Velocity)).prod ((volume : Measure Velocity).prod sphereArea))
(μ.prod (volume : Measure Velocity)) := by
let : SFinite ((volume : Measure Velocity).prod sphereArea) := Measure.prod.instSFinite
let : SFinite ((volume : Measure Velocity).prod ((volume : Measure Velocity).prod sphereArea)) :=
Measure.prod.instSFinite
have h := MeasureTheory.QuasiMeasurePreserving.prodMap
(MeasurePreserving.id μ).quasiMeasurePreserving CollisionNullSets.right_quasiMeasurePreserving
exact h.comp (measurePreserving_prodAssoc μ (volume : Measure Velocity)
((volume : Measure Velocity).prod sphereArea)).quasiMeasurePreserving
def gain (b : ℝ) (f : X × Velocity → ℝ) (p : X × Velocity) : ℝ :=
CollisionCutoff.gain b (fun v => f (p.1, v)) p.2
theorem gain_congr (μ : Measure X) [SFinite μ] {f g : X × Velocity → ℝ}
(hfg : f =ᵐ[μ.prod volume] g) (b : ℝ) : gain b f =ᵐ[μ.prod volume] gain b g := by
let : SFinite ((volume : Measure Velocity).prod sphereArea) := Measure.prod.instSFinite
have hl := ae_ae_of_ae_prod ((left_quasiMeasurePreserving μ).ae hfg)
have hr := ae_ae_of_ae_prod ((right_quasiMeasurePreserving μ).ae hfg)
filter_upwards [hl, hr] with p hlp hrp
apply integral_congr_ae
filter_upwards [hlp, hrp] with q hlq hrq
change f (p.1, scatterLeft p.2 q.1 q.2) = g (p.1, scatterLeft p.2 q.1 q.2) at hlq
change f (p.1, scatterRight p.2 q.1 q.2) = g (p.1, scatterRight p.2 q.1 q.2) at hrq
unfold CollisionCutoff.integrand
dsimp only
rw [hlq, hrq]
theorem measurable_gain {f : X × Velocity → ℝ} (hf : Measurable f) (b : ℝ) :
Measurable (gain b f) := by
let : SFinite ((volume : Measure Velocity).prod sphereArea) := Measure.prod.instSFinite
have hL : Measurable (fun p : (X × Velocity) × (Velocity × Sphere) => f (left p)) := by
apply hf.comp
unfold left scatterLeft normalComponent
fun_prop
have hR : Measurable (fun p : (X × Velocity) × (Velocity × Sphere) => f (right p)) := by
apply hf.comp
unfold right scatterRight normalComponent
fun_prop
have hk : Measurable (fun p : (X × Velocity) × (Velocity × Sphere) =>
CollisionCutoff.kernel b p.1.2 p.2.1 p.2.2) := by
unfold CollisionCutoff.kernel
apply Measurable.ite (measurableSet_lt (by fun_prop) measurable_const)
· unfold collisionKernel normalComponent
fun_prop
· exact measurable_const
exact ((hk.mul hL).mul hR).stronglyMeasurable.integral_prod_right.measurable
def frequency (b : ℝ) (f : X × Velocity → ℝ) (p : X × Velocity) : ℝ :=
CollisionCutoff.frequency b (fun v => f (p.1, v)) p.2
theorem frequency_congr (μ : Measure X) [SFinite μ] {f g : X × Velocity → ℝ}
(hfg : f =ᵐ[μ.prod volume] g) (b : ℝ) :
frequency b f =ᵐ[μ.prod volume] frequency b g := by
have hx := ae_ae_of_ae_prod hfg
have he : ∀ᵐ x ∂μ, ∀ v, CollisionCutoff.frequency b (fun w => f (x, w)) v =
CollisionCutoff.frequency b (fun w => g (x, w)) v :=
hx.mono (fun x hx v => CollisionNullSets.frequency_congr hx b v)
exact (quasiMeasurePreserving_fst.ae he).mono (fun p hp => hp p.2)
theorem measurable_frequency {f : X × Velocity → ℝ} (hf : Measurable f) (b : ℝ) :
Measurable (frequency b f) := by
have hk : Measurable (fun p : (X × Velocity) × Velocity =>
CollisionCutoff.rate b p.1.2 p.2) := by
unfold CollisionCutoff.rate
exact Measurable.ite (measurableSet_lt (by fun_prop) measurable_const)
(by fun_prop) measurable_const
have hm : Measurable (fun p : (X × Velocity) × Velocity => f (p.1.1, p.2)) := by
exact hf.comp (measurable_fst.fst.prodMk measurable_snd)
exact measurable_const.mul (hk.mul hm).stronglyMeasurable.integral_prod_right.measurable
end BoltzmannNonuniqueness.KineticCollisionNullSets
end
end
section
/-! # Measurability of the physical-to-kinetic regrouping -/
noncomputable section
open MeasureTheory
namespace BoltzmannNonuniqueness
theorem measurable_kineticDensity {F : Evolution}
(hF : Measurable (fun z : ℝ × Phase => F z.1 z.2)) : Measurable (kineticDensity F) := by
unfold kineticDensity
exact hF.comp (measurable_fst.fst.prodMk (measurable_fst.snd.prodMk measurable_snd))
end BoltzmannNonuniqueness
end
end
end OAI

Xet Storage Details

Size:
6.73 kB
·
Xet hash:
7d334d5230b8778740aa654c5a4f18c635d345d28018105d22c54699cc1f988b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.