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