Recognize plain second-order functions.
(plain-sofunp sofun wrld) → yes/no
Function:
(defun plain-sofunp (sofun wrld) (declare (xargs :guard (plist-worldp wrld))) (let ((__function__ 'plain-sofunp)) (declare (ignorable __function__)) (and (sofunp sofun wrld) (eq (sofun-kind sofun wrld) 'plain))))
Theorem:
(defthm booleanp-of-plain-sofunp (b* ((yes/no (plain-sofunp sofun wrld))) (booleanp yes/no)) :rule-classes :rewrite)