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