(vl-pp-sequence x &key (ps 'ps)) → ps
Function:
(defun vl-pp-sequence-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-sequence-p x))) (let ((__function__ 'vl-pp-sequence)) (declare (ignorable __function__)) (b* (((vl-sequence x))) (vl-ps-seq (vl-progindent) (vl-ps-span "vl_key" (vl-print "sequence ")) (vl-ps-span "vl_id" (vl-print (vl-maybe-escape-identifier x.name))) (vl-print " (") (vl-pp-propportlist x.ports) (vl-println ");") (vl-progindent-block (vl-pp-vardecllist x.decls) (vl-pp-propexpr x.expr) (vl-println ";")) (vl-progindent) (vl-ps-span "vl_key" (vl-println "endsequence "))))))
Theorem:
(defthm vl-pp-sequence-fn-of-vl-sequence-fix-x (equal (vl-pp-sequence-fn (vl-sequence-fix x) ps) (vl-pp-sequence-fn x ps)))
Theorem:
(defthm vl-pp-sequence-fn-vl-sequence-equiv-congruence-on-x (implies (vl-sequence-equiv x x-equiv) (equal (vl-pp-sequence-fn x ps) (vl-pp-sequence-fn x-equiv ps))) :rule-classes :congruence)