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