Lift the composition of jcmember-class followed by jcbody-element-member to lists.
(jclasses-to-jcbody-elements classes) → cbody-elements
Function:
(defun jclasses-to-jcbody-elements (classes) (declare (xargs :guard (jclass-listp classes))) (let ((__function__ 'jclasses-to-jcbody-elements)) (declare (ignorable __function__)) (cond ((endp classes) nil) (t (cons (jcbody-element-member (jcmember-class (car classes))) (jclasses-to-jcbody-elements (cdr classes)))))))
Theorem:
(defthm jcbody-element-listp-of-jclasses-to-jcbody-elements (b* ((cbody-elements (jclasses-to-jcbody-elements classes))) (jcbody-element-listp cbody-elements)) :rule-classes :rewrite)