Abstract a
(abs-comma-expression tree) → expr
Function:
(defun abs-comma-expression (tree) (declare (xargs :guard (abnf::treep tree))) (let ((__function__ 'abs-comma-expression)) (declare (ignorable __function__)) (b* (((okf (abnf::tree-list-tuple2 sub)) (check-tree-nonleaf-2 tree nil)) ((okf tree) (check-tree-list-1 sub.1st)) ((okf &) (check-tree-ichars tree ",")) ((okf tree) (check-tree-list-1 sub.2nd))) (abs-expression tree))))
Theorem:
(defthm expression-resultp-of-abs-comma-expression (b* ((expr (abs-comma-expression tree))) (expression-resultp expr)) :rule-classes :rewrite)
Theorem:
(defthm abs-comma-expression-of-tree-fix-tree (equal (abs-comma-expression (abnf::tree-fix tree)) (abs-comma-expression tree)))
Theorem:
(defthm abs-comma-expression-tree-equiv-congruence-on-tree (implies (abnf::tree-equiv tree tree-equiv) (equal (abs-comma-expression tree) (abs-comma-expression tree-equiv))) :rule-classes :congruence)