Recognizer for backtrace-frame structures.
(backtrace-frame-p x) → *
Function:
(defun backtrace-frame-p (x) (declare (xargs :guard t)) (let ((__function__ 'backtrace-frame-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 3) (b* ((index (std::da-nth 0 x)) (rune (std::da-nth 1 x)) (objs (std::da-nth 2 x))) (and (natp index) (maybe-fgl-generic-rune-p rune) (fgl-object-bindings-p objs))))))
Theorem:
(defthm consp-when-backtrace-frame-p (implies (backtrace-frame-p x) (consp x)) :rule-classes :compound-recognizer)