(vl-pp-specialkey x &key (ps 'ps)) → ps
Function:
(defun vl-pp-specialkey-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-specialkey-p x))) (let ((__function__ 'vl-pp-specialkey)) (declare (ignorable __function__)) (b* ((x (vl-specialkey-fix x))) (case x (:vl-null (vl-print "null")) (:vl-$ (vl-print "$")) (:vl-emptyqueue (vl-print "{ }")) (:vl-1step (vl-print "1step")) (otherwise (prog2$ (impossible) ps))))))
Theorem:
(defthm vl-pp-specialkey-fn-of-vl-specialkey-fix-x (equal (vl-pp-specialkey-fn (vl-specialkey-fix x) ps) (vl-pp-specialkey-fn x ps)))
Theorem:
(defthm vl-pp-specialkey-fn-vl-specialkey-equiv-congruence-on-x (implies (vl-specialkey-equiv x x-equiv) (equal (vl-pp-specialkey-fn x ps) (vl-pp-specialkey-fn x-equiv ps))) :rule-classes :congruence)