Get the feat field from a opcode.
(opcode->feat x) → feat
This is an ordinary field accessor created by defprod.
Function:
(defun opcode->feat$inline (x) (declare (xargs :guard (opcode-p x))) (declare (xargs :guard t)) (let ((__function__ 'opcode->feat)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::symbol-list-fix (std::prod-car (std::prod-cdr (std::prod-cdr x))))) :exec (std::prod-car (std::prod-cdr (std::prod-cdr x))))))
Theorem:
(defthm symbol-listp-of-opcode->feat (b* ((feat (opcode->feat$inline x))) (symbol-listp feat)) :rule-classes :rewrite)
Theorem:
(defthm opcode->feat$inline-of-opcode-fix-x (equal (opcode->feat$inline (opcode-fix x)) (opcode->feat$inline x)))
Theorem:
(defthm opcode->feat$inline-opcode-equiv-congruence-on-x (implies (opcode-equiv x x-equiv) (equal (opcode->feat$inline x) (opcode->feat$inline x-equiv))) :rule-classes :congruence)