(vl-streamexprlist->subexprs x) → subexprs
Function:
(defun vl-streamexprlist->subexprs (x) (declare (xargs :guard (vl-streamexprlist-p x))) (let ((__function__ 'vl-streamexprlist->subexprs)) (declare (ignorable __function__)) (if (atom x) nil (append (vl-streamexpr->subexprs (car x)) (vl-streamexprlist->subexprs (cdr x))))))
Theorem:
(defthm vl-exprlist-p-of-vl-streamexprlist->subexprs (b* ((subexprs (vl-streamexprlist->subexprs x))) (vl-exprlist-p subexprs)) :rule-classes :rewrite)
Theorem:
(defthm vl-exprlist-count-of-vl-streamexprlist->subexprs (b* ((?subexprs (vl-streamexprlist->subexprs x))) (<= (vl-exprlist-count subexprs) (vl-streamexprlist-count x))) :rule-classes :linear)
Theorem:
(defthm vl-streamexprlist->subexprs-of-vl-streamexprlist-fix-x (equal (vl-streamexprlist->subexprs (vl-streamexprlist-fix x)) (vl-streamexprlist->subexprs x)))
Theorem:
(defthm vl-streamexprlist->subexprs-vl-streamexprlist-equiv-congruence-on-x (implies (vl-streamexprlist-equiv x x-equiv) (equal (vl-streamexprlist->subexprs x) (vl-streamexprlist->subexprs x-equiv))) :rule-classes :congruence)