Abstract a
(abs-double-quote-escape tree) → char
Function:
(defun abs-double-quote-escape (tree) (declare (xargs :guard (abnf::treep tree))) (let ((__function__ 'abs-double-quote-escape)) (declare (ignorable __function__)) (b* (((okf (abnf::tree-list-tuple2 sub)) (abnf::check-tree-nonleaf-2 tree "double-quote-escape")) ((okf backslash-tree) (abnf::check-tree-list-1 sub.1st)) ((okf &) (abnf::check-tree-ichars backslash-tree "\\")) ((okf dquote-tree) (abnf::check-tree-list-1 sub.2nd))) (abs-double-quote dquote-tree))))
Theorem:
(defthm char-resultp-of-abs-double-quote-escape (b* ((char (abs-double-quote-escape tree))) (char-resultp char)) :rule-classes :rewrite)
Theorem:
(defthm abs-double-quote-escape-of-tree-fix-tree (equal (abs-double-quote-escape (abnf::tree-fix tree)) (abs-double-quote-escape tree)))
Theorem:
(defthm abs-double-quote-escape-tree-equiv-congruence-on-tree (implies (abnf::tree-equiv tree tree-equiv) (equal (abs-double-quote-escape tree) (abs-double-quote-escape tree-equiv))) :rule-classes :congruence)