This is misnamed for historic reasons. It used to return a character list in reverse order. It now returns a vl-printedlist-p, also in reverse order.
Macro:
(defmacro vl-ps->rchars nil '(vl-ps->rchars-fn ps))
Function:
(defun vl-ps->rchars-fn$inline (ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard t)) (let ((__function__ 'vl-ps->rchars-fn)) (declare (ignorable __function__)) (mbe :logic (let ((rchars (vl-ps->rchars-raw ps))) (if (vl-printedlist-p rchars) rchars nil)) :exec (vl-ps->rchars-raw ps))))
Theorem:
(defthm vl-printedlist-p-of-vl-ps->rchars-fn (b* ((rchars (vl-ps->rchars-fn$inline ps))) (vl-printedlist-p rchars)) :rule-classes :rewrite)