(pack-u32 val) → bytes
Function:
(defun pack-u32 (val) (declare (xargs :guard (n32p val))) (let ((__function__ 'pack-u32)) (declare (ignorable __function__)) (pack-u val 4)))
Theorem:
(defthm byte-listp-of-pack-u32 (b* ((bytes (pack-u32 val))) (byte-listp bytes)) :rule-classes :rewrite)
Theorem:
(defthm len-of-pack-u32-is-4 (equal (len (pack-u32 x)) 4))