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