proposition: Lemma funepos_restrict f : (f \_ D)^\+ = (f^\+) \_ D.
proof: Proof. by apply/funext => x; rewrite /patch/_^\+; case: ifP; rewrite //= maxxx. Qed.
imports: HB(structures) mathcomp(all_ssreflect ssralg ssrnum ssrint interval finmap) mathcomp(mathcomp_extra boolp classical_sets fsbigop) mathcomp(functions cardinality set_interval) signed reals ereal topology normedtype sequences