Recognizer for g-map-tag structures.
(g-map-tag-p x) → *
Function:
(defun g-map-tag-p (x) (declare (xargs :guard t)) (let ((__function__ 'g-map-tag-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :g-map) (b* ((index (cdr x))) (acl2::maybe-natp index)))))
Theorem:
(defthm consp-when-g-map-tag-p (implies (g-map-tag-p x) (consp x)) :rule-classes :compound-recognizer)