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