A
(abstract-alt-rest-comp tree) → concatenation
Function:
(defun abstract-alt-rest-comp (tree) (declare (xargs :guard (treep tree))) (b* (((fun (fail)) (abstract-fail)) ((unless (tree-case tree :nonleaf)) (fail)) (treess (tree-nonleaf->branches tree)) ((unless (and (consp treess) (consp (cdr treess)) (consp (cddr treess)) (consp (cdddr treess)))) (fail)) (trees (cadddr treess)) ((unless (consp trees)) (fail)) (tree (car trees))) (abstract-concatenation tree)))