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