Event expansion of deftreeops.
(deftreeops-fn args call ctx state) → (mv erp event state)
Function:
(defun deftreeops-fn (args call ctx state) (declare (xargs :stobjs (state))) (declare (xargs :guard (and (true-listp args) (pseudo-event-formp call) (ctxp ctx)))) (let ((__function__ 'deftreeops-fn)) (declare (ignorable __function__)) (b* (((mv erp event) (deftreeops-process-inputs-and-gen-everything args call (w state))) ((when erp) (er-soft+ ctx t '(_) "~@0" erp))) (value event))))
Theorem:
(defthm pseudo-event-formp-of-deftreeops-fn.event (b* (((mv acl2::?erp acl2::?event acl2::?state) (deftreeops-fn args call ctx state))) (pseudo-event-formp event)) :rule-classes :rewrite)