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