Generate the function
(schemalg-gen-new new new-enable spec1...specq equal-algo verify-guards) → (mv local-event exported-event)
Function:
(defun schemalg-gen-new (new new-enable spec1...specq equal-algo verify-guards) (declare (xargs :guard (and (symbolp new) (booleanp new-enable) (symbol-listp spec1...specq) (symbolp equal-algo) (booleanp verify-guards)))) (let ((__function__ 'schemalg-gen-new)) (declare (ignorable __function__)) (b* ((spec1...specq-calls (loop$ for spec in spec1...specq collect (list spec)))) (evmac-generate-soft-defun2 new :formals nil :guard t :body (cons 'and (cons (cons equal-algo 'nil) spec1...specq-calls)) :verify-guards verify-guards :enable new-enable :guard-hints '(("Goal" :in-theory nil))))))
Theorem:
(defthm pseudo-event-formp-of-schemalg-gen-new.local-event (b* (((mv ?local-event ?exported-event) (schemalg-gen-new new new-enable spec1...specq equal-algo verify-guards))) (pseudo-event-formp local-event)) :rule-classes :rewrite)
Theorem:
(defthm pseudo-event-formp-of-schemalg-gen-new.exported-event (b* (((mv ?local-event ?exported-event) (schemalg-gen-new new new-enable spec1...specq equal-algo verify-guards))) (pseudo-event-formp exported-event)) :rule-classes :rewrite)