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