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