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