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