Recognizer for snippet-info structures.
(snippet-info-p x) → *
Function:
(defun snippet-info-p (x) (declare (xargs :guard t)) (let ((__function__ 'snippet-info-p)) (declare (ignorable __function__)) (and (true-listp x) (eql (len x) 4) (b* ((name (std::da-nth 0 x)) (input-size (std::da-nth 1 x)) (output-size (std::da-nth 2 x)) (addr (std::da-nth 3 x))) (and (stringp name) (natp input-size) (posp output-size) (canonical-address-p addr))))))
Theorem:
(defthm consp-when-snippet-info-p (implies (snippet-info-p x) (consp x)) :rule-classes :compound-recognizer)