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