(vl-propspec-strip x) → new-x
Function:
(defun vl-propspec-strip (x) (declare (xargs :guard (vl-propspec-p x))) (let ((__function__ 'vl-propspec-strip)) (declare (ignorable __function__)) (b* (((vl-propspec x) (vl-propspec-fix x))) (b* ((evatoms (vl-evatomlist-strip x.evatoms)) (disable (vl-maybe-exprdist-strip x.disable)) (prop (vl-propexpr-strip x.prop)) (loc ((lambda (x) (declare (ignore x)) *vl-fakeloc*) x.loc))) (change-vl-propspec x :evatoms evatoms :disable disable :prop prop :loc loc)))))
Theorem:
(defthm vl-propspec-p-of-vl-propspec-strip (b* ((new-x (vl-propspec-strip x))) (vl-propspec-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-propspec-strip-of-vl-propspec-fix-x (equal (vl-propspec-strip (vl-propspec-fix x)) (vl-propspec-strip x)))
Theorem:
(defthm vl-propspec-strip-vl-propspec-equiv-congruence-on-x (implies (vl-propspec-equiv x x-equiv) (equal (vl-propspec-strip x) (vl-propspec-strip x-equiv))) :rule-classes :congruence)