(vl-elabscope-item-info name x) → info
Function:
(defun vl-elabscope-item-info (name x) (declare (xargs :guard (and (stringp name) (vl-elabscope-p x)))) (let ((__function__ 'vl-elabscope-item-info)) (declare (ignorable __function__)) (cdr (hons-get (string-fix name) (vl-elabscope->members x)))))
Theorem:
(defthm return-type-of-vl-elabscope-item-info (b* ((info (vl-elabscope-item-info name x))) (and (iff (vl-scopeitem-p info) info) (vl-maybe-scopeitem-p info))) :rule-classes :rewrite)
Theorem:
(defthm vl-elabscope-item-info-of-str-fix-name (equal (vl-elabscope-item-info (str-fix name) x) (vl-elabscope-item-info name x)))
Theorem:
(defthm vl-elabscope-item-info-streqv-congruence-on-name (implies (streqv name name-equiv) (equal (vl-elabscope-item-info name x) (vl-elabscope-item-info name-equiv x))) :rule-classes :congruence)
Theorem:
(defthm vl-elabscope-item-info-of-vl-elabscope-fix-x (equal (vl-elabscope-item-info name (vl-elabscope-fix x)) (vl-elabscope-item-info name x)))
Theorem:
(defthm vl-elabscope-item-info-vl-elabscope-equiv-congruence-on-x (implies (vl-elabscope-equiv x x-equiv) (equal (vl-elabscope-item-info name x) (vl-elabscope-item-info name x-equiv))) :rule-classes :congruence)