Look up an atc call in the table.
(atc-table-lookup call wrld) → info?
Function:
(defun atc-table-lookup (call wrld) (declare (xargs :guard (and (pseudo-event-formp call) (plist-worldp wrld)))) (let ((__function__ 'atc-table-lookup)) (declare (ignorable __function__)) (b* ((table (table-alist+ *atc-table* wrld)) (info? (cdr (assoc-equal call table)))) (if (atc-maybe-call-infop info?) info? (raise "Internal error: malformed value ~x0 of key ~x1 in the ATC table." info? call)))))
Theorem:
(defthm atc-maybe-call-infop-of-atc-table-lookup (b* ((info? (atc-table-lookup call wrld))) (atc-maybe-call-infop info?)) :rule-classes :rewrite)