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