Check if a function was introduced via defchoose, returning the function's constraining axiom if the check succeeds.
(defchoosep fn wrld) → axiom
If the check fails,
A function introduced via defchoose is recognizable
by the presence of the
This utility causes an error if called on a symbol that is not a function symbol.
Function:
(defun defchoosep (fn wrld) (declare (xargs :guard (and (symbolp fn) (plist-worldp wrld)))) (let ((__function__ 'defchoosep)) (declare (ignorable __function__)) (if (not (function-symbolp fn wrld)) (raise "The symbol ~x0 does not name a function." fn) (getpropc fn 'defchoose-axiom nil wrld))))