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