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