(vl-arguments-lucidcheck x ss st ctx) → new-st
Function:
(defun vl-arguments-lucidcheck (x ss st ctx) (declare (xargs :guard (and (vl-arguments-p x) (vl-scopestack-p ss) (vl-lucidstate-p st) (vl-context1-p ctx)))) (declare (xargs :guard t)) (let ((__function__ 'vl-arguments-lucidcheck)) (declare (ignorable __function__)) (b* ((x (vl-arguments-fix x)) (ss (vl-scopestack-fix ss)) (st (vl-lucidstate-fix st))) (vl-arguments-case x :vl-arguments-plain (vl-plainarglist-lucidcheck x.args ss st ctx) :vl-arguments-named (vl-namedarglist-lucidcheck x.args ss st ctx)))))
Theorem:
(defthm vl-lucidstate-p-of-vl-arguments-lucidcheck (b* ((new-st (vl-arguments-lucidcheck x ss st ctx))) (vl-lucidstate-p new-st)) :rule-classes :rewrite)
Theorem:
(defthm vl-arguments-lucidcheck-of-vl-arguments-fix-x (equal (vl-arguments-lucidcheck (vl-arguments-fix x) ss st ctx) (vl-arguments-lucidcheck x ss st ctx)))
Theorem:
(defthm vl-arguments-lucidcheck-vl-arguments-equiv-congruence-on-x (implies (vl-arguments-equiv x x-equiv) (equal (vl-arguments-lucidcheck x ss st ctx) (vl-arguments-lucidcheck x-equiv ss st ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-arguments-lucidcheck-of-vl-scopestack-fix-ss (equal (vl-arguments-lucidcheck x (vl-scopestack-fix ss) st ctx) (vl-arguments-lucidcheck x ss st ctx)))
Theorem:
(defthm vl-arguments-lucidcheck-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-arguments-lucidcheck x ss st ctx) (vl-arguments-lucidcheck x ss-equiv st ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-arguments-lucidcheck-of-vl-lucidstate-fix-st (equal (vl-arguments-lucidcheck x ss (vl-lucidstate-fix st) ctx) (vl-arguments-lucidcheck x ss st ctx)))
Theorem:
(defthm vl-arguments-lucidcheck-vl-lucidstate-equiv-congruence-on-st (implies (vl-lucidstate-equiv st st-equiv) (equal (vl-arguments-lucidcheck x ss st ctx) (vl-arguments-lucidcheck x ss st-equiv ctx))) :rule-classes :congruence)
Theorem:
(defthm vl-arguments-lucidcheck-of-vl-context1-fix-ctx (equal (vl-arguments-lucidcheck x ss st (vl-context1-fix ctx)) (vl-arguments-lucidcheck x ss st ctx)))
Theorem:
(defthm vl-arguments-lucidcheck-vl-context1-equiv-congruence-on-ctx (implies (vl-context1-equiv ctx ctx-equiv) (equal (vl-arguments-lucidcheck x ss st ctx) (vl-arguments-lucidcheck x ss st ctx-equiv))) :rule-classes :congruence)