Does this scopestack refer to the top level of the design?
(vl-scopestack-toplevel-p ss) → *
Function:
(defun vl-scopestack-toplevel-p (ss) (declare (xargs :guard (vl-scopestack-p ss))) (let ((__function__ 'vl-scopestack-toplevel-p)) (declare (ignorable __function__)) (vl-scopestack-case ss :global t :local nil :null t)))
Theorem:
(defthm vl-scopestack-toplevel-p-of-vl-scopestack-fix-ss (equal (vl-scopestack-toplevel-p (vl-scopestack-fix ss)) (vl-scopestack-toplevel-p ss)))
Theorem:
(defthm vl-scopestack-toplevel-p-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-scopestack-toplevel-p ss) (vl-scopestack-toplevel-p ss-equiv))) :rule-classes :congruence)