(vl-exprdist-strip x) → new-x
Function:
(defun vl-exprdist-strip (x) (declare (xargs :guard (vl-exprdist-p x))) (let ((__function__ 'vl-exprdist-strip)) (declare (ignorable __function__)) (b* (((vl-exprdist x) (vl-exprdist-fix x))) (b* ((expr (vl-expr-strip x.expr)) (dist (vl-distlist-strip x.dist))) (change-vl-exprdist x :expr expr :dist dist)))))
Theorem:
(defthm vl-exprdist-p-of-vl-exprdist-strip (b* ((new-x (vl-exprdist-strip x))) (vl-exprdist-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-exprdist-strip-of-vl-exprdist-fix-x (equal (vl-exprdist-strip (vl-exprdist-fix x)) (vl-exprdist-strip x)))
Theorem:
(defthm vl-exprdist-strip-vl-exprdist-equiv-congruence-on-x (implies (vl-exprdist-equiv x x-equiv) (equal (vl-exprdist-strip x) (vl-exprdist-strip x-equiv))) :rule-classes :congruence)