Generate the function
(schemalg-gen-equal-algo equal-algo equal-algo-enable vars ?f algo print) → event
Unless the
We do not expect this soft::defequal event to fail
(it would be an internal/implementation error if it did).
So there is no need to pass
Function:
(defun schemalg-gen-equal-algo (equal-algo equal-algo-enable vars ?f algo print) (declare (xargs :guard (and (symbolp equal-algo) (booleanp equal-algo-enable) (symbol-listp vars) (symbolp ?f) (symbolp algo) (evmac-input-print-p print)))) (let ((__function__ 'schemalg-gen-equal-algo)) (declare (ignorable __function__)) (cons 'soft::defequal (cons equal-algo (cons ':left (cons ?f (cons ':right (cons algo (cons ':vars (cons vars (cons ':enable (cons equal-algo-enable (cons ':left-to-right-enable (cons equal-algo-enable (cons ':right-to-left-enable (cons equal-algo-enable (cons ':print (cons (and (eq print :all) :all) 'nil))))))))))))))))))
Theorem:
(defthm pseudo-event-formp-of-schemalg-gen-equal-algo (b* ((event (schemalg-gen-equal-algo equal-algo equal-algo-enable vars ?f algo print))) (pseudo-event-formp event)) :rule-classes :rewrite)