(vl-pp-time x &key (ps 'ps)) → ps
Function:
(defun vl-pp-time-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-value-p x))) (declare (xargs :guard (vl-value-case x :vl-time))) (let ((__function__ 'vl-pp-time)) (declare (ignorable __function__)) (b* (((vl-time x) x)) (vl-ps-seq (vl-print-str x.quantity) (vl-print (vl-timeunit->string x.units))))))
Theorem:
(defthm vl-pp-time-fn-of-vl-value-fix-x (equal (vl-pp-time-fn (vl-value-fix x) ps) (vl-pp-time-fn x ps)))
Theorem:
(defthm vl-pp-time-fn-vl-value-equiv-congruence-on-x (implies (vl-value-equiv x x-equiv) (equal (vl-pp-time-fn x ps) (vl-pp-time-fn x-equiv ps))) :rule-classes :congruence)