Recognizer for lift-info structures.
(lift-infop x) → *
Function:
(defun lift-infop (x) (declare (xargs :guard t)) (let ((__function__ 'lift-infop)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(def hyps))) :exec (fty::alist-with-carsp x '(def hyps))) (b* ((def (cdr (std::da-nth 0 x))) (hyps (cdr (std::da-nth 1 x)))) (and (definitionp def) (true-listp hyps))))))
Theorem:
(defthm consp-when-lift-infop (implies (lift-infop x) (consp x)) :rule-classes :compound-recognizer)