Recognizer for valid-ext-info structures.
(valid-ext-infop x) → *
Function:
(defun valid-ext-infop (x) (declare (xargs :guard t)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(type declared-in uid))) :exec (fty::alist-with-carsp x '(type declared-in uid))) (b* ((type (cdr (std::da-nth 0 x))) (declared-in (cdr (std::da-nth 1 x))) (uid (cdr (std::da-nth 2 x)))) (and (typep type) (filepath-setp declared-in) (uidp uid)))))
Theorem:
(defthm consp-when-valid-ext-infop (implies (valid-ext-infop x) (consp x)) :rule-classes :compound-recognizer)