Get the get field from a operand-register.
(operand-register->get x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun operand-register->get$inline (x) (declare (xargs :guard (operandp x))) (declare (xargs :guard (equal (operand-kind x) :register))) (let ((__function__ 'operand-register->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (operand-kind x) :register) x))) (regaccess-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm regaccessp-of-operand-register->get (b* ((get (operand-register->get$inline x))) (regaccessp get)) :rule-classes :rewrite)
Theorem:
(defthm operand-register->get$inline-of-operand-fix-x (equal (operand-register->get$inline (operand-fix x)) (operand-register->get$inline x)))
Theorem:
(defthm operand-register->get$inline-operand-equiv-congruence-on-x (implies (operand-equiv x x-equiv) (equal (operand-register->get$inline x) (operand-register->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm operand-register->get-when-wrong-kind (implies (not (equal (operand-kind x) :register)) (equal (operand-register->get x) (regaccess-fix nil))))