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