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