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