Strip more from a vl-modinst for duplicate-detect.
(vl-duplicate-detect-strip-modinst x) → stripped-x
Function:
(defun vl-duplicate-detect-strip-modinst (x) (declare (xargs :guard (vl-modinst-p x))) (let ((__function__ 'vl-duplicate-detect-strip-modinst)) (declare (ignorable __function__)) (change-vl-modinst (vl-modinst-strip x) :instname nil :str nil :delay nil)))
Theorem:
(defthm vl-modinst-p-of-vl-duplicate-detect-strip-modinst (b* ((stripped-x (vl-duplicate-detect-strip-modinst x))) (vl-modinst-p stripped-x)) :rule-classes :rewrite)