Pretty-print a list of ACL2 objects, creating a list of strings.
(pretty-list x &key (config '*default-printconfig*) (col '0) (eviscp 'nil)) → pretty-x
Function:
(defun pretty-list-fn (x config col eviscp) (declare (xargs :guard (and (printconfig-p config) (natp col) (booleanp eviscp)))) (let ((acl2::__function__ 'pretty-list)) (declare (ignorable acl2::__function__)) (if (atom x) nil (cons (pretty (car x) :config config :col col :eviscp eviscp) (pretty-list (cdr x) :config config :col col :eviscp eviscp)))))
Theorem:
(defthm string-listp-of-pretty-list (b* ((pretty-x (pretty-list-fn x config col eviscp))) (string-listp pretty-x)) :rule-classes :rewrite)