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