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