Recognizer for transunit-ensemble structures.
(transunit-ensemblep x) → *
Function:
(defun transunit-ensemblep (x) (declare (xargs :guard t)) (let ((__function__ 'transunit-ensemblep)) (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-transunit-mapp unwrap)))))
Theorem:
(defthm consp-when-transunit-ensemblep (implies (transunit-ensemblep x) (consp x)) :rule-classes :compound-recognizer)