Definition of reserved keywords based on the grammar.
This defines a reserved keyword as a string at the leaves of
a terminated tree rooted at the
Theorem:
(defthm grammar-reserved-keywordp-suff (implies (and (abnf-tree-with-root-p tree "reserved-keyword") (equal (abnf::tree->string tree) x)) (grammar-reserved-keywordp x)))
Theorem:
(defthm booleanp-of-grammar-reserved-keywordp (b* ((yes/no (grammar-reserved-keywordp x))) (booleanp yes/no)) :rule-classes :rewrite)