Abstract a
(abs-comma-struct-component-declaration tree) → ret-comp
Function:
(defun abs-comma-struct-component-declaration (tree) (declare (xargs :guard (abnf::treep tree))) (let ((__function__ 'abs-comma-struct-component-declaration)) (declare (ignorable __function__)) (b* (((okf (abnf::tree-list-tuple2 sub)) (abnf::check-tree-nonleaf-2 tree nil)) ((okf tree) (abnf::check-tree-list-1 sub.1st)) ((okf &) (abnf::check-tree-ichars tree ",")) ((okf tree) (abnf::check-tree-list-1 sub.2nd))) (abs-struct-component-declaration tree))))
Theorem:
(defthm compdecl-resultp-of-abs-comma-struct-component-declaration (b* ((ret-comp (abs-comma-struct-component-declaration tree))) (compdecl-resultp ret-comp)) :rule-classes :rewrite)
Theorem:
(defthm abs-comma-struct-component-declaration-of-tree-fix-tree (equal (abs-comma-struct-component-declaration (abnf::tree-fix tree)) (abs-comma-struct-component-declaration tree)))
Theorem:
(defthm abs-comma-struct-component-declaration-tree-equiv-congruence-on-tree (implies (abnf::tree-equiv tree tree-equiv) (equal (abs-comma-struct-component-declaration tree) (abs-comma-struct-component-declaration tree-equiv))) :rule-classes :congruence)