Differential Entropy nonneg of prob le one
CanonicalEnsemble.differentialEntropy_nonneg_of_prob_le_one
Plain-language statement
General entropy non-negativity under a pointwise upper bound probability โค 1. This assumption holds automatically in the finite/counting case (since sums bound each term), but can fail in general (continuous) settings; hence we separate it as a hypothesis. Finite case: see CanonicalEnsemble.entropy_nonneg in Finite.
Exact Lean statement
lemma differentialEntropy_nonneg_of_prob_le_one
(T : Temperature) [IsFiniteMeasure (๐.ฮผBolt T)] [NeZero ๐.ฮผ]
(hInt : Integrable (fun i => Real.log (๐.probability T i)) (๐.ฮผProd T))
(hP_le_one : โ i, ๐.probability T i โค 1) :
0 โค ๐.differentialEntropy TFormal artifact
Lean source
lemma differentialEntropy_nonneg_of_prob_le_one (T : Temperature) [IsFiniteMeasure (๐.ฮผBolt T)] [NeZero ๐.ฮผ] (hInt : Integrable (fun i => Real.log (๐.probability T i)) (๐.ฮผProd T)) (hP_le_one : โ i, ๐.probability T i โค 1) : 0 โค ๐.differentialEntropy T := by rw [differentialEntropy] refine mul_nonneg_of_nonpos_of_nonpos (neg_nonpos.mpr kB_nonneg) ?_ simpa using integral_mono_ae hInt (integrable_const 0) (Filter.Eventually.of_forall fun i => Real.log_nonpos (๐.probability_nonneg T i) (hP_le_one i))- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/StatisticalMechanics/CanonicalEnsemble/Basic.lean:587-595
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Adiabatic relation log
adiabatic_relation_log
Plain-language statement
Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.
Source project: Physlib
Person-level attribution pending.
Adiabatic relation Ua Ub Va Vb
adiabatic_relation_UaUbVaVb
Plain-language statement
Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(โU/โฮฒ) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.