fact: Definition crestr0 d (T : semiRingOfSetsType d) (R : numFieldType) (D : set T) (f : set T -> \bar R) (mD : measurable D) := fun X => if X \in measurable then crestr f mD X else 0.
imports: mathcomp(all_ssreflect ssralg ssrnum ssrint interval) mathcomp(finmap fingroup perm rat) mathcomp(mathcomp_extra boolp classical_sets cardinality) mathcomp(functions fsbigop set_interval) HB(structures) reals ereal signed topology numfun normedtype sequences esum measure realfun lebesgue_measure lebesgue_integral