Get the get field from a jcbody-element-member.
(jcbody-element-member->get x) → get
This is an ordinary field accessor created by fty::defprod.
Function:
(defun jcbody-element-member->get$inline (x) (declare (xargs :guard (jcbody-element-p x))) (declare (xargs :guard (equal (jcbody-element-kind x) :member))) (let ((__function__ 'jcbody-element-member->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (jcbody-element-kind x) :member) x))) (jcmember-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm jcmemberp-of-jcbody-element-member->get (b* ((get (jcbody-element-member->get$inline x))) (jcmemberp get)) :rule-classes :rewrite)
Theorem:
(defthm jcbody-element-member->get$inline-of-jcbody-element-fix-x (equal (jcbody-element-member->get$inline (jcbody-element-fix x)) (jcbody-element-member->get$inline x)))
Theorem:
(defthm jcbody-element-member->get$inline-jcbody-element-equiv-congruence-on-x (implies (jcbody-element-equiv x x-equiv) (equal (jcbody-element-member->get$inline x) (jcbody-element-member->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm jcbody-element-member->get-when-wrong-kind (implies (not (equal (jcbody-element-kind x) :member)) (equal (jcbody-element-member->get x) (jcmember-fix nil))))