Get the get field from a escape-u.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun escape-u->get$inline (x) (declare (xargs :guard (escapep x))) (declare (xargs :guard (equal (escape-kind x) :u))) (let ((__function__ 'escape-u->get)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (escape-kind x) :u) x))) (hex-quad-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm hex-quadp-of-escape-u->get (b* ((get (escape-u->get$inline x))) (hex-quadp get)) :rule-classes :rewrite)
Theorem:
(defthm escape-u->get$inline-of-escape-fix-x (equal (escape-u->get$inline (escape-fix x)) (escape-u->get$inline x)))
Theorem:
(defthm escape-u->get$inline-escape-equiv-congruence-on-x (implies (escape-equiv x x-equiv) (equal (escape-u->get$inline x) (escape-u->get$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm escape-u->get-when-wrong-kind (implies (not (equal (escape-kind x) :u)) (equal (escape-u->get x) (hex-quad-fix nil))))