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