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