math / data /lean /OAI /MathematicalPhysics /Boltzmann /Approximation /MildRenormalization.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
13.9 kB
import OAI.MathematicalPhysics.Boltzmann.Approximation.CapMildLimit
import OAI.MathematicalPhysics.Boltzmann.Approximation.MildCurveContinuity
import OAI.MathematicalPhysics.Boltzmann.Compactness.EntropyIntegralBalance
import OAI.MathematicalPhysics.Boltzmann.Compactness.RenormalizedIntegrability
import OAI.MathematicalPhysics.Boltzmann.Jets.TorusTransport
import Mathlib.Topology.Order.Lattice
namespace OAI
section
/-! # A strongly continuous representative of the constructed local mild solution -/
noncomputable section
open MeasureTheory Set
open scoped Topology ENNReal
namespace BoltzmannNonuniqueness
namespace MildCollisionSolution
def source (g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ) (p : (ℝ Γ— Position) Γ— Velocity) : ℝ :=
CollisionCompactness.gainDensity g p-CollisionCompactness.lossDensity g p
def characteristicSource (g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ) : ℝ Γ— Phase β†’ ℝ :=
TorusFlight.along (TorusFlight.regroup (source g))
def evolution (T : ℝ) (fβ‚€ : Density) (g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ) : Evolution :=
TorusFlight.eulerianProfile (volume.restrict (Icc 0 T)) fβ‚€ (characteristicSource g)
variable {T : ℝ} {fβ‚€ : Density} {g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ}
theorem source_measurable (S : MildCollisionSolution T fβ‚€ g) : Measurable (source g) :=
(CollisionCompactness.gainDensity_measurable S.measurable).sub
(CollisionCompactness.lossDensity_measurable S.measurable)
theorem characteristicSource_measurable (S : MildCollisionSolution T fβ‚€ g) :
Measurable (characteristicSource g) :=
(S.source_measurable.comp MeasurableEquiv.prodAssoc.symm.measurable).comp
(TorusFlight.along_measurePreserving (volume.restrict (Icc 0 T))).measurable
theorem characteristicSource_integrable (S : MildCollisionSolution T fβ‚€ g) :
Integrable (characteristicSource g) ((volume.restrict (Icc 0 T)).prod (volume : Measure Phase)) := by
have hterms := CollisionCompactness.gainLoss_integrable S.measurable S.nonnegative S.pair_integrable
have hi := (measurePreserving_prodAssoc (volume.restrict (Icc 0 T))
(volume : Measure Position) (volume : Measure Velocity)).symm.integrable_comp_of_integrable
(hterms.1.sub hterms.2)
have hr : Integrable (TorusFlight.regroup (source g))
((volume.restrict (Icc 0 T)).prod (volume : Measure Phase)) := by
rw [Measure.volume_eq_prod]
exact hi
exact (TorusFlight.along_measurePreserving (volume.restrict (Icc 0 T))).integrable_comp_of_integrable hr
theorem evolution_eq_ae (S : MildCollisionSolution T fβ‚€ g) :
TorusFlight.regroup g =ᡐ[(volume.restrict (Icc 0 T)).prod (volume : Measure Phase)]
(fun z => evolution T fβ‚€ g z.1 z.2) := by
have h := (TorusFlight.back_measurePreserving (volume.restrict (Icc 0 T))).quasiMeasurePreserving.ae
S.characteristic
filter_upwards [h] with z hz
change TorusFlight.regroup g (z.1,TorusFlight.flight z.1 (TorusFlight.flight (-z.1) z.2)) = _ at hz
rw [TorusFlight.neg_flight] at hz
exact hz
theorem evolution_strong_continuity (S : MildCollisionSolution T fβ‚€ g)
(hT : 0 ≀ T) (hfβ‚€ : Integrable fβ‚€) {t : ℝ} (ht : t ∈ Icc 0 T) :
Filter.Tendsto (fun s => eLpNorm (fun p => evolution T fβ‚€ g s p-evolution T fβ‚€ g t p) 1 volume)
(𝓝[Icc 0 T] t) (𝓝 0) :=
TorusFlight.eulerianProfile_L1_continuous hT hfβ‚€ S.characteristicSource_measurable
S.characteristicSource_integrable ht
theorem evolution_initial (hT : 0 ≀ T) (p : Phase) : evolution T fβ‚€ g 0 p = fβ‚€ p := by
change fβ‚€ (TorusFlight.flight (-0) p)+Published.timePrimitive (volume.restrict (Icc 0 T))
(characteristicSource g) (0,TorusFlight.flight (-0) p) = fβ‚€ p
simp only [neg_zero,TorusFlight.flight_zero]
rw [Published.timePrimitive_eq_interval ⟨le_rfl,hT⟩,intervalIntegral.integral_same,add_zero]
end MildCollisionSolution
end BoltzmannNonuniqueness
end
end
section
/-! # Renormalization along almost every actual mild characteristic -/
noncomputable section
open MeasureTheory Set
namespace BoltzmannNonuniqueness
theorem continuous_path_nonnegative_of_ae {T : ℝ} {u : ℝ β†’ ℝ}
(hT : 0 < T) (hu : ContinuousOn u (Icc 0 T))
(hn : βˆ€α΅ t βˆ‚volume.restrict (Icc 0 T), 0 ≀ u t) :
βˆ€ t ∈ Icc 0 T, 0 ≀ u t := by
have he : u =ᡐ[volume.restrict (Icc 0 T)] (fun t => max (u t) 0) := by
filter_upwards [hn] with t ht
exact (max_eq_left ht).symm
have heq := Measure.eqOn_Icc_of_ae_eq volume hT.ne he hu (hu.sup continuousOn_const)
intro t ht
rw [heq ht]
exact le_max_right _ _
namespace MildCollisionSolution
variable {T : ℝ} {fβ‚€ : Density} {g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ}
theorem nonnegative_integral_paths (S : MildCollisionSolution T fβ‚€ g) (hT : 0 < T) :
βˆ€α΅ p : Phase, βˆ€ t ∈ Icc 0 T, 0 ≀ entropyPath fβ‚€ (characteristicSource g) t p := by
let ΞΌ : Measure ℝ := volume.restrict (Icc 0 T)
have hp : βˆ€α΅ z βˆ‚ΞΌ.prod (volume : Measure Phase),
0 ≀ fβ‚€ z.2+Published.timePrimitive ΞΌ (characteristicSource g) z := by
filter_upwards [S.characteristic] with z hz
change TorusFlight.along (TorusFlight.regroup g) z =
fβ‚€ z.2+Published.timePrimitive ΞΌ (characteristicSource g) z at hz
rw [← hz]
exact S.nonnegative _
have hp' := (Measure.measurePreserving_swap (ΞΌ := (volume : Measure Phase)) (Ξ½ := ΞΌ)).quasiMeasurePreserving.ae hp
filter_upwards [Measure.ae_ae_of_ae_prod hp',S.characteristicSource_integrable.prod_left_ae] with p hpos hri
have hi : IntervalIntegrable (fun t => characteristicSource g (t,p)) volume 0 T :=
(intervalIntegrable_iff_integrableOn_Icc_of_le hT.le).mpr hri
have hc : ContinuousOn (fun t => entropyPath fβ‚€ (characteristicSource g) t p) (Icc 0 T) := by
have h := intervalIntegral.continuousOn_primitive_interval' hi
(left_mem_uIcc : (0:ℝ) ∈ uIcc 0 T)
rw [uIcc_of_le hT.le] at h
exact continuousOn_const.add h
apply continuous_path_nonnegative_of_ae hT hc
filter_upwards [hpos,ae_restrict_mem measurableSet_Icc] with t ht hmem
change 0 ≀ fβ‚€ p+Published.timePrimitive (volume.restrict (Icc 0 T)) (characteristicSource g) (t,p) at ht
rwa [Published.timePrimitive_eq_interval hmem] at ht
theorem renormalized_integral_paths (S : MildCollisionSolution T fβ‚€ g) (hT : 0 < T)
(Ξ² : Renormalization) :
βˆ€α΅ p : Phase,
(∫ t in (0:ℝ)..T, derivWithin Ξ².toFun (Ici 0)
(entropyPath fβ‚€ (characteristicSource g) t p/maxwellian p.2)*characteristicSource g (t,p)) =
maxwellian p.2*Ξ².toFun (entropyPath fβ‚€ (characteristicSource g) T p/maxwellian p.2)-
maxwellian p.2*Ξ².toFun (fβ‚€ p/maxwellian p.2) := by
filter_upwards [S.nonnegative_integral_paths hT,S.characteristicSource_integrable.prod_left_ae] with p hn hri
have hi : IntervalIntegrable (fun t => characteristicSource g (t,p)) volume 0 T :=
(intervalIntegrable_iff_integrableOn_Icc_of_le hT.le).mpr hri
have hp := hi.absolutelyContinuousOnInterval_intervalIntegral
(left_mem_uIcc : (0:ℝ) ∈ uIcc 0 T)
have hconst : AbsolutelyContinuousOnInterval (fun _ : ℝ => fβ‚€ p) 0 T := by
simpa only [AbsolutelyContinuousOnInterval,dist_self,Finset.sum_const_zero] using
(tendsto_const_nhds : Filter.Tendsto (fun _ : β„• Γ— (β„• β†’ ℝ Γ— ℝ) => (0:ℝ)) _ _)
have hpath : AbsolutelyContinuousOnInterval (fun t => entropyPath fβ‚€ (characteristicSource g) t p) 0 T :=
hconst.add hp
have hd : βˆ€α΅ t, t ∈ Icc 0 T β†’
HasDerivAt (fun t => entropyPath fβ‚€ (characteristicSource g) t p) (characteristicSource g (t,p)) t := by
filter_upwards [hi.ae_hasDerivAt_integral] with t ht hmem
exact (ht (by simpa only [uIcc_of_le hT.le] using hmem) 0 left_mem_uIcc).const_add (fβ‚€ p)
simpa only [entropyPath,intervalIntegral.integral_same,add_zero] using
Ξ².weighted_chain_rule hT.le (maxwellian_pos p.2) hpath hn hd
end MildCollisionSolution
end BoltzmannNonuniqueness
end
end
section
/-! # The actual mild solution satisfies the tested renormalized path identity -/
noncomputable section
open MeasureTheory Set
namespace BoltzmannNonuniqueness.MildCollisionSolution
variable {T : ℝ} {fβ‚€ : Density} {g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ}
theorem renormalized_tested_paths (S : MildCollisionSolution T fβ‚€ g) (hT : 0 < T)
(Ξ² : Renormalization) (Ο† : KineticTest) :
βˆ€α΅ p : Phase,
(∫ t in (0:ℝ)..T,
derivWithin Ξ².toFun (Ici 0) (entropyPath fβ‚€ (characteristicSource g) t p/maxwellian p.2)*
characteristicSource g (t,p)*Ο†.toFun t (TorusFlight.flight t p).1 p.2+
maxwellian p.2*Ξ².toFun (entropyPath fβ‚€ (characteristicSource g) t p/maxwellian p.2)*
Ο†.transportDerivative t (TorusFlight.flight t p)) =
maxwellian p.2*Ξ².toFun (entropyPath fβ‚€ (characteristicSource g) T p/maxwellian p.2)*
Ο†.toFun T (TorusFlight.flight T p).1 p.2-
maxwellian p.2*Ξ².toFun (fβ‚€ p/maxwellian p.2)*Ο†.toFun 0 p.1 p.2 := by
filter_upwards [S.nonnegative_integral_paths hT,S.characteristicSource_integrable.prod_left_ae]
with p hn hri
have hi : IntervalIntegrable (fun t => characteristicSource g (t,p)) volume 0 T :=
(intervalIntegrable_iff_integrableOn_Icc_of_le hT.le).mpr hri
have hp := hi.absolutelyContinuousOnInterval_intervalIntegral
(left_mem_uIcc : (0:ℝ) ∈ uIcc 0 T)
have hconst : AbsolutelyContinuousOnInterval (fun _ : ℝ => fβ‚€ p) 0 T := by
simpa only [AbsolutelyContinuousOnInterval,dist_self,Finset.sum_const_zero] using
(tendsto_const_nhds : Filter.Tendsto (fun _ : β„• Γ— (β„• β†’ ℝ Γ— ℝ) => (0:ℝ)) _ _)
have hpath : AbsolutelyContinuousOnInterval (fun t => entropyPath fβ‚€ (characteristicSource g) t p) 0 T :=
hconst.add hp
have hd : βˆ€α΅ t, t ∈ Icc 0 T β†’
HasDerivAt (fun t => entropyPath fβ‚€ (characteristicSource g) t p) (characteristicSource g (t,p)) t := by
filter_upwards [hi.ae_hasDerivAt_integral] with t ht hmem
exact (ht (by simpa only [uIcc_of_le hT.le] using hmem) 0 left_mem_uIcc).const_add (fβ‚€ p)
have hφ : AbsolutelyContinuousOnInterval
(fun t => Ο†.toFun t (TorusFlight.flight t p).1 p.2) 0 T :=
((Ο†.contDiff_along p).of_le (by simp)).contDiffOn.absolutelyContinuousOnInterval
have hΟ†' : βˆ€α΅ t, t ∈ Icc 0 T β†’ HasDerivAt
(fun t => Ο†.toFun t (TorusFlight.flight t p).1 p.2)
(Ο†.transportDerivative t (TorusFlight.flight t p)) t :=
ae_of_all _ (fun t _ => Ο†.hasDerivAt_along p t)
simpa only [entropyPath,intervalIntegral.integral_same,add_zero,TorusFlight.flight_zero] using
β.weighted_tested_chain_rule hT.le (maxwellian_pos p.2) hpath hn hd hφ hφ'
end BoltzmannNonuniqueness.MildCollisionSolution
end
end
section
/-! # The unrenormalized local mass test identity on each mild characteristic -/
noncomputable section
open MeasureTheory Set
namespace BoltzmannNonuniqueness
theorem tested_absolutelyContinuous_path {T : ℝ} {F r ψ ψ' : ℝ β†’ ℝ}
(hT : 0 ≀ T) (hF : AbsolutelyContinuousOnInterval F 0 T)
(hr : βˆ€α΅ t, t ∈ Icc 0 T β†’ HasDerivAt F (r t) t)
(hψ : AbsolutelyContinuousOnInterval ψ 0 T)
(hψ' : βˆ€α΅ t, t ∈ Icc 0 T β†’ HasDerivAt ψ (ψ' t) t) :
(∫ t in (0:ℝ)..T, r t*ψ t+F t*ψ' t) = F T*ψ T-F 0*ψ 0 := by
calc
_ = ∫ t in (0:ℝ)..T, deriv F t*ψ t+F t*deriv ψ t := by
apply intervalIntegral.integral_congr_ae
filter_upwards [hr,hψ'] with t ht hpt hmem
have htcc : t ∈ Icc 0 T := by
exact Ioc_subset_Icc_self (by simpa only [uIoc_of_le hT] using hmem)
rw [(ht htcc).deriv,(hpt htcc).deriv]
_ = _ := hF.integral_deriv_mul_eq_sub hψ
namespace MildCollisionSolution
variable {T : ℝ} {fβ‚€ : Density} {g : (ℝ Γ— Position) Γ— Velocity β†’ ℝ}
theorem mass_tested_paths (S : MildCollisionSolution T fβ‚€ g) (hT : 0 < T) (Ο† : MassTest) :
βˆ€α΅ p : Phase,
(∫ t in (0:ℝ)..T, characteristicSource g (t,p)*Ο†.toFun t (TorusFlight.flight t p).1+
entropyPath fβ‚€ (characteristicSource g) t p*Ο†.transportDerivative t (TorusFlight.flight t p)) =
entropyPath fβ‚€ (characteristicSource g) T p*Ο†.toFun T (TorusFlight.flight T p).1-
fβ‚€ p*Ο†.toFun 0 p.1 := by
filter_upwards [S.characteristicSource_integrable.prod_left_ae] with p hri
have hi : IntervalIntegrable (fun t => characteristicSource g (t,p)) volume 0 T :=
(intervalIntegrable_iff_integrableOn_Icc_of_le hT.le).mpr hri
have hp := hi.absolutelyContinuousOnInterval_intervalIntegral
(left_mem_uIcc : (0:ℝ) ∈ uIcc 0 T)
have hconst : AbsolutelyContinuousOnInterval (fun _ : ℝ => fβ‚€ p) 0 T := by
simpa only [AbsolutelyContinuousOnInterval,dist_self,Finset.sum_const_zero] using
(tendsto_const_nhds : Filter.Tendsto (fun _ : β„• Γ— (β„• β†’ ℝ Γ— ℝ) => (0:ℝ)) _ _)
have hpath : AbsolutelyContinuousOnInterval (fun t => entropyPath fβ‚€ (characteristicSource g) t p) 0 T :=
hconst.add hp
have hd : βˆ€α΅ t, t ∈ Icc 0 T β†’
HasDerivAt (fun t => entropyPath fβ‚€ (characteristicSource g) t p) (characteristicSource g (t,p)) t := by
filter_upwards [hi.ae_hasDerivAt_integral] with t ht hmem
exact (ht (by simpa only [uIcc_of_le hT.le] using hmem) 0 left_mem_uIcc).const_add (fβ‚€ p)
have hφ : AbsolutelyContinuousOnInterval (fun t => φ.toFun t (TorusFlight.flight t p).1) 0 T :=
((Ο†.contDiff_along p).of_le (by simp)).contDiffOn.absolutelyContinuousOnInterval
have hΟ†' : βˆ€α΅ t, t ∈ Icc 0 T β†’ HasDerivAt (fun t => Ο†.toFun t (TorusFlight.flight t p).1)
(Ο†.transportDerivative t (TorusFlight.flight t p)) t :=
ae_of_all _ (fun t _ => Ο†.hasDerivAt_along p t)
simpa only [entropyPath,intervalIntegral.integral_same,add_zero,TorusFlight.flight_zero] using
tested_absolutelyContinuous_path hT.le hpath hd hφ hφ'
end MildCollisionSolution
end BoltzmannNonuniqueness
end
end
end OAI