fact: Definition mflip (xt : R) := fun b => if b then clamp xt else 1 - clamp xt.
imports: mathcomp(all_ssreflect all_algebra) mathcomp.classical(boolp classical_sets mathcomp_extra) xfinmap ereal reals discrete topology realseq realsum