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