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