Recognizer for oct-digit.
(oct-digitp x) → yes/no
Function:
(defun oct-digitp (x) (declare (xargs :guard t)) (let ((__function__ 'oct-digitp)) (declare (ignorable __function__)) (and (integerp x) (<= (char-code #\0) x) (<= x (char-code #\7)))))
Theorem:
(defthm booleanp-of-oct-digitp (b* ((yes/no (oct-digitp x))) (booleanp yes/no)) :rule-classes :rewrite)