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