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