Set of new variables in a renaming.
(renaming-new ren) → vars
Function:
(defun renaming-new (ren) (declare (xargs :guard (renamingp ren))) (let ((__function__ 'renaming-new)) (declare (ignorable __function__)) (mergesort (strip-cdrs (renaming->list ren)))))
Theorem:
(defthm identifier-setp-of-renaming-new (b* ((vars (renaming-new ren))) (identifier-setp vars)) :rule-classes :rewrite)
Theorem:
(defthm new-var-in-renaming-new-when-in-renaming (implies (member-equal (cons old-var new-var) (renaming->list ren)) (in new-var (renaming-new ren))) :rule-classes :forward-chaining)
Theorem:
(defthm renaming-new-of-renaming-fix-ren (equal (renaming-new (renaming-fix ren)) (renaming-new ren)))
Theorem:
(defthm renaming-new-renaming-equiv-congruence-on-ren (implies (renaming-equiv ren ren-equiv) (equal (renaming-new ren) (renaming-new ren-equiv))) :rule-classes :congruence)