proposition: Lemma max_nnfun_subproof : @isNonNegFun T R (f \max g).
proof: Proof. by split => x /=; rewrite /maxr; case: ifPn => _; apply: 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