Equivalence of four-valued constants, i.e., 4vps.
Function:
(defun 4v-equiv (x y) (and (equal (4v-fix x) (4v-fix y))))
Function:
(defun 4v-equiv (x y) (and (equal (4v-fix x) (4v-fix y))))
Theorem:
(defthm 4v-equiv-is-an-equivalence (and (booleanp (4v-equiv x y)) (4v-equiv x x) (implies (4v-equiv x y) (4v-equiv y x)) (implies (and (4v-equiv x y) (4v-equiv y z)) (4v-equiv x z))) :rule-classes (:equivalence))