Fixtype of values of type
Function:
(defun uchar-equiv$inline (acl2::x acl2::y) (declare (xargs :guard (and (ucharp acl2::x) (ucharp acl2::y)))) (equal (uchar-fix acl2::x) (uchar-fix acl2::y)))
Theorem:
(defthm uchar-equiv-is-an-equivalence (and (booleanp (uchar-equiv x y)) (uchar-equiv x x) (implies (uchar-equiv x y) (uchar-equiv y x)) (implies (and (uchar-equiv x y) (uchar-equiv y z)) (uchar-equiv x z))) :rule-classes (:equivalence))
Theorem:
(defthm uchar-equiv-implies-equal-uchar-fix-1 (implies (uchar-equiv acl2::x x-equiv) (equal (uchar-fix acl2::x) (uchar-fix x-equiv))) :rule-classes (:congruence))
Theorem:
(defthm uchar-fix-under-uchar-equiv (uchar-equiv (uchar-fix acl2::x) acl2::x) :rule-classes (:rewrite :rewrite-quoted-constant))