check the arities of given function symbols
Example: (arities-okp '((IF . 3) (CAR . 1) (CONS . 2)) (w state)) General Form: (arities-okp alist w)
where
Function:
(defun arities-okp (user-table w) (declare (xargs :guard (and (symbol-alistp user-table) (plist-worldp-with-formals w)))) (cond ((endp user-table) t) (t (and (equal (arity (car (car user-table)) w) (cdr (car user-table))) (logicp (car (car user-table)) w) (arities-okp (cdr user-table) w)))))