Abstract an
(abs-output-section tree) → outsec
Function:
(defun abs-output-section (tree) (declare (xargs :guard (abnf::treep tree))) (let ((__function__ 'abs-output-section)) (declare (ignorable __function__)) (b* (((okf (abnf::tree-list-tuple2 sub)) (abnf::check-tree-nonleaf-2 tree "output-section")) ((okf tree) (abnf::check-tree-list-1 sub.2nd)) ((okf outitem) (abs-output-item tree))) (output-section outitem))))
Theorem:
(defthm output-section-resultp-of-abs-output-section (b* ((outsec (abs-output-section tree))) (output-section-resultp outsec)) :rule-classes :rewrite)
Theorem:
(defthm abs-output-section-of-tree-fix-tree (equal (abs-output-section (abnf::tree-fix tree)) (abs-output-section tree)))
Theorem:
(defthm abs-output-section-tree-equiv-congruence-on-tree (implies (abnf::tree-equiv tree tree-equiv) (equal (abs-output-section tree) (abs-output-section tree-equiv))) :rule-classes :congruence)