(vl-shadowcheck-pop-scope st) → st
Function:
(defun vl-shadowcheck-pop-scope (st) (declare (xargs :guard (vl-shadowcheck-state-p st))) (let ((__function__ 'vl-shadowcheck-pop-scope)) (declare (ignorable __function__)) (b* (((vl-shadowcheck-state st))) (change-vl-shadowcheck-state st :lexscopes (vl-lexscopes-exit-scope st.lexscopes) :ss (vl-scopestack-pop st.ss)))))
Theorem:
(defthm vl-shadowcheck-state-p-of-vl-shadowcheck-pop-scope (b* ((st (vl-shadowcheck-pop-scope st))) (vl-shadowcheck-state-p st)) :rule-classes :rewrite)
Theorem:
(defthm vl-shadowcheck-pop-scope-of-vl-shadowcheck-state-fix-st (equal (vl-shadowcheck-pop-scope (vl-shadowcheck-state-fix st)) (vl-shadowcheck-pop-scope st)))
Theorem:
(defthm vl-shadowcheck-pop-scope-vl-shadowcheck-state-equiv-congruence-on-st (implies (vl-shadowcheck-state-equiv st st-equiv) (equal (vl-shadowcheck-pop-scope st) (vl-shadowcheck-pop-scope st-equiv))) :rule-classes :congruence)