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