https://github.com/math-comp/analysis/blob/8acde98f5b50a58a07e531a97ef8a812f73e4c6f/theories/lebesgue_measure.v#L1843