(vl-pp-scopestack-path x &key (ps 'ps)) → ps
Function:
(defun vl-pp-scopestack-path-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-scopestack-p x))) (let ((__function__ 'vl-pp-scopestack-path)) (declare (ignorable __function__)) (vl-scopestack-case x :null (vl-print ":null") :global (vl-ps-seq (vl-print "$root")) :local (vl-ps-seq (vl-pp-scopestack-path x.super) (vl-print ".") (vl-pp-scope-name x.top)))))
Theorem:
(defthm vl-pp-scopestack-path-fn-of-vl-scopestack-fix-x (equal (vl-pp-scopestack-path-fn (vl-scopestack-fix x) ps) (vl-pp-scopestack-path-fn x ps)))
Theorem:
(defthm vl-pp-scopestack-path-fn-vl-scopestack-equiv-congruence-on-x (implies (vl-scopestack-equiv x x-equiv) (equal (vl-pp-scopestack-path-fn x ps) (vl-pp-scopestack-path-fn x-equiv ps))) :rule-classes :congruence)