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