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