(vl-reportcardkey-fix x) → key
Function:
(defun vl-reportcardkey-fix$inline (x) (declare (xargs :guard (vl-reportcardkey-p x))) (let ((__function__ 'vl-reportcardkey-fix)) (declare (ignorable __function__)) (mbe :logic (if (equal x :design) x (string-fix x)) :exec x)))
Theorem:
(defthm vl-reportcardkey-p-of-vl-reportcardkey-fix (b* ((key (vl-reportcardkey-fix$inline x))) (vl-reportcardkey-p key)) :rule-classes :rewrite)
Theorem:
(defthm vl-reportcardkey-fix-when-vl-reportcardkey-p (implies (vl-reportcardkey-p x) (equal (vl-reportcardkey-fix x) x)))