Unary plus of a value of type
Function:
(defun plus-sshort (x) (declare (xargs :guard (and (sshortp x)))) (plus-sint (sint-from-sshort x)))
Theorem:
(defthm sintp-of-plus-sshort (sintp (plus-sshort x)))
Theorem:
(defthm plus-sshort-of-sshort-fix-x (equal (plus-sshort (sshort-fix x)) (plus-sshort x)))
Theorem:
(defthm plus-sshort-sshort-equiv-congruence-on-x (implies (sshort-equiv x x-equiv) (equal (plus-sshort x) (plus-sshort x-equiv))) :rule-classes :congruence)