(vl-sequence-strip x) → new-x
Function:
(defun vl-sequence-strip (x) (declare (xargs :guard (vl-sequence-p x))) (let ((__function__ 'vl-sequence-strip)) (declare (ignorable __function__)) (b* (((vl-sequence x) (vl-sequence-fix x))) (b* ((ports (vl-propportlist-strip x.ports)) (decls (vl-vardecllist-strip x.decls)) (expr (vl-propexpr-strip x.expr)) (loc ((lambda (x) (declare (ignore x)) *vl-fakeloc*) x.loc))) (change-vl-sequence x :ports ports :decls decls :expr expr :loc loc)))))
Theorem:
(defthm vl-sequence-p-of-vl-sequence-strip (b* ((new-x (vl-sequence-strip x))) (vl-sequence-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-sequence-strip-of-vl-sequence-fix-x (equal (vl-sequence-strip (vl-sequence-fix x)) (vl-sequence-strip x)))
Theorem:
(defthm vl-sequence-strip-vl-sequence-equiv-congruence-on-x (implies (vl-sequence-equiv x x-equiv) (equal (vl-sequence-strip x) (vl-sequence-strip x-equiv))) :rule-classes :congruence)