(vl-pp-property x &key (ps 'ps)) → ps
Function:
(defun vl-pp-property-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-property-p x))) (let ((__function__ 'vl-pp-property)) (declare (ignorable __function__)) (b* (((vl-property x))) (vl-ps-seq (vl-progindent) (vl-ps-span "vl_key" (vl-print "property ")) (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-propspec x.spec) (vl-println ";")) (vl-progindent) (vl-ps-span "vl_key" (vl-println "endproperty "))))))
Theorem:
(defthm vl-pp-property-fn-of-vl-property-fix-x (equal (vl-pp-property-fn (vl-property-fix x) ps) (vl-pp-property-fn x ps)))
Theorem:
(defthm vl-pp-property-fn-vl-property-equiv-congruence-on-x (implies (vl-property-equiv x x-equiv) (equal (vl-pp-property-fn x ps) (vl-pp-property-fn x-equiv ps))) :rule-classes :congruence)