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