Recognizer for uchar-format structures.
(uchar-formatp x) → *
Function:
(defun uchar-formatp (x) (declare (xargs :guard t)) (let ((__function__ 'uchar-formatp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(bits))) :exec (fty::alist-with-carsp x '(bits))) (b* ((bits (cdr (std::da-nth 0 x)))) (and (natp bits) (>= bits 8))))))
Theorem:
(defthm consp-when-uchar-formatp (implies (uchar-formatp x) (consp x)) :rule-classes :compound-recognizer)