(vl-pp-program x &key (ps 'ps)) → ps
Function:
(defun vl-pp-program-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-program-p x))) (let ((__function__ 'vl-pp-program)) (declare (ignorable __function__)) (b* (((vl-program x) x)) (vl-ps-seq (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print "program ")) (vl-print-modname x.name) (vl-println " ;") (vl-println " // BOZO implement vl-pp-program") (vl-ps-span "vl_key" (vl-println "endprogram")) (vl-println "")))))
Theorem:
(defthm vl-pp-program-fn-of-vl-program-fix-x (equal (vl-pp-program-fn (vl-program-fix x) ps) (vl-pp-program-fn x ps)))
Theorem:
(defthm vl-pp-program-fn-vl-program-equiv-congruence-on-x (implies (vl-program-equiv x x-equiv) (equal (vl-pp-program-fn x ps) (vl-pp-program-fn x-equiv ps))) :rule-classes :congruence)