Constructor for values of type
(sshort-from-integer get) → y
Function:
(defun sshort-from-integer (get) (declare (xargs :guard (sshort-integerp get))) (let ((__function__ 'sshort-from-integer)) (declare (ignorable __function__)) (b* ((get (mbe :logic (sshort-integer-fix get) :exec get))) (cons :sshort (list get)))))
Theorem:
(defthm sshortp-of-sshort-from-integer (b* ((y (sshort-from-integer get))) (sshortp y)) :rule-classes :rewrite)
Theorem:
(defthm sshort-from-integer-of-sshort-integer-fix-get (equal (sshort-from-integer (sshort-integer-fix get)) (sshort-from-integer get)))
Theorem:
(defthm sshort-from-integer-sshort-integer-equiv-congruence-on-get (implies (sshort-integer-equiv get get-equiv) (equal (sshort-from-integer get) (sshort-from-integer get-equiv))) :rule-classes :congruence)