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