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