Recognizer for feat-bits structures.
(feat-bitsp x) → *
Function:
(defun feat-bitsp (x) (declare (xargs :guard t)) (let ((__function__ 'feat-bitsp)) (declare (ignorable __function__)) (and (consp x) (cond ((or (atom x) (eq (car x) :|32|)) (and (true-listp (cdr x)) (eql (len (cdr x)) 0) (b* nil t))) (t (and (eq (car x) :|64|) (and (true-listp (cdr x)) (eql (len (cdr x)) 0)) (b* nil t)))))))
Theorem:
(defthm consp-when-feat-bitsp (implies (feat-bitsp x) (consp x)) :rule-classes :compound-recognizer)