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