(cst-address-literal-conc2-rep abnf::cst) → abnf::csts
Function:
(defun cst-address-literal-conc2-rep (abnf::cst) (declare (xargs :guard (abnf::treep abnf::cst))) (declare (xargs :guard (and (cst-matchp abnf::cst "address-literal") (equal (cst-address-literal-conc? abnf::cst) 2)))) (let ((__function__ 'cst-address-literal-conc2-rep)) (declare (ignorable __function__)) (abnf::tree-list-fix (nth 0 (cst-address-literal-conc2 abnf::cst)))))
Theorem:
(defthm tree-listp-of-cst-address-literal-conc2-rep (b* ((abnf::csts (cst-address-literal-conc2-rep abnf::cst))) (abnf::tree-listp abnf::csts)) :rule-classes :rewrite)
Theorem:
(defthm cst-address-literal-conc2-rep-match (implies (and (cst-matchp abnf::cst "address-literal") (equal (cst-address-literal-conc? abnf::cst) 2)) (b* ((abnf::csts (cst-address-literal-conc2-rep abnf::cst))) (cst-list-rep-matchp abnf::csts "program-address-literal"))) :rule-classes :rewrite)
Theorem:
(defthm cst-address-literal-conc2-rep-of-tree-fix-cst (equal (cst-address-literal-conc2-rep (abnf::tree-fix abnf::cst)) (cst-address-literal-conc2-rep abnf::cst)))
Theorem:
(defthm cst-address-literal-conc2-rep-tree-equiv-congruence-on-cst (implies (abnf::tree-equiv abnf::cst cst-equiv) (equal (cst-address-literal-conc2-rep abnf::cst) (cst-address-literal-conc2-rep cst-equiv))) :rule-classes :congruence)