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