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