(vl-pp-port x &key (ps 'ps)) → ps
Function:
(defun vl-pp-port-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-port-p x))) (let ((__function__ 'vl-pp-port)) (declare (ignorable __function__)) (b* ((x (vl-port-fix x))) (if (eq (tag x) :vl-interfaceport) (vl-pp-interfaceport x) (vl-pp-regularport x)))))
Theorem:
(defthm vl-pp-port-fn-of-vl-port-fix-x (equal (vl-pp-port-fn (vl-port-fix x) ps) (vl-pp-port-fn x ps)))
Theorem:
(defthm vl-pp-port-fn-vl-port-equiv-congruence-on-x (implies (vl-port-equiv x x-equiv) (equal (vl-pp-port-fn x ps) (vl-pp-port-fn x-equiv ps))) :rule-classes :congruence)