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