proposition: Lemma maxminset P A : maxset P A = minset [pred B | P (~: B)] (~: A).
proof: Proof. by rewrite /maxset unlock. Qed.
imports: HB(structures) mathcomp(ssreflect ssrbool ssrfun eqtype ssrnat div seq) mathcomp(choice fintype finfun bigop)