(vl-paramdecl-ctxexprs x mod ss) → ctxexprs
Function:
(defun vl-paramdecl-ctxexprs (x mod ss) (declare (xargs :guard (and (vl-paramdecl-p x) (stringp mod) (vl-scopestack-p ss)))) (let ((__function__ 'vl-paramdecl-ctxexprs)) (declare (ignorable __function__)) (let ((x (vl-paramdecl-fix x))) (vl-exprlist-ctxexprs (vl-paramdecl-allexprs x) (make-vl-context1 :mod mod :elem x) ss))))
Theorem:
(defthm vl-ctxexprlist-p-of-vl-paramdecl-ctxexprs (b* ((ctxexprs (vl-paramdecl-ctxexprs x mod ss))) (vl-ctxexprlist-p ctxexprs)) :rule-classes :rewrite)
Theorem:
(defthm vl-paramdecl-ctxexprs-of-vl-paramdecl-fix-x (equal (vl-paramdecl-ctxexprs (vl-paramdecl-fix x) mod ss) (vl-paramdecl-ctxexprs x mod ss)))
Theorem:
(defthm vl-paramdecl-ctxexprs-vl-paramdecl-equiv-congruence-on-x (implies (vl-paramdecl-equiv x x-equiv) (equal (vl-paramdecl-ctxexprs x mod ss) (vl-paramdecl-ctxexprs x-equiv mod ss))) :rule-classes :congruence)
Theorem:
(defthm vl-paramdecl-ctxexprs-of-str-fix-mod (equal (vl-paramdecl-ctxexprs x (str-fix mod) ss) (vl-paramdecl-ctxexprs x mod ss)))
Theorem:
(defthm vl-paramdecl-ctxexprs-streqv-congruence-on-mod (implies (streqv mod mod-equiv) (equal (vl-paramdecl-ctxexprs x mod ss) (vl-paramdecl-ctxexprs x mod-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-paramdecl-ctxexprs-of-vl-scopestack-fix-ss (equal (vl-paramdecl-ctxexprs x mod (vl-scopestack-fix ss)) (vl-paramdecl-ctxexprs x mod ss)))
Theorem:
(defthm vl-paramdecl-ctxexprs-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-paramdecl-ctxexprs x mod ss) (vl-paramdecl-ctxexprs x mod ss-equiv))) :rule-classes :congruence)