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