AFTD Auto-Formalizing Theoretical Domains

uniform_Ico_measure

def

The uniform probability measure on the half-open interval [a, b), defined as normalized Lebesgue measure restricted to [a, b).

Statement

noncomputable def uniform_Ico_measure (a b : ℝ) : MeasureTheory.Measure ℝ
Defined in
Mathlib.MeasureTheory.Measure.MeasureSpaceDef
Verified
03 Nov 2026
Axioms
none listed

Read back from the Lean

The measure on ℝ defined for real numbers a and b as the scalar product of (ENNReal.ofReal (b - a))⁻¹ and the Lebesgue measure (volume) restricted to the half-open interval [a, b). When a < b, this is the continuous uniform probability measure on [a, b).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Uniform probability measure on the interval [a, b). -/
noncomputable def uniform_Ico_measure (a b : ℝ) : MeasureTheory.Measure ℝ :=
  (ENNReal.ofReal (b - a))⁻¹ • MeasureTheory.volume.restrict (Set.Ico a b)
See it in the graphDiscuss this resultChallenge it