(vl-pp-always x &key (ps 'ps)) → ps
Function:
(defun vl-pp-always-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-always-p x))) (let ((__function__ 'vl-pp-always)) (declare (ignorable __function__)) (b* (((vl-always x) x)) (vl-ps-seq (vl-progindent) (if x.atts (vl-pp-atts x.atts) ps) (vl-ps-span "vl_key" (vl-print-str (vl-alwaystype-string x.type))) (vl-print " ") (vl-pp-stmt x.stmt)))))
Theorem:
(defthm vl-pp-always-fn-of-vl-always-fix-x (equal (vl-pp-always-fn (vl-always-fix x) ps) (vl-pp-always-fn x ps)))
Theorem:
(defthm vl-pp-always-fn-vl-always-equiv-congruence-on-x (implies (vl-always-equiv x x-equiv) (equal (vl-pp-always-fn x ps) (vl-pp-always-fn x-equiv ps))) :rule-classes :congruence)