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