Variables in scope for the new code in variable renaming.
(varset-new ren) → varset
This explicates the fact that, as mentioned in renaming-variables, the values of a renaming alist are the variables in scope for the old code.
Also see varset-old.
Function:
(defun varset-new (ren) (declare (xargs :guard (renamingp ren))) (let ((__function__ 'varset-new)) (declare (ignorable __function__)) (mergesort (strip-cdrs (renaming->list ren)))))
Theorem:
(defthm identifier-setp-of-varset-new (b* ((varset (varset-new ren))) (identifier-setp varset)) :rule-classes :rewrite)
Theorem:
(defthm varset-new-of-renaming-fix-ren (equal (varset-new (renaming-fix ren)) (varset-new ren)))
Theorem:
(defthm varset-new-renaming-equiv-congruence-on-ren (implies (renaming-equiv ren ren-equiv) (equal (varset-new ren) (varset-new ren-equiv))) :rule-classes :congruence)