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