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