Recognizer for jimport structures.
(jimportp x) → *
Function:
(defun jimportp (x) (declare (xargs :guard t)) (let ((__function__ 'jimportp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(static? target))) :exec (fty::alist-with-carsp x '(static? target))) (b* ((static? (cdr (std::da-nth 0 x))) (target (cdr (std::da-nth 1 x)))) (and (booleanp static?) (stringp target))))))
Theorem:
(defthm consp-when-jimportp (implies (jimportp x) (consp x)) :rule-classes :compound-recognizer)