Recognizer for lhprobe structures.
(lhprobe-p x) → *
Function:
(defun lhprobe-p (x) (declare (xargs :guard t)) (let ((__function__ 'lhprobe-p)) (declare (ignorable __function__)) (and (consp x) (consp (cdr x)) (b* ((lhs (car x)) (stage (car (cdr x))) (signedp (cdr (cdr x)))) (and (lhs-p lhs) (natp stage) (booleanp signedp))))))
Theorem:
(defthm consp-when-lhprobe-p (implies (lhprobe-p x) (consp x)) :rule-classes :compound-recognizer)