chore(set_theory/cardinal): use protected instead of private (#9869) Also use mk_congr.
protected
private
mk_congr