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