@@ -4,8 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
44Authors: Sébastien Gouëzel, Yury Kudryashov
55-/
66import Mathlib.Analysis.SpecificLimits.Basic
7- import Mathlib.Tactic.Finiteness
8- import Mathlib.Topology.Metrizable.Uniformity
7+ import Mathlib.Topology.Metrizable.CompletelyMetrizable
98
109/-!
1110# First Baire theorem
@@ -15,17 +14,17 @@ Since `Mathlib` does not have the notion of a completely metrizable topological
1514we state it for a complete uniform space with countably generated uniformity filter.
1615-/
1716
18- open Filter EMetric Set
19- open scoped Topology Uniformity ENNReal
17+ open EMetric Set TopologicalSpace
18+ open scoped ENNReal
2019
21- variable {X : Type *} [UniformSpace X] [CompleteSpace X] [(𝓤 X).IsCountablyGenerated ]
20+ variable {X : Type *} [TopologicalSpace X] [IsCompletelyMetrizableSpace X ]
2221
2322/-- **First Baire theorem** : a completely metrizable topological space has Baire property.
2423
2524Since `Mathlib` does not have the notion of a completely metrizable topological space yet,
2625we state it for a complete uniform space with countably generated uniformity filter. -/
2726instance (priority := 100 ) BaireSpace.of_pseudoEMetricSpace_completeSpace : BaireSpace X := by
28- let _ := UniformSpace.pseudoMetricSpace X
27+ let _ := upgradeIsCompletelyMetrizable X
2928 refine ⟨fun f ho hd => ?_⟩
3029 let B : ℕ → ℝ≥0 ∞ := fun n => 1 / 2 ^ n
3130 have Bpos : ∀ n, 0 < B n := fun n ↦
0 commit comments