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