(4v-to-characterp upper lower) → c
Function:
(defun 4v-to-characterp (upper lower) (declare (xargs :guard (and (booleanp upper) (booleanp lower)))) (let ((__function__ '4v-to-characterp)) (declare (ignorable __function__)) (if (equal upper lower) (if upper #\1 #\0) (if (and upper (not lower)) #\x #\z))))
Theorem:
(defthm characterp-of-4v-to-characterp (b* ((c (4v-to-characterp upper lower))) (characterp c)) :rule-classes :rewrite)