(vl-pp-fundecl x &key (ps 'ps)) → ps
Function:
(defun vl-pp-fundecl-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-fundecl-p x))) (let ((__function__ 'vl-pp-fundecl)) (declare (ignorable __function__)) (b* (((vl-fundecl x) x)) (vl-ps-seq (vl-progindent) (if x.atts (vl-ps-seq (vl-pp-atts x.atts) (vl-print " ")) ps) (vl-ps-span "vl_key" (vl-print "function ") (vl-pp-lifetime x.lifetime) (vl-pp-datatype x.rettype) (vl-print " ")) (vl-print-wirename x.name) (vl-println ";") (vl-progindent-block (vl-pp-portdecllist x.portdecls) (vl-pp-importlist x.imports) (vl-pp-paramdecllist x.paramdecls) (vl-pp-typedeflist x.typedefs) (vl-pp-vardecllist x.vardecls) (vl-pp-stmt x.body) (vl-basic-cw "~|")) (vl-progindent) (vl-ps-span "vl_key" (vl-print "endfunction")) (vl-println "")))))
Theorem:
(defthm vl-pp-fundecl-fn-of-vl-fundecl-fix-x (equal (vl-pp-fundecl-fn (vl-fundecl-fix x) ps) (vl-pp-fundecl-fn x ps)))
Theorem:
(defthm vl-pp-fundecl-fn-vl-fundecl-equiv-congruence-on-x (implies (vl-fundecl-equiv x x-equiv) (equal (vl-pp-fundecl-fn x ps) (vl-pp-fundecl-fn x-equiv ps))) :rule-classes :congruence)