Determine which lvalues are assigned to in multiple always blocks.
(vl-always-scary-regs x) → names
These registers are generally too complicated to do anything sensible with.
Function:
(defun vl-always-scary-regs (x) (declare (xargs :guard (vl-alwayslist-p x))) (let ((__function__ 'vl-always-scary-regs)) (declare (ignorable __function__)) (redundant-mergesort (duplicated-members (vl-always-scary-regs-aux x)))))
Theorem:
(defthm return-type-of-vl-always-scary-regs (b* ((names (vl-always-scary-regs x))) (and (string-listp names) (setp names))) :rule-classes :rewrite)
Theorem:
(defthm vl-always-scary-regs-of-vl-alwayslist-fix-x (equal (vl-always-scary-regs (vl-alwayslist-fix x)) (vl-always-scary-regs x)))
Theorem:
(defthm vl-always-scary-regs-vl-alwayslist-equiv-congruence-on-x (implies (vl-alwayslist-equiv x x-equiv) (equal (vl-always-scary-regs x) (vl-always-scary-regs x-equiv))) :rule-classes :congruence)