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