Get the to field from a transaction.
(transaction->to x) → to
This is an ordinary field accessor created by fty::defprod.
Function:
(defun transaction->to$inline (x) (declare (xargs :guard (transactionp x))) (declare (xargs :guard t)) (let ((__function__ 'transaction->to)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (maybe-byte-list20-fix (std::da-nth 3 (cdr x)))) :exec (std::da-nth 3 (cdr x)))))
Theorem:
(defthm maybe-byte-list20p-of-transaction->to (b* ((to (transaction->to$inline x))) (maybe-byte-list20p to)) :rule-classes :rewrite)
Theorem:
(defthm transaction->to$inline-of-transaction-fix-x (equal (transaction->to$inline (transaction-fix x)) (transaction->to$inline x)))
Theorem:
(defthm transaction->to$inline-transaction-equiv-congruence-on-x (implies (transaction-equiv x x-equiv) (equal (transaction->to$inline x) (transaction->to$inline x-equiv))) :rule-classes :congruence)