Are there any gate instances that need names?
(vl-gateinstlist-all-named-p x) → *
Function:
(defun vl-gateinstlist-all-named-p (x) (declare (xargs :guard (vl-gateinstlist-p x))) (let ((__function__ 'vl-gateinstlist-all-named-p)) (declare (ignorable __function__)) (or (atom x) (and (vl-gateinst->name (car x)) (vl-gateinstlist-all-named-p (cdr x))))))
Theorem:
(defthm vl-gateinstlist-all-named-p-optimizaiton (implies (vl-gateinstlist-all-named-p x) (equal (vl-gateinstlist-addinstnames x nf) (mv (vl-gateinstlist-fix x) (vl-namefactory-fix nf)))))
Theorem:
(defthm vl-gateinstlist-all-named-p-of-vl-gateinstlist-fix-x (equal (vl-gateinstlist-all-named-p (vl-gateinstlist-fix x)) (vl-gateinstlist-all-named-p x)))
Theorem:
(defthm vl-gateinstlist-all-named-p-vl-gateinstlist-equiv-congruence-on-x (implies (vl-gateinstlist-equiv x x-equiv) (equal (vl-gateinstlist-all-named-p x) (vl-gateinstlist-all-named-p x-equiv))) :rule-classes :congruence)