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