(vl-scopestack->topname ss) → key
Function:
(defun vl-scopestack->topname (ss) (declare (xargs :guard (vl-scopestack-p ss))) (let ((__function__ 'vl-scopestack->topname)) (declare (ignorable __function__)) (or (vl-scopestack-top-level-name ss) :design)))
Theorem:
(defthm vl-reportcardkey-p-of-vl-scopestack->topname (b* ((key (vl-scopestack->topname ss))) (vl-reportcardkey-p key)) :rule-classes :rewrite)
Theorem:
(defthm vl-scopestack->topname-of-vl-scopestack-fix-ss (equal (vl-scopestack->topname (vl-scopestack-fix ss)) (vl-scopestack->topname ss)))
Theorem:
(defthm vl-scopestack->topname-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-scopestack->topname ss) (vl-scopestack->topname ss-equiv))) :rule-classes :congruence)