Get the get field from a jstatem-locvar.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun jstatem-locvar->get$inline (x) (declare (xargs :guard (jstatemp x))) (declare (xargs :guard (equal (jstatem-kind x) :locvar))) (let ((__function__ 'jstatem-locvar->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (jstatem-kind x) :locvar) x))) (jlocvar-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm jlocvarp-of-jstatem-locvar->get (b* ((get (jstatem-locvar->get$inline x))) (jlocvarp get)) :rule-classes :rewrite)
Theorem:
(defthm jstatem-locvar->get$inline-of-jstatem-fix-x (equal (jstatem-locvar->get$inline (jstatem-fix x)) (jstatem-locvar->get$inline x)))
Theorem:
(defthm jstatem-locvar->get$inline-jstatem-equiv-congruence-on-x (implies (jstatem-equiv x x-equiv) (equal (jstatem-locvar->get$inline x) (jstatem-locvar->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm jstatem-locvar->get-when-wrong-kind (implies (not (equal (jstatem-kind x) :locvar)) (equal (jstatem-locvar->get x) (jlocvar-fix nil))))