(vl-pp-delayoreventcontrol x &key (ps 'ps)) → ps
Function:
(defun vl-pp-delayoreventcontrol-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-delayoreventcontrol-p x))) (let ((__function__ 'vl-pp-delayoreventcontrol)) (declare (ignorable __function__)) (b* ((x (vl-delayoreventcontrol-fix x))) (case (tag x) (:vl-delaycontrol (vl-pp-delaycontrol x)) (:vl-eventcontrol (vl-pp-eventcontrol x)) (otherwise (vl-pp-repeateventcontrol x))))))
Theorem:
(defthm vl-pp-delayoreventcontrol-fn-of-vl-delayoreventcontrol-fix-x (equal (vl-pp-delayoreventcontrol-fn (vl-delayoreventcontrol-fix x) ps) (vl-pp-delayoreventcontrol-fn x ps)))
Theorem:
(defthm vl-pp-delayoreventcontrol-fn-vl-delayoreventcontrol-equiv-congruence-on-x (implies (vl-delayoreventcontrol-equiv x x-equiv) (equal (vl-pp-delayoreventcontrol-fn x ps) (vl-pp-delayoreventcontrol-fn x-equiv ps))) :rule-classes :congruence)