Recognize symbols that name macros.
(macro-namep x wrld) → yes/no
This function is enabled because it is meant as an abbreviation. Thus, theorems triggered by this function should be generally avoided.
Function:
(defun macro-namep (x wrld) (declare (xargs :guard (plist-worldp wrld))) (let ((__function__ 'macro-namep)) (declare (ignorable __function__)) (and (symbolp x) (macro-symbolp x wrld))))
Theorem:
(defthm booleanp-of-macro-namep (b* ((yes/no (macro-namep x wrld))) (booleanp yes/no)) :rule-classes :rewrite)