Generate the event that extends the defarbrec table.
(defarbrec-gen-extend-table fn$ x1...xn$ body$ update-names$ terminates-name$ measure-name$ call$ expansion) → event
Function:
(defun defarbrec-gen-extend-table (fn$ x1...xn$ body$ update-names$ terminates-name$ measure-name$ call$ expansion) (declare (xargs :guard (and (symbolp fn$) (symbol-listp x1...xn$) (pseudo-termp body$) (symbol-listp update-names$) (symbolp terminates-name$) (symbolp measure-name$) (pseudo-event-formp call$) (pseudo-event-formp expansion)))) (let ((__function__ 'defarbrec-gen-extend-table)) (declare (ignorable __function__)) (b* ((info (make-defarbrec-info :call$ call$ :expansion expansion :x1...xn x1...xn$ :body body$ :update-fns update-names$ :terminates-fn terminates-name$ :measure-fn measure-name$))) (cons 'table (cons *defarbrec-table-name* (cons (cons 'quote (cons fn$ 'nil)) (cons (cons 'quote (cons info 'nil)) 'nil)))))))
Theorem:
(defthm pseudo-event-formp-of-defarbrec-gen-extend-table (b* ((event (defarbrec-gen-extend-table fn$ x1...xn$ body$ update-names$ terminates-name$ measure-name$ call$ expansion))) (pseudo-event-formp event)) :rule-classes :rewrite)