src/HOL/Analysis/Vitali_Covering_Theorem.thy
changeset 69922 4a9167f377b0
parent 69737 ec3cc98c38db
child 70817 dd675800469d
--- a/src/HOL/Analysis/Vitali_Covering_Theorem.thy	Mon Mar 18 15:35:34 2019 +0000
+++ b/src/HOL/Analysis/Vitali_Covering_Theorem.thy	Tue Mar 19 16:14:51 2019 +0000
@@ -542,10 +542,10 @@
 next
   assume R [rule_format]: "\<forall>x \<in> S. \<forall>e > 0. ?Q x e"
   let ?\<mu> = "measure lebesgue"
-  have "\<exists>U. openin (subtopology euclidean S) U \<and> z \<in> U \<and> negligible U"
+  have "\<exists>U. openin (top_of_set S) U \<and> z \<in> U \<and> negligible U"
     if "z \<in> S" for z
   proof (intro exI conjI)
-    show "openin (subtopology euclidean S) (S \<inter> ball z 1)"
+    show "openin (top_of_set S) (S \<inter> ball z 1)"
       by (simp add: openin_open_Int)
     show "z \<in> S \<inter> ball z 1"
       using \<open>z \<in> S\<close> by auto