(vl-paramdecl-strip x) → new-x
Function:
(defun vl-paramdecl-strip (x) (declare (xargs :guard (vl-paramdecl-p x))) (let ((__function__ 'vl-paramdecl-strip)) (declare (ignorable __function__)) (b* (((vl-paramdecl x) (vl-paramdecl-fix x))) (b* ((type (vl-paramtype-strip x.type)) (loc ((lambda (x) (declare (ignore x)) *vl-fakeloc*) x.loc)) (atts ((lambda (x) (declare (ignore x)) nil) x.atts))) (change-vl-paramdecl x :type type :loc loc :atts atts)))))
Theorem:
(defthm vl-paramdecl-p-of-vl-paramdecl-strip (b* ((new-x (vl-paramdecl-strip x))) (vl-paramdecl-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-paramdecl-strip-of-vl-paramdecl-fix-x (equal (vl-paramdecl-strip (vl-paramdecl-fix x)) (vl-paramdecl-strip x)))
Theorem:
(defthm vl-paramdecl-strip-vl-paramdecl-equiv-congruence-on-x (implies (vl-paramdecl-equiv x x-equiv) (equal (vl-paramdecl-strip x) (vl-paramdecl-strip x-equiv))) :rule-classes :congruence)