Skip to content

Commit 5b5fb54

Browse files
Use namespaces
1 parent ed51fc8 commit 5b5fb54

File tree

3 files changed

+43
-41
lines changed

3 files changed

+43
-41
lines changed

FLT/HIMExperiments/ContinuousSMul_topology.lean

+37-38
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ functions from `A` (now considered only as an index set, so with no topology) to
8080
8181
-/
8282

83-
-- See FLT.ForMathlib.ActionTopology for a parallel development.
84-
#exit
83+
namespace ContinuousSMul_topology
8584

8685
section continuous_smul
8786

@@ -191,7 +190,7 @@ variable {R : Type} [τR : TopologicalSpace R]
191190
variable {M : Type} [Zero M] [SMul R M] [aM : TopologicalSpace M] [IsActionTopology R M]
192191
variable {N : Type} [Zero N] [SMul R N] [aN : TopologicalSpace N] [IsActionTopology R N]
193192

194-
open TopologicalSpace in
193+
open _root_.TopologicalSpace in
195194
lemma prod [MulOneClass.{0} R] : IsActionTopology.{0} R (M × N) := by
196195
constructor
197196
-- goal: to prove product topology is action topology.
@@ -219,46 +218,44 @@ lemma prod [MulOneClass.{0} R] : IsActionTopology.{0} R (M × N) := by
219218
sorry
220219
sorry
221220

222-
#exit
223-
224221

