proposition: Lemma integral_nnsfun D (mD : measurable D) (h : {nnsfun T >-> R}) : \int_(x in D) (h x)%:E = sintegral mu (h \_ D).
proof: Proof. rewrite mrestrict -nnintegral_nnsfun// -mrestrict ge0_integralE ?comp_patch//. by move=> x Dx /=; rewrite lee_fin; exact: fun_ge0. Qed.
imports: HB(structures) mathcomp(all_ssreflect ssralg ssrnum ssrint interval finmap) mathcomp(mathcomp_extra boolp classical_sets functions) mathcomp(cardinality fsbigop ) signed reals ereal topology normedtype sequences real_interval esum measure lebesgue_measure numfun