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