File tree Expand file tree Collapse file tree
Mathlib/Topology/Algebra/IsUniformGroup Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,8 @@ variable {G : Type*} [Group G] [UniformSpace G] [IsRightUniformGroup G]
8686/-- A locally compact right-uniform group is complete. -/
8787@ [to_additive
8888/-- A locally compact right-uniform additive group is complete. -/ ]
89- instance (priority := 100 ) completeSpace_of_weaklyLocallyCompactSpace
89+ -- not an instance for performance reasons, see benchmark on PR #42117
90+ theorem completeSpace_of_weaklyLocallyCompactSpace
9091 [WeaklyLocallyCompactSpace G] : CompleteSpace G where
9192 complete {f} hf := by
9293 open scoped RightActions in
@@ -109,7 +110,8 @@ variable {G : Type*} [Group G] [UniformSpace G] [IsLeftUniformGroup G]
109110/-- A locally compact left-uniform group is complete. -/
110111@ [to_additive
111112/-- A locally compact left-uniform additive group is complete. -/ ]
112- instance (priority := 100 ) completeSpace_of_weaklyLocallyCompactSpace
113+ -- not an instance for performance reasons, see benchmark on PR #42117
114+ theorem completeSpace_of_weaklyLocallyCompactSpace
113115 [WeaklyLocallyCompactSpace G] : CompleteSpace G where
114116 complete {f} hf := by
115117 open scoped RightActions in
You can’t perform that action at this time.
0 commit comments