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