Get the escape field from a escape-univ.
(escape-univ->escape x) → escape
This is an ordinary field accessor created by fty::defprod.
Function:
(defun escape-univ->escape$inline (x) (declare (xargs :guard (escapep x))) (declare (xargs :guard (equal (escape-kind x) :univ))) (mbe :logic (b* ((x (and (equal (escape-kind x) :univ) x))) (univ-char-name-fix (cdr x))) :exec (cdr x)))
Theorem:
(defthm univ-char-name-p-of-escape-univ->escape (b* ((escape (escape-univ->escape$inline x))) (univ-char-name-p escape)) :rule-classes :rewrite)
Theorem:
(defthm escape-univ->escape$inline-of-escape-fix-x (equal (escape-univ->escape$inline (escape-fix x)) (escape-univ->escape$inline x)))
Theorem:
(defthm escape-univ->escape$inline-escape-equiv-congruence-on-x (implies (escape-equiv x x-equiv) (equal (escape-univ->escape$inline x) (escape-univ->escape$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm escape-univ->escape-when-wrong-kind (implies (not (equal (escape-kind x) :univ)) (equal (escape-univ->escape x) (univ-char-name-fix nil))))