(vl-interface-increwrite x) → new-x
Function:
(defun vl-interface-increwrite (x) (declare (xargs :guard (vl-interface-p x))) (let ((__function__ 'vl-interface-increwrite)) (declare (ignorable __function__)) (b* (((vl-interface x) (vl-interface-fix x))) (b* ((fundecls (vl-fundecllist-increwrite x.fundecls)) (taskdecls (vl-taskdecllist-increwrite x.taskdecls)) (classes (vl-classlist-increwrite x.classes)) (elabtasks (vl-elabtasklist-increwrite x.elabtasks)) (alwayses (vl-alwayslist-increwrite x.alwayses)) (initials (vl-initiallist-increwrite x.initials)) (finals (vl-finallist-increwrite x.finals)) (generates (vl-genelementlist-increwrite x.generates))) (change-vl-interface x :fundecls fundecls :taskdecls taskdecls :classes classes :elabtasks elabtasks :alwayses alwayses :initials initials :finals finals :generates generates)))))
Theorem:
(defthm vl-interface-p-of-vl-interface-increwrite (b* ((new-x (vl-interface-increwrite x))) (vl-interface-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-interface-increwrite-of-vl-interface-fix-x (equal (vl-interface-increwrite (vl-interface-fix x)) (vl-interface-increwrite x)))
Theorem:
(defthm vl-interface-increwrite-vl-interface-equiv-congruence-on-x (implies (vl-interface-equiv x x-equiv) (equal (vl-interface-increwrite x) (vl-interface-increwrite x-equiv))) :rule-classes :congruence)