Recognizer for prof-entry structures.
(prof-entry-p x) → *
Function:
(defun prof-entry-p (x) (declare (xargs :guard t)) (let ((__function__ 'prof-entry-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 5) (b* ((acl2::?name (std::da-nth 0 x)) (tries-succ (std::da-nth 1 x)) (tries-fail (std::da-nth 2 x)) (frames-succ (std::da-nth 3 x)) (frames-fail (std::da-nth 4 x))) (and (natp tries-succ) (natp tries-fail) (natp frames-succ) (natp frames-fail))))))
Theorem:
(defthm consp-when-prof-entry-p (implies (prof-entry-p x) (consp x)) :rule-classes :compound-recognizer)