NLA-lib Explorer

NLAlib.entropy_nonneg

Library · theorem

The entropy of a nonnegative function under a probability measure is nonnegative.

NLAlib.entropy_nonneg.{u_1} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {ν : Measure Ω}
  [IsProbabilityMeasure ν] {f : Ω → ℝ} (hf0 : 0 ≤ᵐ[ν] f) (hf : Integrable f ν)
  (hflog : Integrable (fun ω ↦ f ω * Real.log (f ω)) ν) : 0 ≤ entropy ν f

Full source on GitHub

Import NLAlib.Probability.Entropy.