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