(vl-print-charlist-main x &key (ps 'ps)) → ps
Function:
(defun vl-print-charlist-main-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (character-listp x))) (let ((__function__ 'vl-print-charlist-main)) (declare (ignorable __function__)) (let ((rchars (vl-ps->rchars)) (col (vl-ps->col))) (if (vl-ps->htmlp) (mv-let (col rchars) (str::html-encode-chars-aux x col (vl-ps->tabsize) rchars) (vl-ps-seq (vl-ps-update-rchars rchars) (vl-ps-update-col col))) (vl-ps-seq (vl-ps-update-rchars (revappend (character-list-fix x) rchars)) (vl-ps-update-col (vl-col-after-printing-chars col x)))))))
Theorem:
(defthm vl-print-charlist-main-fn-of-make-character-list-x (equal (vl-print-charlist-main-fn (make-character-list x) ps) (vl-print-charlist-main-fn x ps)))
Theorem:
(defthm vl-print-charlist-main-fn-charlisteqv-congruence-on-x (implies (str::charlisteqv x x-equiv) (equal (vl-print-charlist-main-fn x ps) (vl-print-charlist-main-fn x-equiv ps))) :rule-classes :congruence)