Less-than-or-equal-to relation of a value of type
Function:
(defun le-ushort-slong (x y) (declare (xargs :guard (and (ushortp x) (slongp y)))) (le-slong-slong (slong-from-ushort x) y))
Theorem:
(defthm sintp-of-le-ushort-slong (sintp (le-ushort-slong x y)))
Theorem:
(defthm le-ushort-slong-of-ushort-fix-x (equal (le-ushort-slong (ushort-fix x) y) (le-ushort-slong x y)))
Theorem:
(defthm le-ushort-slong-ushort-equiv-congruence-on-x (implies (ushort-equiv x x-equiv) (equal (le-ushort-slong x y) (le-ushort-slong x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm le-ushort-slong-of-slong-fix-y (equal (le-ushort-slong x (slong-fix y)) (le-ushort-slong x y)))
Theorem:
(defthm le-ushort-slong-slong-equiv-congruence-on-y (implies (slong-equiv y y-equiv) (equal (le-ushort-slong x y) (le-ushort-slong x y-equiv))) :rule-classes :congruence)