(vl-modinst-strip x) → x-strip
Function:
(defun vl-modinst-strip (x) (declare (xargs :guard (vl-modinst-p x))) (let ((__function__ 'vl-modinst-strip)) (declare (ignorable __function__)) (b* (((vl-modinst x) x)) (change-vl-modinst x :range (vl-maybe-range-strip x.range) :portargs (vl-arguments-strip x.portargs) :str nil :delay nil :atts nil :loc *vl-fakeloc*))))
Theorem:
(defthm vl-modinst-p-of-vl-modinst-strip (b* ((x-strip (vl-modinst-strip x))) (vl-modinst-p x-strip)) :rule-classes :rewrite)
Theorem:
(defthm vl-modinst-strip-of-vl-modinst-fix-x (equal (vl-modinst-strip (vl-modinst-fix x)) (vl-modinst-strip x)))
Theorem:
(defthm vl-modinst-strip-vl-modinst-equiv-congruence-on-x (implies (vl-modinst-equiv x x-equiv) (equal (vl-modinst-strip x) (vl-modinst-strip x-equiv))) :rule-classes :congruence)