Look up a deftreeops in the table.
(deftreeops-table-lookup grammar wrld) → info?
Function:
(defun deftreeops-table-lookup (grammar wrld) (declare (xargs :guard (and (common-lisp::symbolp grammar) (plist-worldp wrld)))) (let ((__function__ 'deftreeops-table-lookup)) (declare (ignorable __function__)) (b* ((info? (cdr (assoc-eq grammar (table-alist+ 'deftreeops-table wrld))))) (and (deftreeops-table-valuep info?) info?))))
Theorem:
(defthm deftreeops-table-value-optionp-of-deftreeops-table-lookup (b* ((info? (deftreeops-table-lookup grammar wrld))) (deftreeops-table-value-optionp info?)) :rule-classes :rewrite)