Fixing function for vl-printed-p objects.
(vl-printed-fix x) → x-fix
Function:
(defun vl-printed-fix$inline (x) (declare (xargs :guard (vl-printed-p x))) (let ((__function__ 'vl-printed-fix)) (declare (ignorable __function__)) (mbe :logic (if (vl-printed-p x) x "") :exec x)))
Theorem:
(defthm vl-printed-p-of-vl-printed-fix (b* ((x-fix (vl-printed-fix$inline x))) (vl-printed-p x-fix)) :rule-classes :rewrite)
Theorem:
(defthm vl-printed-fix-when-vl-printed-p (implies (vl-printed-p x) (equal (vl-printed-fix x) x)))