Recognize contextual Java keywords.
(contextual-keywordp x) → yes/no
A contextual Java keyword is a list of Java Unicode characters that consist of the (ASCII) codes of some element in *contextual-keywords*.
Function:
(defun contextual-keywordp (x) (declare (xargs :guard t)) (and (ascii-listp x) (member-equal (ascii=>string x) *contextual-keywords*) t))
Theorem:
(defthm booleanp-of-contextual-keywordp (b* ((yes/no (contextual-keywordp x))) (booleanp yes/no)) :rule-classes :rewrite)