@@ -64,46 +64,13 @@ instance (priority := 100) BaireSpace.of_t2Space_locallyCompactSpace
6464/-- A Gδ subset of a locally compact R₁ space is Baire. -/
6565theorem IsGδ.of_t2Space_locallyCompactSpace (hG : IsGδ s) [R1Space X] [LocallyCompactSpace X] :
6666 BaireSpace s := by
67- have h_closure_baire : BaireSpace (closure s) := by
67+ have : BaireSpace (closure s) := by
6868 convert BaireSpace.of_t2Space_locallyCompactSpace using 1
6969 · infer_instance
7070 · exact IsClosed.locallyCompactSpace isClosed_closure
71- have h_s_baire : BaireSpace ((↑) ⁻¹' s : Set (closure s)) := IsGδ.baireSpace_of_dense
71+ have : BaireSpace ((↑) ⁻¹' s : Set (closure s)) := IsGδ.baireSpace_of_dense
7272 (isGδ_induced continuous_subtype_val hG)
7373 (by simp [Subtype.dense_iff, inter_eq_right.mpr subset_closure])
74- -- Since `s` is homeomorphic to `s'`, we can conclude that `s` is a Baire space.
75- have h_homeo : Homeomorph ((↑) ⁻¹' s : Set (closure s)) s := by
76- refine' ⟨ _, _, _ ⟩;
77- refine' ⟨ fun x => ⟨ x.1 , _ ⟩, fun x => ⟨ ⟨ x.1 , _ ⟩, _ ⟩, fun x => _, fun x => _ ⟩;
78- exact x.2 ;
79- exact subset_closure x.2 ;
80- · grind
81- · grind
82- · grind
83- · fun_prop
84- · fun_prop
85- -- Since `h_homeo` is a homeomorphism, we can conclude that `s` is a Baire space.
86- have h_baire : BaireSpace s := by
87- have := h_s_baire
88- exact (by
89- rcases this with ⟨ this ⟩;
90- constructor;
91- intro f hf hf';
92- convert this ( fun n => h_homeo ⁻¹' f n ) ( fun n => ?_ ) ( fun n => ?_ ) using 1 ;
93- · constructor <;> intro h <;> rw [ dense_iff_inter_open ] at * <;> aesop;
94- · specialize h ( h_homeo '' U ) ; aesop;
95- simpa only [ Set.preimage_iInter ] using h;
96- · specialize h ( h_homeo ⁻¹' U ) ( h_homeo.isOpen_preimage.mpr a );
97- obtain ⟨ x, hx ⟩ := h ( by rcases a_1 with ⟨ x, hx ⟩ ; exact ⟨ h_homeo.symm x, by simpa using hx ⟩ ) ; use h_homeo x; aesop;
98- · exact h_homeo.continuous.isOpen_preimage _ ( hf n );
99- · rw [ dense_iff_inter_open ] at *;
100- intro U hU hU';
101- have := hf' n;
102- rw [ dense_iff_inter_open ] at this;
103- contrapose! this;
104- refine' ⟨ h_homeo '' U, _, _, _ ⟩;
105- · exact h_homeo.isOpenMap U hU;
106- · exact hU'.image _;
107- · simp_all +decide [ Set.ext_iff ];
108- grind);
109- exact h_baire
74+ have h_homeo : Homeomorph ((↑) ⁻¹' s : Set (closure s)) s := ⟨⟨fun x => ⟨x, x.2 ⟩,
75+ fun x => ⟨⟨x, subset_closure x.2 ⟩, x.2 ⟩, by grind, by grind⟩, by fun_prop, by fun_prop⟩
76+ exact h_homeo.baireSpace
0 commit comments