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