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