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