Return the information for the defsurj specified by name,
or
(defsurj-lookup name wrld) → info?
This is a wrapper of defmapping-lookup
that makes sure that the
Function:
(defun defsurj-lookup (name wrld) (declare (xargs :guard (and (symbolp name) (plist-worldp wrld)))) (let ((__function__ 'defsurj-lookup)) (declare (ignorable __function__)) (b* ((info (defmapping-lookup name wrld)) ((when (not info)) nil) ((when (not (defmapping-info->alpha-of-beta info))) (raise "The mapping ~x0 does not have the :ALPHA-OF-BETA theorem." name))) info)))