(vl-taskdecl-strip x) → new-x
Function:
(defun vl-taskdecl-strip (x) (declare (xargs :guard (vl-taskdecl-p x))) (let ((__function__ 'vl-taskdecl-strip)) (declare (ignorable __function__)) (b* (((vl-taskdecl x) (vl-taskdecl-fix x))) (b* ((body (vl-stmt-strip x.body)) (loc ((lambda (x) (declare (ignore x)) *vl-fakeloc*) x.loc)) (portdecls (vl-portdecllist-strip x.portdecls)) (vardecls (vl-vardecllist-strip x.vardecls)) (paramdecls (vl-paramdecllist-strip x.paramdecls)) (typedefs (vl-typedeflist-strip x.typedefs)) (imports (vl-importlist-strip x.imports)) (atts ((lambda (x) (declare (ignore x)) nil) x.atts)) (loaditems (vl-portdecl-or-blockitem-list-strip x.loaditems))) (change-vl-taskdecl x :body body :loc loc :portdecls portdecls :vardecls vardecls :paramdecls paramdecls :typedefs typedefs :imports imports :atts atts :loaditems loaditems)))))
Theorem:
(defthm vl-taskdecl-p-of-vl-taskdecl-strip (b* ((new-x (vl-taskdecl-strip x))) (vl-taskdecl-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-taskdecl-strip-of-vl-taskdecl-fix-x (equal (vl-taskdecl-strip (vl-taskdecl-fix x)) (vl-taskdecl-strip x)))
Theorem:
(defthm vl-taskdecl-strip-vl-taskdecl-equiv-congruence-on-x (implies (vl-taskdecl-equiv x x-equiv) (equal (vl-taskdecl-strip x) (vl-taskdecl-strip x-equiv))) :rule-classes :congruence)