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) '(pred def hyps))) :exec (fty::alist-with-carsp x '(pred def hyps))) (b* ((pred (cdr (std::da-nth 0 x))) (def (cdr (std::da-nth 1 x))) (hyps (cdr (std::da-nth 2 x)))) (and (symbolp pred) (definitionp def) (true-listp hyps))))))
Theorem:
(defthm consp-when-lift-infop (implies (lift-infop x) (consp x)) :rule-classes :compound-recognizer)