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