Recognize symbols that name constants.
(constant-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.
(defun constant-namep (x wrld) (declare (xargs :guard (plist-worldp wrld))) (let ((__function__ 'constant-namep)) (declare (ignorable __function__)) (and (symbolp x) (constant-symbolp x wrld))))
(defthm booleanp-of-constant-namep (b* ((yes/no (constant-namep x wrld))) (booleanp yes/no)) :rule-classes :rewrite)