Recognizer for op-imm-32-funct structures.
(op-imm-32-funct-p x) → *
Function:
(defun op-imm-32-funct-p (x) (declare (xargs :guard t)) (let ((__function__ 'op-imm-32-funct-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :addiw) (and (true-listp (cdr x)) (eql (len (cdr x)) 0)) (b* nil t))))
Theorem:
(defthm consp-when-op-imm-32-funct-p (implies (op-imm-32-funct-p x) (consp x)) :rule-classes :compound-recognizer)