(vl-interfaceport-lucidcheck x ss st) → new-st
Function:
(defun vl-interfaceport-lucidcheck (x ss st) (declare (xargs :guard (and (vl-interfaceport-p x) (vl-scopestack-p ss) (vl-lucidstate-p st)))) (declare (xargs :guard t)) (let ((__function__ 'vl-interfaceport-lucidcheck)) (declare (ignorable __function__)) (b* ((x (vl-interfaceport-fix x)) (ss (vl-scopestack-fix ss)) (st (vl-lucidstate-fix st))) (b* (((vl-interfaceport x)) (ctx (vl-lucid-ctx ss x)) (st (vl-packeddimensionlist-lucidcheck x.udims ss st ctx))) st))))
Theorem:
(defthm vl-lucidstate-p-of-vl-interfaceport-lucidcheck (b* ((new-st (vl-interfaceport-lucidcheck x ss st))) (vl-lucidstate-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-interfaceport-lucidcheck-of-vl-interfaceport-fix-x (equal (vl-interfaceport-lucidcheck (vl-interfaceport-fix x) ss st) (vl-interfaceport-lucidcheck x ss st)))
Theorem:
(defthm vl-interfaceport-lucidcheck-vl-interfaceport-equiv-congruence-on-x (implies (vl-interfaceport-equiv x x-equiv) (equal (vl-interfaceport-lucidcheck x ss st) (vl-interfaceport-lucidcheck x-equiv ss st))) :rule-classes :congruence)
Theorem:
(defthm vl-interfaceport-lucidcheck-of-vl-scopestack-fix-ss (equal (vl-interfaceport-lucidcheck x (vl-scopestack-fix ss) st) (vl-interfaceport-lucidcheck x ss st)))
Theorem:
(defthm vl-interfaceport-lucidcheck-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-interfaceport-lucidcheck x ss st) (vl-interfaceport-lucidcheck x ss-equiv st))) :rule-classes :congruence)
Theorem:
(defthm vl-interfaceport-lucidcheck-of-vl-lucidstate-fix-st (equal (vl-interfaceport-lucidcheck x ss (vl-lucidstate-fix st)) (vl-interfaceport-lucidcheck x ss st)))
Theorem:
(defthm vl-interfaceport-lucidcheck-vl-lucidstate-equiv-congruence-on-st (implies (vl-lucidstate-equiv st st-equiv) (equal (vl-interfaceport-lucidcheck x ss st) (vl-interfaceport-lucidcheck x ss st-equiv))) :rule-classes :congruence)