Get the snip-addr field from a run-snippet-info.
(run-snippet-info->snip-addr x) → snip-addr
This is an ordinary field accessor created by defprod.
Function:
(defun run-snippet-info->snip-addr$inline (x) (declare (xargs :guard (run-snippet-info-p x))) (declare (xargs :guard t)) (let ((__function__ 'run-snippet-info->snip-addr)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (canonical-address-fix (cdr (std::da-nth 2 x)))) :exec (cdr (std::da-nth 2 x)))))
Theorem:
(defthm canonical-address-p-of-run-snippet-info->snip-addr (b* ((snip-addr (run-snippet-info->snip-addr$inline x))) (canonical-address-p snip-addr)) :rule-classes :rewrite)
Theorem:
(defthm run-snippet-info->snip-addr$inline-of-run-snippet-info-fix-x (equal (run-snippet-info->snip-addr$inline (run-snippet-info-fix x)) (run-snippet-info->snip-addr$inline x)))
Theorem:
(defthm run-snippet-info->snip-addr$inline-run-snippet-info-equiv-congruence-on-x (implies (run-snippet-info-equiv x x-equiv) (equal (run-snippet-info->snip-addr$inline x) (run-snippet-info->snip-addr$inline x-equiv))) :rule-classes :congruence)