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