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