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