(vl-interface-lucidcheck x ss st) → new-st
Function:
(defun vl-interface-lucidcheck (x ss st) (declare (xargs :guard (and (vl-interface-p x) (vl-scopestack-p ss) (vl-lucidstate-p st)))) (declare (xargs :guard t)) (let ((__function__ 'vl-interface-lucidcheck)) (declare (ignorable __function__)) (b* ((x (vl-interface-fix x)) (ss (vl-scopestack-fix ss)) (st (vl-lucidstate-fix st))) (b* (((vl-interface x)) (ss (vl-scopestack-push x ss)) (st (vl-portdecllist-lucidcheck x.portdecls ss st)) (st (vl-vardecllist-lucidcheck x.vardecls ss st)) (st (vl-paramdecllist-lucidcheck x.paramdecls ss st))) st))))
Theorem:
(defthm vl-lucidstate-p-of-vl-interface-lucidcheck (b* ((new-st (vl-interface-lucidcheck x ss st))) (vl-lucidstate-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-interface-lucidcheck-of-vl-interface-fix-x (equal (vl-interface-lucidcheck (vl-interface-fix x) ss st) (vl-interface-lucidcheck x ss st)))
Theorem:
(defthm vl-interface-lucidcheck-vl-interface-equiv-congruence-on-x (implies (vl-interface-equiv x x-equiv) (equal (vl-interface-lucidcheck x ss st) (vl-interface-lucidcheck x-equiv ss st))) :rule-classes :congruence)
Theorem:
(defthm vl-interface-lucidcheck-of-vl-scopestack-fix-ss (equal (vl-interface-lucidcheck x (vl-scopestack-fix ss) st) (vl-interface-lucidcheck x ss st)))
Theorem:
(defthm vl-interface-lucidcheck-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-interface-lucidcheck x ss st) (vl-interface-lucidcheck x ss-equiv st))) :rule-classes :congruence)
Theorem:
(defthm vl-interface-lucidcheck-of-vl-lucidstate-fix-st (equal (vl-interface-lucidcheck x ss (vl-lucidstate-fix st)) (vl-interface-lucidcheck x ss st)))
Theorem:
(defthm vl-interface-lucidcheck-vl-lucidstate-equiv-congruence-on-st (implies (vl-lucidstate-equiv st st-equiv) (equal (vl-interface-lucidcheck x ss st) (vl-interface-lucidcheck x ss st-equiv))) :rule-classes :congruence)