(vl-pp-lucidocc x &key (ps 'ps)) → ps
Function:
(defun vl-pp-lucidocc-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-lucidocc-p x))) (let ((__function__ 'vl-pp-lucidocc)) (declare (ignorable __function__)) (vl-lucidocc-case x (:solo (vl-ps-seq (vl-print "(:solo :ss ") (vl-pp-scopestack-path x.ss) (vl-print " :ctx ") (vl-pp-context-summary x.ctx) (vl-print ")"))) (:slice (vl-ps-seq (vl-cw "(:slice ~a0 ~a1 :ss " x.left x.right) (vl-pp-scopestack-path x.ss) (vl-print " :ctx ") (vl-pp-context-summary x.ctx) (vl-print ")"))) (:tail (vl-ps-seq (vl-print "(:tail :ss ") (vl-pp-scopestack-path x.ss) (vl-print " :ctx ") (vl-pp-context-summary x.ctx) (vl-print ")"))))))
Theorem:
(defthm vl-pp-lucidocc-fn-of-vl-lucidocc-fix-x (equal (vl-pp-lucidocc-fn (vl-lucidocc-fix x) ps) (vl-pp-lucidocc-fn x ps)))
Theorem:
(defthm vl-pp-lucidocc-fn-vl-lucidocc-equiv-congruence-on-x (implies (vl-lucidocc-equiv x x-equiv) (equal (vl-pp-lucidocc-fn x ps) (vl-pp-lucidocc-fn x-equiv ps))) :rule-classes :congruence)