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