Generate all the macros to build the tutorial.
(deftutorial-fn tut-name tut-title) → event
Function:
(defun deftutorial-fn (tut-name tut-title) (declare (xargs :guard (and (symbolp tut-name) (stringp tut-title)))) (let ((__function__ 'deftutorial-fn)) (declare (ignorable __function__)) (cons 'progn (append (deftutorial-gen-deftop tut-name) (append (deftutorial-gen-defpage tut-name) (append (deftutorial-gen-deftopics tut-name tut-title) (cons (deftutorial-gen-section tut-name) 'nil)))))))
Theorem:
(defthm pseudo-event-formp-of-deftutorial-fn (b* ((event (deftutorial-fn tut-name tut-title))) (pseudo-event-formp event)) :rule-classes :rewrite)