Get the get field from a cinteger-ulong.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun cinteger-ulong->get$inline (acl2::x) (declare (xargs :guard (cintegerp acl2::x))) (declare (xargs :guard (equal (cinteger-kind acl2::x) :ulong))) (let ((__function__ 'cinteger-ulong->get)) (declare (ignorable __function__)) (mbe :logic (b* ((acl2::x (and (equal (cinteger-kind acl2::x) :ulong) acl2::x))) (ulong-fix acl2::x)) :exec acl2::x)))
Theorem:
(defthm ulongp-of-cinteger-ulong->get (b* ((get (cinteger-ulong->get$inline acl2::x))) (ulongp get)) :rule-classes :rewrite)
Theorem:
(defthm cinteger-ulong->get$inline-of-cinteger-fix-x (equal (cinteger-ulong->get$inline (cinteger-fix acl2::x)) (cinteger-ulong->get$inline acl2::x)))
Theorem:
(defthm cinteger-ulong->get$inline-cinteger-equiv-congruence-on-x (implies (cinteger-equiv acl2::x x-equiv) (equal (cinteger-ulong->get$inline acl2::x) (cinteger-ulong->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm cinteger-ulong->get-when-wrong-kind (implies (not (equal (cinteger-kind acl2::x) :ulong)) (equal (cinteger-ulong->get acl2::x) (ulong-fix nil))))