Skip to content

Commit ad3c407

Browse files
committed
uninstance
1 parent 596fe4e commit ad3c407

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Mathlib/Topology/Algebra/IsUniformGroup/Basic.lean

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)