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