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