Retrieve the name of the rewrite rule of a function introduced via defun-sk.
(defun-sk-rewrite-name fn wrld) → name
Function:
(defun defun-sk-rewrite-name (fn wrld) (declare (xargs :guard (and (plist-worldp wrld) (defun-sk-namep fn wrld)))) (let ((__function__ 'defun-sk-rewrite-name)) (declare (ignorable __function__)) (b* ((options (defun-sk-options fn wrld)) (pair (assoc-eq :thm-name options)) ((unless (null pair)) (cdr pair)) (quantifier (defun-sk-quantifier fn wrld))) (case quantifier (forall (add-suffix fn "-NECC")) (exists (add-suffix fn "-SUFF")) (t (impossible))))))