Representation of a write of a pointed type
Function:
(defun uchar-write (x) (declare (xargs :guard (ucharp x))) (let ((__function__ 'uchar-write)) (declare (ignorable __function__)) (uchar-fix x)))
Theorem:
(defthm return-type-of-uchar-write (b* ((x (uchar-write x))) (star (ucharp x))) :rule-classes :rewrite)
Theorem:
(defthm ucharp-of-uchar-write (b* ((x (uchar-write x))) (ucharp x)) :rule-classes :rewrite)
Theorem:
(defthm uchar-write-of-uchar-fix-x (equal (uchar-write (uchar-fix x)) (uchar-write x)))
Theorem:
(defthm uchar-write-uchar-equiv-congruence-on-x (implies (uchar-equiv x x-equiv) (equal (uchar-write x) (uchar-write x-equiv))) :rule-classes :congruence)