Convert from type
Function:
(defun sint-from-sshort (x) (declare (xargs :guard (sshortp x))) (let ((__function__ 'sint-from-sshort)) (declare (ignorable __function__)) (sint-from-integer (integer-from-sshort x))))
Theorem:
(defthm sintp-of-sint-from-sshort (b* ((result (sint-from-sshort x))) (sintp result)) :rule-classes :rewrite)
Theorem:
(defthm sint-from-sshort-of-sshort-fix-x (equal (sint-from-sshort (sshort-fix x)) (sint-from-sshort x)))
Theorem:
(defthm sint-from-sshort-sshort-equiv-congruence-on-x (implies (sshort-equiv x x-equiv) (equal (sint-from-sshort x) (sint-from-sshort x-equiv))) :rule-classes :congruence)