(ocst-case-conc abnf::cst) → abnf::cstss
Function:
(defun ocst-case-conc (abnf::cst) (declare (xargs :guard (abnf::treep abnf::cst))) (declare (xargs :guard (ocst-matchp abnf::cst "case"))) (let ((__function__ 'ocst-case-conc)) (declare (ignorable __function__)) (abnf::tree-nonleaf->branches abnf::cst)))
Theorem:
(defthm tree-list-listp-of-ocst-case-conc (b* ((abnf::cstss (ocst-case-conc abnf::cst))) (abnf::tree-list-listp abnf::cstss)) :rule-classes :rewrite)
Theorem:
(defthm ocst-case-conc-match (implies (ocst-matchp abnf::cst "case") (b* ((abnf::cstss (ocst-case-conc abnf::cst))) (ocst-list-list-conc-matchp abnf::cstss "%s\"case\" literal block"))) :rule-classes :rewrite)
Theorem:
(defthm ocst-case-conc-of-tree-fix-cst (equal (ocst-case-conc (abnf::tree-fix abnf::cst)) (ocst-case-conc abnf::cst)))
Theorem:
(defthm ocst-case-conc-tree-equiv-congruence-on-cst (implies (abnf::tree-equiv abnf::cst cst-equiv) (equal (ocst-case-conc abnf::cst) (ocst-case-conc cst-equiv))) :rule-classes :congruence)