The real-valued product measure of a singleton factors
ProvedMeasureTheory.prod_real_apply_singletonThe real-valued version of the product-measure singleton identity.
For -finite and ,
where is the real-valued measure.
This is the -valued companion of the ENNReal statement. The two are not
interchangeable in practice: probability and information-theoretic arguments are carried out in
, where subtraction and logarithms are available, and passing from ENNReal to
ℝ requires knowing the values are finite. Having the identity directly in real form avoids
that bookkeeping at every use.
It is the identity behind the factorisation for independent discrete random variables, and hence behind the additivity of Shannon entropy over independent pairs.
Formalization note. Measure.real is Mathlib's real-valued measure; since
ENNReal.toReal is multiplicative on finite values and sends to , the identity
requires a small case analysis rather than being a direct consequence of the ENNReal version.
import Mathlib
namespace MeasureTheory
open MeasureTheory Measure in
theorem prod_real_apply_singleton {α β : Type*} {_ : MeasurableSpace α} {_ : MeasurableSpace β}
(μ : Measure α) (ν : Measure β) [SigmaFinite ν] (x : α × β) :
(μ.prod ν).real {x} = μ.real {x.1} * ν.real {x.2} := by sorry
end MeasureTheory