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