(toplevel-fn-names top) → nms
Function:
(defun toplevel-fn-names (top) (declare (xargs :guard (toplevelp top))) (let ((__function__ 'toplevel-fn-names)) (declare (ignorable __function__)) (if (toplevelp top) (case (toplevel-kind top) (:function (function-definition-names (list (toplevel-function->get top)))) (:functions (function-definition-names (function-recursion->definitions (toplevel-functions->get top)))) (otherwise nil)) nil)))
Theorem:
(defthm string-listp-of-toplevel-fn-names (b* ((nms (toplevel-fn-names top))) (string-listp nms)) :rule-classes :rewrite)