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