Gathers the names of all design elements that particular descriptions directly depend on.
(vl-necessary-elements-direct superiors design) → subs
Function:
(defun vl-necessary-elements-direct (superiors design) (declare (xargs :guard (and (string-listp superiors) (vl-design-p design)))) (let ((__function__ 'vl-necessary-elements-direct)) (declare (ignorable __function__)) (vl-collect-dependencies (string-list-fix superiors) (vl-design-downgraph design))))
Theorem:
(defthm return-type-of-vl-necessary-elements-direct (b* ((subs (vl-necessary-elements-direct superiors design))) (and (string-listp subs) (setp subs))) :rule-classes :rewrite)
Theorem:
(defthm vl-necessary-elements-direct-of-string-list-fix-superiors (equal (vl-necessary-elements-direct (string-list-fix superiors) design) (vl-necessary-elements-direct superiors design)))
Theorem:
(defthm vl-necessary-elements-direct-string-list-equiv-congruence-on-superiors (implies (str::string-list-equiv superiors superiors-equiv) (equal (vl-necessary-elements-direct superiors design) (vl-necessary-elements-direct superiors-equiv design))) :rule-classes :congruence)
Theorem:
(defthm vl-necessary-elements-direct-of-vl-design-fix-design (equal (vl-necessary-elements-direct superiors (vl-design-fix design)) (vl-necessary-elements-direct superiors design)))
Theorem:
(defthm vl-necessary-elements-direct-vl-design-equiv-congruence-on-design (implies (vl-design-equiv design design-equiv) (equal (vl-necessary-elements-direct superiors design) (vl-necessary-elements-direct superiors design-equiv))) :rule-classes :congruence)