(vl-elabscope-package-subscope name x) → subscope
Function:
(defun vl-elabscope-package-subscope (name x) (declare (xargs :guard (and (stringp name) (vl-elabscope-p x)))) (let ((__function__ 'vl-elabscope-package-subscope)) (declare (ignorable __function__)) (vl-elabscope-subscope (vl-elabkey-package name) x)))
Theorem:
(defthm return-type-of-vl-elabscope-package-subscope (b* ((subscope (vl-elabscope-package-subscope name x))) (iff (vl-elabscope-p subscope) subscope)) :rule-classes :rewrite)
Theorem:
(defthm vl-elabscope-package-subscope-of-str-fix-name (equal (vl-elabscope-package-subscope (str-fix name) x) (vl-elabscope-package-subscope name x)))
Theorem:
(defthm vl-elabscope-package-subscope-streqv-congruence-on-name (implies (streqv name name-equiv) (equal (vl-elabscope-package-subscope name x) (vl-elabscope-package-subscope name-equiv x))) :rule-classes :congruence)
Theorem:
(defthm vl-elabscope-package-subscope-of-vl-elabscope-fix-x (equal (vl-elabscope-package-subscope name (vl-elabscope-fix x)) (vl-elabscope-package-subscope name x)))
Theorem:
(defthm vl-elabscope-package-subscope-vl-elabscope-equiv-congruence-on-x (implies (vl-elabscope-equiv x x-equiv) (equal (vl-elabscope-package-subscope name x) (vl-elabscope-package-subscope name x-equiv))) :rule-classes :congruence)