Download data/lean/OAI/MathematicalPhysics/Boltzmann/Approximation/CutoffEntropyMeasure.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.18 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/Boltzmann/Approximation/CutoffEntropyMeasure.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/Boltzmann/Approximation/CutoffEntropyMeasure.lean
-
curl -L -o CutoffEntropyMeasure.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/Boltzmann/Approximation/CutoffEntropyMeasure.lean
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 | |