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