Non-equality of a value of type
Function:
(defun ne-sint-sllong (x y) (declare (xargs :guard (and (sintp x) (sllongp y)))) (ne-sllong-sllong (sllong-from-sint x) y))
Theorem:
(defthm sintp-of-ne-sint-sllong (sintp (ne-sint-sllong x y)))
Theorem:
(defthm ne-sint-sllong-of-sint-fix-x (equal (ne-sint-sllong (sint-fix x) y) (ne-sint-sllong x y)))
Theorem:
(defthm ne-sint-sllong-sint-equiv-congruence-on-x (implies (sint-equiv x x-equiv) (equal (ne-sint-sllong x y) (ne-sint-sllong x-equiv y))) :rule-classes :congruence)
Theorem:
(defthm ne-sint-sllong-of-sllong-fix-y (equal (ne-sint-sllong x (sllong-fix y)) (ne-sint-sllong x y)))
Theorem:
(defthm ne-sint-sllong-sllong-equiv-congruence-on-y (implies (sllong-equiv y y-equiv) (equal (ne-sint-sllong x y) (ne-sint-sllong x y-equiv))) :rule-classes :congruence)