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