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