(number-charlist-p x) recognizes lists where every element satisfies number-char-p.
(number-charlist-p x) → std::bool
This is an ordinary deflist. It is
"loose" in that it does not care whether
Function:
(defun number-charlist-p (x) (declare (xargs :guard t)) (let ((__function__ 'number-charlist-p)) (declare (ignorable __function__)) (if (consp x) (and (number-char-p (car x)) (number-charlist-p (cdr x))) t)))
Theorem:
(defthm chars-in-charset-p-of-number-chars (equal (chars-in-charset-p x (number-chars)) (number-charlist-p x)))