Get the list field from a renaming.
(renaming->list x) → list
This is an ordinary field accessor created by fty::defprod.
Function:
(defun renaming->list$inline (x) (declare (xargs :guard (renamingp x))) (declare (xargs :guard t)) (let ((__function__ 'renaming->list)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x)) (list (identifier-identifier-alist-fix (cdr (std::da-nth 0 x))))) (if (and (no-duplicatesp-equal (strip-cars list)) (no-duplicatesp-equal (strip-cdrs list))) list nil)) :exec (cdr (std::da-nth 0 x)))))
Theorem:
(defthm identifier-identifier-alistp-of-renaming->list (b* ((list (renaming->list$inline x))) (identifier-identifier-alistp list)) :rule-classes :rewrite)
Theorem:
(defthm renaming->list$inline-of-renaming-fix-x (equal (renaming->list$inline (renaming-fix x)) (renaming->list$inline x)))
Theorem:
(defthm renaming->list$inline-renaming-equiv-congruence-on-x (implies (renaming-equiv x x-equiv) (equal (renaming->list$inline x) (renaming->list$inline x-equiv))) :rule-classes :congruence)