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