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