(vl-pp-value x &key (ps 'ps)) → ps
Function:
(defun vl-pp-value-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-value-p x))) (let ((__function__ 'vl-pp-value)) (declare (ignorable __function__)) (vl-value-case x :vl-constint (vl-pp-constint x) :vl-weirdint (vl-pp-weirdint x) :vl-string (vl-pp-string x) :vl-real (vl-pp-real x) :vl-time (vl-pp-time x) :vl-extint (vl-pp-extint x))))
Theorem:
(defthm vl-pp-value-fn-of-vl-value-fix-x (equal (vl-pp-value-fn (vl-value-fix x) ps) (vl-pp-value-fn x ps)))
Theorem:
(defthm vl-pp-value-fn-vl-value-equiv-congruence-on-x (implies (vl-value-equiv x x-equiv) (equal (vl-pp-value-fn x ps) (vl-pp-value-fn x-equiv ps))) :rule-classes :congruence)