Event expansion of wrap-fn.
(wrap-fn-fn const-old const-new targets ctx state) → (mv erp event state)
Function:
(defun wrap-fn-fn (const-old const-new targets ctx state) (declare (xargs :stobjs (state))) (declare (xargs :guard (ctxp ctx))) (b* (((mv erp event) (wrap-fn-process-inputs-and-gen-everything const-old const-new targets (w state))) ((when erp) (er-soft+ ctx t '(_) "~@0" erp))) (value event)))
Theorem:
(defthm booleanp-of-wrap-fn-fn.erp (b* (((mv acl2::?erp acl2::?event acl2::?state) (wrap-fn-fn const-old const-new targets ctx state))) (booleanp erp)) :rule-classes :type-prescription)
Theorem:
(defthm pseudo-event-formp-of-wrap-fn-fn.event (b* (((mv acl2::?erp acl2::?event acl2::?state) (wrap-fn-fn const-old const-new targets ctx state))) (pseudo-event-formp event)) :rule-classes :rewrite)