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