(cst-expression-conc-rep-elem abnf::cst) → abnf::cst1
Function:
(defun cst-expression-conc-rep-elem (abnf::cst) (declare (xargs :guard (abnf::treep abnf::cst))) (declare (xargs :guard (cst-matchp abnf::cst "expression"))) (let ((__function__ 'cst-expression-conc-rep-elem)) (declare (ignorable __function__)) (abnf::tree-fix (nth 0 (cst-expression-conc-rep abnf::cst)))))
Theorem:
(defthm treep-of-cst-expression-conc-rep-elem (b* ((abnf::cst1 (cst-expression-conc-rep-elem abnf::cst))) (abnf::treep abnf::cst1)) :rule-classes :rewrite)
Theorem:
(defthm cst-expression-conc-rep-elem-match (implies (cst-matchp abnf::cst "expression") (b* ((abnf::cst1 (cst-expression-conc-rep-elem abnf::cst))) (cst-matchp abnf::cst1 "addition-expression"))) :rule-classes :rewrite)
Theorem:
(defthm cst-expression-conc-rep-elem-of-tree-fix-cst (equal (cst-expression-conc-rep-elem (abnf::tree-fix abnf::cst)) (cst-expression-conc-rep-elem abnf::cst)))
Theorem:
(defthm cst-expression-conc-rep-elem-tree-equiv-congruence-on-cst (implies (abnf::tree-equiv abnf::cst cst-equiv) (equal (cst-expression-conc-rep-elem abnf::cst) (cst-expression-conc-rep-elem cst-equiv))) :rule-classes :congruence)