(vl-pp-exprdist x &key (ps 'ps)) → ps
Function:
(defun vl-pp-exprdist-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-exprdist-p x))) (let ((__function__ 'vl-pp-exprdist)) (declare (ignorable __function__)) (b* (((vl-exprdist x))) (vl-ps-seq (vl-pp-expr x.expr) (if (atom x.dist) ps (vl-ps-seq (vl-ps-span "vl_key" (vl-print " dist ")) (vl-print "{") (vl-pp-distlist x.dist) (vl-print "}")))))))
Theorem:
(defthm vl-pp-exprdist-fn-of-vl-exprdist-fix-x (equal (vl-pp-exprdist-fn (vl-exprdist-fix x) ps) (vl-pp-exprdist-fn x ps)))
Theorem:
(defthm vl-pp-exprdist-fn-vl-exprdist-equiv-congruence-on-x (implies (vl-exprdist-equiv x x-equiv) (equal (vl-pp-exprdist-fn x ps) (vl-pp-exprdist-fn x-equiv ps))) :rule-classes :congruence)