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