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