(vl-plainarg-strip x) → x-strip
Function:
(defun vl-plainarg-strip (x) (declare (xargs :guard (vl-plainarg-p x))) (let ((__function__ 'vl-plainarg-strip)) (declare (ignorable __function__)) (b* (((vl-plainarg x) x)) (change-vl-plainarg x :expr (if x.expr (vl-expr-strip x.expr) nil) :atts nil :portname nil :dir nil))))
Theorem:
(defthm vl-plainarg-p-of-vl-plainarg-strip (b* ((x-strip (vl-plainarg-strip x))) (vl-plainarg-p x-strip)) :rule-classes :rewrite)
Theorem:
(defthm vl-plainarg-strip-of-vl-plainarg-fix-x (equal (vl-plainarg-strip (vl-plainarg-fix x)) (vl-plainarg-strip x)))
Theorem:
(defthm vl-plainarg-strip-vl-plainarg-equiv-congruence-on-x (implies (vl-plainarg-equiv x x-equiv) (equal (vl-plainarg-strip x) (vl-plainarg-strip x-equiv))) :rule-classes :congruence)