Function variables depended on by a second-order theorem or by an instance of it.
(funvars-of-thm thm wrld) → funvars
Second-order theorems and their instances may depend on function variables via their formulas.
The returned list may contain duplicates.
Function:
(defun funvars-of-thm (thm wrld) (declare (xargs :guard (and (symbolp thm) (plist-worldp wrld)))) (let ((__function__ 'funvars-of-thm)) (declare (ignorable __function__)) (funvars-of-term (formula thm nil wrld) wrld)))