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