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