Recognizer for renaming structures.
(renamingp x) → *
Function:
(defun renamingp (x) (declare (xargs :guard t)) (let ((__function__ 'renamingp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(list))) :exec (fty::alist-with-carsp x '(list))) (b* ((list (cdr (std::da-nth 0 x)))) (and (identifier-identifier-alistp list) (no-duplicatesp-equal (strip-cars list)) (no-duplicatesp-equal (strip-cdrs list)))))))
Theorem:
(defthm consp-when-renamingp (implies (renamingp x) (consp x)) :rule-classes :compound-recognizer)