Basic constructor macro for toplevel-theorem structures.
(make-toplevel-theorem [:get <get>])
This is the usual way to construct toplevel-theorem structures. It simply conses together a structure with the specified fields.
This macro generates a new toplevel-theorem structure from scratch. See also change-toplevel-theorem, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-toplevel-theorem (&rest args) (std::make-aggregate 'toplevel-theorem args '((:get)) 'make-toplevel-theorem nil))
Function:
(defun toplevel-theorem (get) (declare (xargs :guard (theoremp get))) (declare (xargs :guard t)) (let ((__function__ 'toplevel-theorem)) (declare (ignorable __function__)) (b* ((get (mbe :logic (theorem-fix get) :exec get))) (cons :theorem (list get)))))