Remainder of an N-bit unsigned by a natural creates an N-bit unsigned.
Theorem: basic-unsigned-byte-p-of-rem
(defthm basic-unsigned-byte-p-of-rem (implies (and (unsigned-byte-p n a) (natp b)) (unsigned-byte-p n (rem a b))))