math / data /lean /OAI /MathematicalPhysics /Boltzmann /Approximation /CutoffEntropyMeasure.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
4.18 kB
import OAI.MathematicalPhysics.Boltzmann.Approximation.PositiveComparisonBound
namespace OAI
/-! # The extended nonnegative cutoff dissipation agrees with positive production -/
noncomputable section
open MeasureTheory
open scoped ENNReal
namespace BoltzmannNonuniqueness.CollisionCompactness
variable {X : Type*} [MeasurableSpace X]
def cutoffExtendedProduction (b : ℝ) (f : X Γ— Velocity β†’ ℝ)
(z : (X Γ— (Velocity Γ— Velocity)) Γ— Sphere) : ℝβ‰₯0∞ :=
if β€–z.1.2.1-z.1.2.2β€– < b then
ENNReal.ofReal (collisionKernel z.1.2.1 z.1.2.2 z.2)*
extendedEntropyProduction
(f (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2)*f (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2))
(f (z.1.1,z.1.2.1)*f (z.1.1,z.1.2.2))
else 0
omit [MeasurableSpace X] in
theorem positiveCutoffProduction_formula (b : ℝ) (f : X Γ— Velocity β†’ ℝ)
(hf : βˆ€ z, 0 < f z) (z : (X Γ— (Velocity Γ— Velocity)) Γ— Sphere) :
positiveCutoffProduction b f z =
if β€–z.1.2.1-z.1.2.2β€– < b then
(1/4:ℝ)*collisionKernel z.1.2.1 z.1.2.2 z.2*
((f (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2)*f (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2)-
f (z.1.1,z.1.2.1)*f (z.1.1,z.1.2.2))*
Real.log ((f (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2)*f (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2))/
(f (z.1.1,z.1.2.1)*f (z.1.1,z.1.2.2))))
else 0 := by
unfold positiveCutoffProduction
rw [collisionJump_log_relative f hf,collisionJump_log_density f hf]
simp only [truncatedPreRate,truncatedPostRate,Set.indicator_apply,Set.mem_ofPred_eq]
by_cases hc : β€–z.1.2.1-z.1.2.2β€– < b
Β· simp only [hc,↓reduceIte,postRate_formula,preRate]
ring
Β· simp only [hc,↓reduceIte,sub_self,mul_zero]
omit [MeasurableSpace X] in
theorem ofReal_positiveCutoffProduction (b : ℝ) (f : X Γ— Velocity β†’ ℝ)
(hf : βˆ€ z, 0 < f z) (z : (X Γ— (Velocity Γ— Velocity)) Γ— Sphere) :
ENNReal.ofReal (positiveCutoffProduction b f z) = (4:ℝβ‰₯0∞)⁻¹*cutoffExtendedProduction b f z := by
rw [positiveCutoffProduction_formula b f hf]
have hA := mul_pos (hf (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2))
(hf (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2))
have hB := mul_pos (hf (z.1.1,z.1.2.1)) (hf (z.1.1,z.1.2.2))
by_cases hc : β€–z.1.2.1-z.1.2.2β€– < b
Β· simp only [cutoffExtendedProduction,hc,↓reduceIte]
have he : extendedEntropyProduction
(f (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2)*f (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2))
(f (z.1.1,z.1.2.1)*f (z.1.1,z.1.2.2)) =
ENNReal.ofReal ((f (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2)*f (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2)-
f (z.1.1,z.1.2.1)*f (z.1.1,z.1.2.2))*
Real.log ((f (z.1.1,scatterLeft z.1.2.1 z.1.2.2 z.2)*f (z.1.1,scatterRight z.1.2.1 z.1.2.2 z.2))/
(f (z.1.1,z.1.2.1)*f (z.1.1,z.1.2.2)))) := by
simp [extendedEntropyProduction,hA,hB,hA.ne',hB.ne']
rw [he]
rw [ENNReal.ofReal_mul (mul_nonneg (by norm_num) (collisionKernel_nonneg _ _ _)),
ENNReal.ofReal_mul (by norm_num : (0:ℝ) ≀ 1/4)]
rw [ENNReal.ofReal_div_of_pos (by norm_num : (0:ℝ) < 4)]
norm_num [mul_assoc]
Β· simp [hc,cutoffExtendedProduction]
def cutoffExtendedDissipation (ΞΌ : Measure X) (b : ℝ) (f : X Γ— Velocity β†’ ℝ) : ℝβ‰₯0∞ :=
(4:ℝβ‰₯0∞)⁻¹*∫⁻ z, cutoffExtendedProduction b f z
βˆ‚(ΞΌ.prod (volume : Measure (Velocity Γ— Velocity))).prod sphereArea
theorem ofReal_integral_positiveCutoffProduction {ΞΌ : Measure X} (b : ℝ)
(f : X Γ— Velocity β†’ ℝ) (hf : βˆ€ z, 0 < f z)
(hi : Integrable (positiveCutoffProduction b f)
((ΞΌ.prod (volume : Measure (Velocity Γ— Velocity))).prod sphereArea)) :
ENNReal.ofReal (∫ z, positiveCutoffProduction b f z
βˆ‚(ΞΌ.prod (volume : Measure (Velocity Γ— Velocity))).prod sphereArea) =
cutoffExtendedDissipation ΞΌ b f := by
rw [ofReal_integral_eq_lintegral_ofReal hi
(Filter.Eventually.of_forall (positiveCutoffProduction_nonneg b f hf))]
simp_rw [ofReal_positiveCutoffProduction b f hf]
exact lintegral_const_mul' _ _ (by norm_num)
end BoltzmannNonuniqueness.CollisionCompactness
end
end OAI