Recognizer for svex-cycle-varname structures.
(svex-cycle-varname-p x) → *
Function:
(defun svex-cycle-varname-p (x) (declare (xargs :guard t)) (let ((__function__ 'svex-cycle-varname-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :cycle) (std::prod-consp (cdr x)) (b* ((?name (std::prod-car (cdr x))) (cycle (std::prod-cdr (cdr x)))) (natp cycle)))))
Theorem:
(defthm consp-when-svex-cycle-varname-p (implies (svex-cycle-varname-p x) (consp x)) :rule-classes :compound-recognizer)