(vl-modelementlist->genelements x) → xx
Function:
(defun vl-modelementlist->genelements (x) (declare (xargs :guard (vl-modelementlist-p x))) (let ((__function__ 'vl-modelementlist->genelements)) (declare (ignorable __function__)) (if (atom x) nil (cons (make-vl-genbase :item (car x)) (vl-modelementlist->genelements (cdr x))))))
Theorem:
(defthm vl-genelementlist-p-of-vl-modelementlist->genelements (b* ((xx (vl-modelementlist->genelements x))) (vl-genelementlist-p xx)) :rule-classes :rewrite)
Theorem:
(defthm vl-modelementlist->genelements-of-vl-modelementlist-fix-x (equal (vl-modelementlist->genelements (vl-modelementlist-fix x)) (vl-modelementlist->genelements x)))
Theorem:
(defthm vl-modelementlist->genelements-vl-modelementlist-equiv-congruence-on-x (implies (vl-modelementlist-equiv x x-equiv) (equal (vl-modelementlist->genelements x) (vl-modelementlist->genelements x-equiv))) :rule-classes :congruence)