225222
-- idea: map R x M -> M is R x M -> R x M x N, τR x σ
226223
-- R x M has topology τR x (m ↦ Prod.mk m (0 : N))^*σ
227224
-- M x N -> M is pr₁⋆σ
228225
-- is pr1_*sigma=Prod.mk' 0^*sigma
229226
--rw [← continuous_id_iff_le]
230-
have := isActionTopology R M
231-
let τ1 : TopologicalSpace M := (actionTopology R (M × N)).coinduced (Prod.fst)
232-
have foo : aM ≤ τ1 := by
233-
rw [this]
234-
apply sInf_le
235-
unfold_let
236-
constructor
237-
rw [continuous_iff_coinduced_le]
238-
--rw [continuous_iff_le_induced]
239-
--rw [instTopologicalSpaceProd]
240-
have := ActionTopology.continuousSMul R (M × N)
241-
obtain ⟨h⟩ := this
242-
rw [continuous_iff_coinduced_le] at h
243-
have h2 := coinduced_mono (f := (Prod.fst : M × N → M)) h
244-
refine le_trans ?_ h2
245-
rw [@coinduced_compose]
246-
--rw [coinduced_le_iff_le_induced]
247-
rw [show ((Prod.fst : M × N → M) ∘ (fun p ↦ p.1 • p.2 : R × M × N → M × N)) =
248-
(fun rm ↦ rm.1 • rm.2) ∘ (fun rmn ↦ (rmn.1, rmn.2.1)) by
249-
ext ⟨r, m, n⟩
250-
rfl]
251-
rw [← @coinduced_compose]
252-
apply coinduced_mono
253-
rw [← continuous_id_iff_le]
254-
have this2 := @Continuous.prod_map R M R M τR ((TopologicalSpace.coinduced Prod.fst (actionTopology R (M × N)))) τR aM id id ?_ ?_
255-
swap; fun_prop
256-
swap; sorry -- action top ≤ coinduced Prod.fst (action)
257-
convert this2
258-
sorry -- action top on M now equals coinduced Prod.fst
259-
sorry -- same
260-
-- so we're going around in circles
261-
sorry
227+
-- have := isActionTopology R M
228+
-- let τ1 : TopologicalSpace M := (actionTopology R (M × N)).coinduced (Prod.fst)
229+
-- have foo : aM ≤ τ1 := by
230+
-- rw [this]
231+
-- apply sInf_le
232+
-- unfold_let
233+
-- constructor
234+
-- rw [continuous_iff_coinduced_le]
235+
-- --rw [continuous_iff_le_induced]
236+
-- --rw [instTopologicalSpaceProd]
237+
-- have := ActionTopology.continuousSMul R (M × N)
238+
-- obtain ⟨h⟩ := this
239+
-- rw [continuous_iff_coinduced_le] at h
240+
-- have h2 := coinduced_mono (f := (Prod.fst : M × N → M)) h
241+
-- refine le_trans ?_ h2
242+
-- rw [@coinduced_compose]
243+
-- --rw [coinduced_le_iff_le_induced]
244+
-- rw [show ((Prod.fst : M × N → M) ∘ (fun p ↦ p.1 • p.2 : R × M × N → M × N)) =
245+
-- (fun rm ↦ rm.1 • rm.2) ∘ (fun rmn ↦ (rmn.1, rmn.2.1)) by
246+
-- ext ⟨r, m, n⟩
247+
-- rfl]
248+
-- rw [← @coinduced_compose]
249+
-- apply coinduced_mono
250+
-- rw [← continuous_id_iff_le]
251+
-- have this2 := @Continuous.prod_map R M R M τR ((TopologicalSpace.coinduced Prod.fst (actionTopology R (M × N)))) τR aM id id ?_ ?_
252+
-- swap; fun_prop
253+
-- swap; sorry -- action top ≤ coinduced Prod.fst (action)
254+
-- convert this2
255+
-- sorry -- action top on M now equals coinduced Prod.fst
256+
-- sorry -- same
257+
-- -- so we're going around in circles
258+
-- sorry
262259
-- let τ2 : TopologicalSpace M := (actionTopology R (M × N)).induced (fun m ↦ (m, 0))
263260
-- have moo : τ1 = τ2 := by
264261
-- unfold_let
@@ -273,7 +270,7 @@ lemma prod [MulOneClass.{0} R] : IsActionTopology.{0} R (M × N) := by
273270
-- ·
274271
-- sorry
275272
-- sorry
276-
· apply actionTopology_le
273+
-- · apply actionTopology_le
277274
-- --have foo : @Continuous (M × N) (M × N) _ _ _ := @Continuous.prod_map M N M N (σMN.coinduced Prod.fst) (σMN.coinduced Prod.snd) aM aN id id ?_ ?_-- Z * W -> X * Y
278275
-- -- conjecture: pushforward of σMN is continuous
279276
-- -- ⊢ instTopologicalSpaceProd ≤ σMN
@@ -502,3 +499,5 @@ instance Module.topologicalRing : @TopologicalRing D (Module.rtopology A D) _ :=
502499
sorry }
503500

504501
end commutative
502+
503+
end ContinuousSMul_topology

FLT/HIMExperiments/dual_topology.lean

+3-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ functions from `A` (now considered only as an index set, so with no topology) to
9090
9191
-/
9292

93-
-- See FLT.ForMathlib.ActionTopology for a parallel development.
94-
#exit
93+
namespace dual_topology
9594

9695
section basics
9796

@@ -343,3 +342,5 @@ instance moobar : @TopologicalRing D (Module.topology A) _ :=
343342
apply Module.continuous_bilinear A (LinearMap.mul A D)
344343
-- finally negation is continuous because it's linear.
345344
continuous_neg := Module.continuous_linear A (-LinearMap.id) }
345+
346+
end dual_topology

FLT/HIMExperiments/right_module_topology.lean

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ functions from `M` (now considered only as an index set, so with no topology) to
3636
-/
3737

3838
-- See FLT.ForMathlib.ActionTopology for a parallel development.
39-
#exit
39+
namespace right_module_topology
4040

4141
section defs
4242

@@ -193,3 +193,5 @@ end what_i_want
193193
-- possible hints at https://github.com/ImperialCollegeLondon/FLT/blob/main/FLT/HIMExperiments/module_topology.lean
194194
-- except there the topology is *different* so the work does not apply
195195
end ActionTopology
196+
197+
end right_module_topology

0 commit comments

Comments
 (0)