Greater-than-or-equal-to relation of a value of type
Function:
(defun ge-uchar-ushort (x y) (declare (xargs :guard (and (ucharp x) (ushortp y)))) (ge-sint-sint (sint-from-uchar x) (sint-from-ushort y)))
Theorem:
(defthm sintp-of-ge-uchar-ushort (sintp (ge-uchar-ushort x y)))
Theorem:
(defthm ge-uchar-ushort-of-uchar-fix-x (equal (ge-uchar-ushort (uchar-fix x) y) (ge-uchar-ushort x y)))
Theorem:
(defthm ge-uchar-ushort-uchar-equiv-congruence-on-x (implies (uchar-equiv x x-equiv) (equal (ge-uchar-ushort x y) (ge-uchar-ushort x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm ge-uchar-ushort-of-ushort-fix-y (equal (ge-uchar-ushort x (ushort-fix y)) (ge-uchar-ushort x y)))
Theorem:
(defthm ge-uchar-ushort-ushort-equiv-congruence-on-y (implies (ushort-equiv y y-equiv) (equal (ge-uchar-ushort x y) (ge-uchar-ushort x y-equiv))) :rule-classes :congruence)