Bound variables of a function introduced via defchoose.
(defchoose-bound-vars fn wrld) → bound-vars
The bound variables are in the third element of the defchoose event, which is either a single bound variable or a non-empty list of bound variables.
Function:
(defun defchoose-bound-vars (fn wrld) (declare (xargs :guard (and (plist-worldp wrld) (defchoose-namep fn wrld)))) (let ((__function__ 'defchoose-bound-vars)) (declare (ignorable __function__)) (let* ((event (get-event fn wrld)) (bound-var/bound-vars (third event))) (if (symbolp bound-var/bound-vars) (list bound-var/bound-vars) bound-var/bound-vars))))