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