proposition: Corollary toNat_invB n (p: BITS n) : toNat (invB p) = (2^n).-1 - toNat p.
proof: Proof. apply toNat_negB_or_invB. Qed.
imports: HB(structures) mathcomp.ssreflect.ssreflect mathcomp(ssrfun ssrbool eqtype ssrnat seq fintype tuple zmodp div) ssrextra.tuple ssrextra.nat spec spec.properties operations mathcomp(ssralg)