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