(vl-pp-lucidkey x &key (ps 'ps)) → ps
Function:
(defun vl-pp-lucidkey-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-lucidkey-p x))) (let ((__function__ 'vl-pp-lucidkey)) (declare (ignorable __function__)) (b* (((vl-lucidkey x) (vl-lucidkey-fix x)) (name (vl-scopeitem->name x.item))) (vl-ps-seq (vl-pp-scopestack-path x.scopestack) (if name (vl-ps-seq (vl-print ".") (vl-print name)) (vl-ps-seq (vl-print ".<unnamed ") (vl-print-str (vl-lucid-mash-tag (symbol-name (tag x.item)))) (vl-cw " ~x0>" x))) (vl-print " (") (vl-print-str (vl-lucid-mash-tag (symbol-name (tag x.item)))) (vl-print ")")))))
Theorem:
(defthm vl-pp-lucidkey-fn-of-vl-lucidkey-fix-x (equal (vl-pp-lucidkey-fn (vl-lucidkey-fix x) ps) (vl-pp-lucidkey-fn x ps)))
Theorem:
(defthm vl-pp-lucidkey-fn-vl-lucidkey-equiv-congruence-on-x (implies (vl-lucidkey-equiv x x-equiv) (equal (vl-pp-lucidkey-fn x ps) (vl-pp-lucidkey-fn x-equiv ps))) :rule-classes :congruence)