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