(vl-print-strings-with-commas x indent &key (ps 'ps)) prints the elements of
(vl-print-strings-with-commas x indent &key (ps 'ps)) → ps
The output is automatically encoded and word wrapped, and each line
is indented to column
Function:
(defun vl-print-strings-with-commas-fn (x indent ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (and (string-listp x) (natp indent)))) (let ((__function__ 'vl-print-strings-with-commas)) (declare (ignorable __function__)) (let ((orig-indent (vl-ps->autowrap-ind))) (vl-ps-seq (vl-ps-update-autowrap-ind (lnfix indent)) (vl-indent indent) (vl-print-strings-with-commas-aux x) (vl-ps-update-autowrap-ind orig-indent)))))
Theorem:
(defthm vl-print-strings-with-commas-fn-of-string-list-fix-x (equal (vl-print-strings-with-commas-fn (string-list-fix x) indent ps) (vl-print-strings-with-commas-fn x indent ps)))
Theorem:
(defthm vl-print-strings-with-commas-fn-string-list-equiv-congruence-on-x (implies (str::string-list-equiv x x-equiv) (equal (vl-print-strings-with-commas-fn x indent ps) (vl-print-strings-with-commas-fn x-equiv indent ps))) :rule-classes :congruence)
Theorem:
(defthm vl-print-strings-with-commas-fn-of-nfix-indent (equal (vl-print-strings-with-commas-fn x (nfix indent) ps) (vl-print-strings-with-commas-fn x indent ps)))
Theorem:
(defthm vl-print-strings-with-commas-fn-nat-equiv-congruence-on-indent (implies (acl2::nat-equiv indent indent-equiv) (equal (vl-print-strings-with-commas-fn x indent ps) (vl-print-strings-with-commas-fn x indent-equiv ps))) :rule-classes :congruence)