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