(addr-scope-fix x) → xx
Function:
(defun addr-scope-fix (x) (declare (xargs :guard (addr-scope-p x))) (let ((__function__ 'addr-scope-fix)) (declare (ignorable __function__)) (mbe :logic (if (eq x :root) x (nfix x)) :exec x)))
Theorem:
(defthm addr-scope-p-of-addr-scope-fix (b* ((xx (addr-scope-fix x))) (addr-scope-p xx)) :rule-classes :rewrite)
Theorem:
(defthm addr-scope-fix-when-addr-scope-p (implies (addr-scope-p x) (equal (addr-scope-fix x) x)))