Get the type field from a jparam.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun jparam->type$inline (x) (declare (xargs :guard (jparamp x))) (declare (xargs :guard t)) (let ((__function__ 'jparam->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-jparam->type (b* ((type (jparam->type$inline x))) (jtypep type)) :rule-classes :rewrite)
Theorem:
(defthm jparam->type$inline-of-jparam-fix-x (equal (jparam->type$inline (jparam-fix x)) (jparam->type$inline x)))
Theorem:
(defthm jparam->type$inline-jparam-equiv-congruence-on-x (implies (jparam-equiv x x-equiv) (equal (jparam->type$inline x) (jparam->type$inline x-equiv))) :rule-classes :congruence)