A list of zero or more
(abstract-conc-rest trees) → repetitions
Function:
(defun abstract-conc-rest (trees) (declare (xargs :guard (tree-listp trees))) (b* (((fun (fail)) (abstract-fail)) ((when (endp trees)) nil) ((cons tree trees) trees) ((unless (tree-case tree :nonleaf)) (fail)) (repetition (abstract-conc-rest-comp tree)) (repetitions (abstract-conc-rest trees))) (cons repetition repetitions)))