(ocst-numberliteral-conc2 abnf::cst) → abnf::cstss
Function:
(defun ocst-numberliteral-conc2 (abnf::cst) (declare (xargs :guard (abnf::treep abnf::cst))) (declare (xargs :guard (and (ocst-matchp abnf::cst "numberliteral") (equal (ocst-numberliteral-conc? abnf::cst) 2)))) (let ((__function__ 'ocst-numberliteral-conc2)) (declare (ignorable __function__)) (abnf::tree-nonleaf->branches abnf::cst)))
Theorem:
(defthm tree-list-listp-of-ocst-numberliteral-conc2 (b* ((abnf::cstss (ocst-numberliteral-conc2 abnf::cst))) (abnf::tree-list-listp abnf::cstss)) :rule-classes :rewrite)
Theorem:
(defthm ocst-numberliteral-conc2-match (implies (and (ocst-matchp abnf::cst "numberliteral") (equal (ocst-numberliteral-conc? abnf::cst) 2)) (b* ((abnf::cstss (ocst-numberliteral-conc2 abnf::cst))) (ocst-list-list-conc-matchp abnf::cstss "decimalnumber"))) :rule-classes :rewrite)
Theorem:
(defthm ocst-numberliteral-conc2-of-tree-fix-cst (equal (ocst-numberliteral-conc2 (abnf::tree-fix abnf::cst)) (ocst-numberliteral-conc2 abnf::cst)))
Theorem:
(defthm ocst-numberliteral-conc2-tree-equiv-congruence-on-cst (implies (abnf::tree-equiv abnf::cst cst-equiv) (equal (ocst-numberliteral-conc2 abnf::cst) (ocst-numberliteral-conc2 cst-equiv))) :rule-classes :congruence)