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