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