Collect up a vl-exprctxalist-p from a list of vl-fundecllist-ps.
(vl-fundecllist-ctxexprs mod x) → alist
Function:
(defun vl-fundecllist-ctxexprs (mod x) (declare (xargs :guard (and (stringp mod) (vl-fundecllist-p x)))) (let ((__function__ 'vl-fundecllist-ctxexprs)) (declare (ignorable __function__)) (mbe :logic (if (atom x) nil (append (vl-fundecl-ctxexprs mod (car x)) (vl-fundecllist-ctxexprs mod (cdr x)))) :exec (with-local-nrev (vl-fundecllist-ctxexprs-nrev mod x nrev)))))
Theorem:
(defthm vl-exprctxalist-p-of-vl-fundecllist-ctxexprs (b* ((alist (vl-fundecllist-ctxexprs mod x))) (vl-exprctxalist-p alist)) :rule-classes :rewrite)
Theorem:
(defthm vl-fundecllist-ctxexprs-nrev-removal (equal (vl-fundecllist-ctxexprs-nrev mod x nrev) (append nrev (vl-fundecllist-ctxexprs mod x))))
Theorem:
(defthm vl-fundecllist-ctxexprs-of-str-fix-mod (equal (vl-fundecllist-ctxexprs (str-fix mod) x) (vl-fundecllist-ctxexprs mod x)))
Theorem:
(defthm vl-fundecllist-ctxexprs-streqv-congruence-on-mod (implies (streqv mod mod-equiv) (equal (vl-fundecllist-ctxexprs mod x) (vl-fundecllist-ctxexprs mod-equiv x))) :rule-classes :congruence)
Theorem:
(defthm vl-fundecllist-ctxexprs-of-vl-fundecllist-fix-x (equal (vl-fundecllist-ctxexprs mod (vl-fundecllist-fix x)) (vl-fundecllist-ctxexprs mod x)))
Theorem:
(defthm vl-fundecllist-ctxexprs-vl-fundecllist-equiv-congruence-on-x (implies (vl-fundecllist-equiv x x-equiv) (equal (vl-fundecllist-ctxexprs mod x) (vl-fundecllist-ctxexprs mod x-equiv))) :rule-classes :congruence)