(vl-pp-portlist x &key (ps 'ps)) → ps
Function:
(defun vl-pp-portlist-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-portlist-p x))) (let ((__function__ 'vl-pp-portlist)) (declare (ignorable __function__)) (cond ((atom x) ps) ((atom (cdr x)) (vl-pp-port (car x))) (t (vl-ps-seq (vl-pp-port (car x)) (vl-println? ", ") (vl-pp-portlist (cdr x)))))))
Theorem:
(defthm vl-pp-portlist-fn-of-vl-portlist-fix-x (equal (vl-pp-portlist-fn (vl-portlist-fix x) ps) (vl-pp-portlist-fn x ps)))
Theorem:
(defthm vl-pp-portlist-fn-vl-portlist-equiv-congruence-on-x (implies (vl-portlist-equiv x x-equiv) (equal (vl-pp-portlist-fn x ps) (vl-pp-portlist-fn x-equiv ps))) :rule-classes :congruence)