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