Documentation

CsdLean4.Mathlib.MeasureTheory.MapProbability

Pushforward compat shims: probability of a map, and map of a smul #

Category: 1-Mathlib (CSD-free). Forward-compat shims.

Mathlib master (2026-08-29) reworked Measure.map's junk value for non-measurable maps, with two knock-on breaks against the pin (both caught by the Compat canary):

All corpus call sites route through these spellings. When the pin advances past the master change, the shims collapse to inferInstance / master's Measure.map_smul and this file can be deleted — noted in specs/validation-hardening-plan.md's canary log.

theorem MeasureTheory.Measure.isProbabilityMeasure_map' {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] {μ : Measure α} [IsProbabilityMeasure μ] {f : αβ} (hf : AEMeasurable f μ) :

The pushforward of a probability measure along an a.e.-measurable map is a probability measure. Compat spelling of the fact that Mathlib master provides as an instance and the pinned Mathlib as Measure.isProbabilityMeasure_map.

theorem MeasureTheory.Measure.map_smul' {α : Type u_1} {β : Type u_2} [MeasurableSpace α] [MeasurableSpace β] (c : ENNReal) (μ : Measure α) {f : αβ} (hf : Measurable f) :
map f (c μ) = c map f μ

Pushforward of a scaled measure along a measurable map, compat spelling: the pinned Mathlib's Measure.map_smul is unconditional, master's takes a measurability hypothesis — this form compiles against both.