Group bits into unsigned 11-bit bytes, little-endian.
(bits=>leubyte11s digits) → new-digits
Function:
(defun bits=>leubyte11s (digits) (declare (xargs :guard (bit-listp digits))) (declare (xargs :guard (integerp (/ (len digits) 11)))) (let ((__function__ 'bits=>leubyte11s)) (declare (ignorable __function__)) (group-lendian 2 11 digits)))
Theorem:
(defthm ubyte11-listp-of-bits=>leubyte11s (b* ((new-digits (bits=>leubyte11s digits))) (ubyte11-listp new-digits)) :rule-classes :rewrite)
Theorem:
(defthm bits=>leubyte11s-of-bit-list-fix-digits (equal (bits=>leubyte11s (bit-list-fix digits)) (bits=>leubyte11s digits)))
Theorem:
(defthm bits=>leubyte11s-bit-list-equiv-congruence-on-digits (implies (bit-list-equiv digits digits-equiv) (equal (bits=>leubyte11s digits) (bits=>leubyte11s digits-equiv))) :rule-classes :congruence)