(vl-pp-lifetime x &key (ps 'ps)) → ps
Function:
(defun vl-pp-lifetime-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-lifetime-p x))) (let ((__function__ 'vl-pp-lifetime)) (declare (ignorable __function__)) (case (vl-lifetime-fix x) (:vl-static (vl-ps-span "vl_key" (vl-print-str "static "))) (:vl-automatic (vl-ps-span "vl_key" (vl-print-str "automatic "))) ('nil ps) (otherwise (progn$ (impossible) ps)))))
Theorem:
(defthm vl-pp-lifetime-fn-of-vl-lifetime-fix-x (equal (vl-pp-lifetime-fn (vl-lifetime-fix x) ps) (vl-pp-lifetime-fn x ps)))
Theorem:
(defthm vl-pp-lifetime-fn-vl-lifetime-equiv-congruence-on-x (implies (vl-lifetime-equiv x x-equiv) (equal (vl-pp-lifetime-fn x ps) (vl-pp-lifetime-fn x-equiv ps))) :rule-classes :congruence)