Generate the function
(schemalg-gen-algo schema algo algo-enable x-z1...zm x ?g ?g0 ?g1 ?h verify-guards) → (mv local-event exported-event)
Function:
(defun schemalg-gen-algo (schema algo algo-enable x-z1...zm x ?g ?g0 ?g1 ?h verify-guards) (declare (xargs :guard (and (keywordp schema) (symbolp algo) (booleanp algo-enable) (symbol-listp x-z1...zm) (symbolp x) (symbolp ?g) (symbolp ?g0) (symbolp ?g1) (symbolp ?h) (booleanp verify-guards)))) (let ((__function__ 'schemalg-gen-algo)) (declare (ignorable __function__)) (case schema (:divconq-list-0-1 (schemalg-gen-algo-divconq-list-0-1 algo algo-enable x-z1...zm x ?g ?h verify-guards)) (:divconq-list-0-1-2 (schemalg-gen-algo-divconq-list-0-1-2 algo algo-enable x-z1...zm x ?g0 ?g1 ?h verify-guards)) (:divconq-oset-0-1 (schemalg-gen-algo-divconq-oset-0-1 algo algo-enable x-z1...zm x ?g ?h verify-guards)) (t (prog2$ (raise "Internal error: unknown schema ~x0." schema) (mv '(irrelevant) '(irrelevant)))))))
Theorem:
(defthm pseudo-event-formp-of-schemalg-gen-algo.local-event (b* (((mv ?local-event ?exported-event) (schemalg-gen-algo schema algo algo-enable x-z1...zm x ?g ?g0 ?g1 ?h verify-guards))) (pseudo-event-formp local-event)) :rule-classes :rewrite)
Theorem:
(defthm pseudo-event-formp-of-schemalg-gen-algo.exported-event (b* (((mv ?local-event ?exported-event) (schemalg-gen-algo schema algo algo-enable x-z1...zm x ?g ?g0 ?g1 ?h verify-guards))) (pseudo-event-formp exported-event)) :rule-classes :rewrite)