(vl-pp-package x ss &key (ps 'ps)) → ps
Function:
(defun vl-pp-package-fn (x ss ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (and (vl-package-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-pp-package)) (declare (ignorable __function__)) (b* (((vl-package x) x)) (vl-ps-seq (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print "package ")) (vl-print-modname x.name) (vl-println " ;") (vl-progindent-block (vl-pp-genblob-guts (vl-package->genblob x) ss)) (vl-progindent) (vl-ps-span "vl_key" (vl-println "endpackage")) (vl-println "")))))
Theorem:
(defthm vl-pp-package-fn-of-vl-package-fix-x (equal (vl-pp-package-fn (vl-package-fix x) ss ps) (vl-pp-package-fn x ss ps)))
Theorem:
(defthm vl-pp-package-fn-vl-package-equiv-congruence-on-x (implies (vl-package-equiv x x-equiv) (equal (vl-pp-package-fn x ss ps) (vl-pp-package-fn x-equiv ss ps))) :rule-classes :congruence)
Theorem:
(defthm vl-pp-package-fn-of-vl-scopestack-fix-ss (equal (vl-pp-package-fn x (vl-scopestack-fix ss) ps) (vl-pp-package-fn x ss ps)))
Theorem:
(defthm vl-pp-package-fn-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-pp-package-fn x ss ps) (vl-pp-package-fn x ss-equiv ps))) :rule-classes :congruence)