The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.RestrictedProduct.TopologicalSpace

66 declarations. Mathlib docs · Source

Restricted products of topological spaces, topological groups and rings

We endow a restricted product of topological spaces with a natural topology, which we describe below. We also show various compatibility results when we change filters, and extend the construction of restricted products of algebraic structures to the topological setting.

In particular, with the theory of adeles in mind, we show that if each R i is a locally compact topological ring with open subring A i, and if all but finitely many of the A is are also compact, then Πʳ i, [R i, A i] is a locally compact topological ring.

Main definitions

  • RestrictedProduct.topologicalSpace: the TopologicalSpace instance on the restricted product Πʳ i, [R i, A i]_[𝓕].

Topology on the restricted product

The topology on the restricted product Πʳ i, [R i, A i]_[𝓕] is defined in the following way:

  1. If 𝓕 is some principal filter 𝓟 s, recall that Πʳ i, [R i, A i]_[𝓟 s] is canonically identified with (Π i ∈ s, A i) × (Π i ∉ s, R i). We endow it with the product topology, which is also the topology induced from the full product Π i, R i.
  2. In general, we note that 𝓕 is the infimum of the principal filters coarser than 𝓕. We then endow Πʳ i, [R i, A i]_[𝓕] with the inductive limit / final topology associated to the inclusion maps Πʳ i, [R i, A i]_[𝓟 s] → Πʳ i, [R i, A i]_[𝓕] where 𝓕 ≤ 𝓟 s.

In particular:

  • On the classical restricted product, with respect to the cofinite filter, this corresponds to taking the inductive limit of the Πʳ i, [R i, A i]_[𝓟 s] over all cofinite sets s : Set ι.
  • If 𝓕 = 𝓟 s is a principal filter, this second step clearly does not change the topology, since s belongs to the indexing set of the inductive limit.

Taking advantage of that second remark, we do not actually declare an instance specific to principal filters. Instead, we provide directly the general instance (corresponding to step 2 above) as RestrictedProduct.topologicalSpace. We then prove that, for a principal filter, the map to the full product is an inducing (RestrictedProduct.isEmbedding_coe_of_principal), and that the topology for a general 𝓕 is indeed the expected inductive limit (RestrictedProduct.topologicalSpace_eq_iSup).

Main statements

  • RestrictedProduct.isEmbedding_coe_of_principal: for any set S, Πʳ i, [R i, A i]_[𝓟 S] is endowed with the subset topology coming from Π i, R i.

  • RestrictedProduct.topologicalSpace_eq_iSup: the topology on Πʳ i, [R i, A i]_[𝓕] is the inductive limit / final topology associated to the natural maps Πʳ i, [R i, A i]_[𝓟 S] → Πʳ i, [R i, A i]_[𝓕], where 𝓕 ≤ 𝓟 S.

  • RestrictedProduct.continuous_dom: a map from Πʳ i, [R i, A i]_[𝓕] is continuous if and only if its restriction to each Πʳ i, [R i, A i]_[𝓟 s] (with 𝓕 ≤ 𝓟 s) is continuous.

    • RestrictedProduct.continuous_dom_prod_left: assume that each A i is an open subset of R i. Then, for any topological space Y, a map from Y × Πʳ i, [R i, A i] is continuous if and only if its restriction to each Y × Πʳ i, [R i, A i]_[𝓟 S] (with S cofinite) is continuous.
  • RestrictedProduct.isTopologicalGroup: if each R i is a topological group and each A i is an open subgroup of R i, then Πʳ i, [R i, A i] is a topological group.

  • RestrictedProduct.isTopologicalRing: if each R i is a topological ring and each A i is an open subring of R i, then Πʳ i, [R i, A i] is a topological ring.

  • RestrictedProduct.continuousSMul: if some topological monoid G acts on each M i, and each A i is stable for that action, then the natural action of G on Πʳ i, [M i, A i] is also continuous. In particular, if each M i is a topological R-module and each A i is an open sub-R-module of M i, then Πʳ i, [M i, A i] is a topological R-module.

  • RestrictedProduct.weaklyLocallyCompactSpace_of_cofinite: if each R i is weakly locally compact, each A i is open, and all but finitely many A is are also compact, then the restricted product Πʳ i, [R i, A i] is weakly locally compact.

  • RestrictedProduct.locallyCompactSpace_of_group: assume that each R i is a locally compact group with A i an open subgroup. Assume also that all but finitely many A is are compact. Then the restricted product Πʳ i, [R i, A i] is a locally compact group.

Implementation notes

Outside of principal filters and the cofinite filter, the topology we define on the restricted product does not seem well-behaved. While declaring a single instance is practical, it may conflict with more interesting topologies in some other cases. Thus, future contributions should not restrain from specializing these instances to principal and cofinite filters if necessary.

Tags

restricted product, adeles, ideles

Topology on the restricted product

The topology on the restricted product Πʳ i, [R i, A i]_[𝓕] is defined in the following way:

  1. If 𝓕 is some principal filter 𝓟 s, recall that Πʳ i, [R i, A i]_[𝓟 s] is canonically identified with (Π i ∈ s, A i) × (Π i ∉ s, R i). We endow it with the product topology, which is also the topology induced from the full product Π i, R i.
  2. In general, we note that 𝓕 is the infimum of the principal filters coarser than 𝓕. We then endow Πʳ i, [R i, A i]_[𝓕] with the inductive limit / final topology associated to the inclusion maps Πʳ i, [R i, A i]_[𝓟 s] → Πʳ i, [R i, A i]_[𝓕] where 𝓕 ≤ 𝓟 s.

In particular:

  • On the classical restricted product, with respect to the cofinite filter, this corresponds to taking the inductive limit of the Πʳ i, [R i, A i]_[𝓟 s] over all cofinite sets s : Set ι.
  • If 𝓕 = 𝓟 s is a principal filter, this second step clearly does not change the topology, since s belongs to the indexing set of the inductive limit.

Taking advantage of that second remark, we do not actually declare an instance specific to principal filters. Instead, we provide directly the general instance (corresponding to step 2 above) as RestrictedProduct.topologicalSpace. We then prove that, for a principal filter, the map to the full product is an inducing (RestrictedProduct.isEmbedding_coe_of_principal), and that the topology for a general 𝓕 is indeed the expected inductive limit (RestrictedProduct.topologicalSpace_eq_iSup).

Note: outside of these two cases, this topology on the restricted product does not seem well-behaved. While declaring a single instance is practical, it may conflict with more interesting topologies in some other cases. Thus, future contributions should not restrain from specializing these instances to principal and cofinite filters if necessary.

Definition of the topology

Topological facts in the principal case

Topological facts in the general case

Topological facts in the case where 𝓕 = cofinite and all A is are open

The classical restricted product, associated to the cofinite filter, satisfies more topological properties when each A i is an open subset of R i. The key fact is that each Πʳ i, [R i, A i]_[𝓟 S] (with S cofinite) then embeds as an open subset in Πʳ i, [R i, A i].

This allows us to prove a "universal property with parameters", expressing that for any arbitrary topological space X (of "parameters"), the product X × Πʳ i, [R i, A i] is still the inductive limit of the X × Πʳ i, [R i, A i]_[𝓟 S] for S cofinite.

This fact, which is not true for a general inductive limit, will allow us to prove continuity of functions of two variables (e.g algebraic operations), which would otherwise be inaccessible.

Compatibility properties between algebra and topology

theorem RestrictedProduct.inclusion.congr_simp E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖)
  (x x_1 : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓖),
  x = x_1 → RestrictedProduct.inclusion R A h x = RestrictedProduct.inclusion R A h x_1

instance RestrictedProduct.topologicalSpace E3 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    (A : (i : ι) → Set (R i)) →
      (𝓕 : Filter ι) →
        [(i : ι) → TopologicalSpace (R i)] → TopologicalSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕)

theorem RestrictedProduct.continuous_coe E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)],
  Continuous DFunLike.coe

theorem RestrictedProduct.continuous_eval E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  (i : ι), Continuous fun x ↦ x i

theorem RestrictedProduct.continuous_inclusion E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  {𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖), Continuous (RestrictedProduct.inclusion R A h)

instance RestrictedProduct.instT0Space E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  [∀ (i : ι), T0Space (R i)], T0Space (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕)

instance RestrictedProduct.instT1Space E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  [∀ (i : ι), T1Space (R i)], T1Space (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕)

instance RestrictedProduct.instT2Space E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  [∀ (i : ι), T2Space (R i)], T2Space (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕)

theorem RestrictedProduct.topologicalSpace_eq_of_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {S : Set ι},
  RestrictedProduct.topologicalSpace R A (Filter.principal S) = TopologicalSpace.induced DFunLike.coe inferInstance

theorem RestrictedProduct.topologicalSpace_eq_of_top E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  RestrictedProduct.topologicalSpace R A ⊤ = TopologicalSpace.induced DFunLike.coe inferInstance

theorem RestrictedProduct.topologicalSpace_eq_of_bot E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  RestrictedProduct.topologicalSpace R A ⊥ = TopologicalSpace.induced DFunLike.coe inferInstance

theorem RestrictedProduct.isEmbedding_coe_of_principal E3 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {S : Set ι},
  Topology.IsEmbedding DFunLike.coe

theorem RestrictedProduct.isEmbedding_coe_of_top E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  Topology.IsEmbedding DFunLike.coe

theorem RestrictedProduct.isEmbedding_coe_of_bot E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  Topology.IsEmbedding DFunLike.coe

theorem RestrictedProduct.continuous_rng_of_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {S : Set ι}
  {X : Type u_3} [inst_1 : TopologicalSpace X]
  {f : X → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) (Filter.principal S)},
  Continuous f ↔ Continuous (DFunLike.coe ∘ f)

theorem RestrictedProduct.continuous_rng_of_top E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {X : Type u_3}
  [inst_1 : TopologicalSpace X] {f : X → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) ⊤},
  Continuous f ↔ Continuous (DFunLike.coe ∘ f)

theorem RestrictedProduct.continuous_rng_of_bot E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {X : Type u_3}
  [inst_1 : TopologicalSpace X] {f : X → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) ⊥},
  Continuous f ↔ Continuous (DFunLike.coe ∘ f)

theorem RestrictedProduct.continuous_rng_of_principal_iff_forall E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {S : Set ι}
  {X : Type u_3} [inst_1 : TopologicalSpace X]
  {f : X → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) (Filter.principal S)},
  Continuous f ↔ ∀ (i : ι), Continuous ((fun x ↦ x i) ∘ f)

def RestrictedProduct.homeoTop E1 #

{ι : Type u_1} →
  {R : ι → Type u_2} →
    {A : (i : ι) → Set (R i)} →
      [inst : (i : ι) → TopologicalSpace (R i)] → ((i : ι) → ↑(A i)) ≃ₜ RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) ⊤

The obvious bijection between Πʳ i, [R i, A i]_[⊤] and Π i, A i is a homeomorphism.

def RestrictedProduct.homeoBot E1 #

{ι : Type u_1} →
  {R : ι → Type u_2} →
    {A : (i : ι) → Set (R i)} →
      [inst : (i : ι) → TopologicalSpace (R i)] → ((i : ι) → R i) ≃ₜ RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) ⊥

The obvious bijection between Πʳ i, [R i, A i]_[⊥] and Π i, R i is a homeomorphism.

theorem RestrictedProduct.weaklyLocallyCompactSpace_of_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {S : Set ι}
  [∀ (i : ι), WeaklyLocallyCompactSpace (R i)],
  Filter.cofinite ≤ Filter.principal S →
    (∀ i ∈ S, IsCompact (A i)) →
      WeaklyLocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) (Filter.principal S))

Assume that S is a subset of ι with finite complement, that each R i is weakly locally compact, and that A i is compact for all i ∈ S. Then the restricted product Πʳ i, [R i, A i]_[𝓟 S] is locally compact.

Note: we spell "S has finite complement" as cofinite ≤ 𝓟 S.

instance RestrictedProduct.instWeaklyLocallyCompactSpacePrincipalOfFactLeFilterCofiniteOfCompactSpaceElem E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)] {S : Set ι}
  [∀ (i : ι), WeaklyLocallyCompactSpace (R i)] [hS : Fact (Filter.cofinite ≤ Filter.principal S)]
  [hAcompact : ∀ (i : ι), CompactSpace ↑(A i)],
  WeaklyLocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) (Filter.principal S))

theorem RestrictedProduct.topologicalSpace_eq_iSup E3 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} (𝓕 : Filter ι) [inst : (i : ι) → TopologicalSpace (R i)],
  RestrictedProduct.topologicalSpace R A 𝓕 =
    ⨆ S,
      ⨆ (hS : 𝓕 ≤ Filter.principal S),
        TopologicalSpace.coinduced (RestrictedProduct.inclusion R A hS)
          (RestrictedProduct.topologicalSpace R A (Filter.principal S))

theorem RestrictedProduct.continuous_dom E3 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  {X : Type u_3} [inst_1 : TopologicalSpace X] {f : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕 → X},
  Continuous f ↔ ∀ (S : Set ι) (hS : 𝓕 ≤ Filter.principal S), Continuous (f ∘ RestrictedProduct.inclusion R A hS)

The universal property of the topology on the restricted product: a map from Πʳ i, [R i, A i]_[𝓕] is continuous iff its restriction to each Πʳ i, [R i, A i]_[𝓟 s] (with 𝓕 ≤ 𝓟 s) is continuous.

See also RestrictedProduct.continuous_dom_prod_left.

theorem RestrictedProduct.isEmbedding_inclusion_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)]
  {S : Set ι} (hS : 𝓕 ≤ Filter.principal S), Topology.IsEmbedding (RestrictedProduct.inclusion R A hS)

theorem RestrictedProduct.isEmbedding_inclusion_top E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)],
  Topology.IsEmbedding (RestrictedProduct.inclusion R A ⋯)

theorem RestrictedProduct.isEmbedding_structureMap E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι} [inst : (i : ι) → TopologicalSpace (R i)],
  Topology.IsEmbedding (RestrictedProduct.structureMap R A 𝓕)

Π i, A i has the subset topology from the restricted product.

theorem RestrictedProduct.isOpen_forall_imp_mem_of_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ {S : Set ι}, Filter.cofinite ≤ Filter.principal S → ∀ {p : ι → Prop}, IsOpen {f | ∀ (i : ι), p i → ↑f i ∈ A i}

theorem RestrictedProduct.isOpen_forall_mem_of_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) → ∀ {S : Set ι}, Filter.cofinite ≤ Filter.principal S → IsOpen {f | ∀ (i : ι), ↑f i ∈ A i}

theorem RestrictedProduct.isOpen_forall_imp_mem E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) → ∀ {p : ι → Prop}, IsOpen {f | ∀ (i : ι), p i → ↑f i ∈ A i}

theorem RestrictedProduct.isOpen_forall_mem E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) → IsOpen {f | ∀ (i : ι), ↑f i ∈ A i}

theorem RestrictedProduct.isOpenEmbedding_inclusion_principal E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ {S : Set ι} (hS : Filter.cofinite ≤ Filter.principal S),
      Topology.IsOpenEmbedding (RestrictedProduct.inclusion R A hS)

theorem RestrictedProduct.isOpenEmbedding_structureMap E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) → Topology.IsOpenEmbedding (RestrictedProduct.structureMap R A Filter.cofinite)

Π i, A i is homeomorphic to an open subset of the restricted product.

theorem RestrictedProduct.nhds_eq_map_inclusion E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ {S : Set ι} (hS : Filter.cofinite ≤ Filter.principal S)
      (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) (Filter.principal S)),
      nhds (RestrictedProduct.inclusion R A hS x) = Filter.map (RestrictedProduct.inclusion R A hS) (nhds x)

theorem RestrictedProduct.nhds_eq_map_structureMap E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ (x : (i : ι) → ↑(A i)),
      nhds (RestrictedProduct.structureMap R A Filter.cofinite x) =
        Filter.map (RestrictedProduct.structureMap R A Filter.cofinite) (nhds x)

theorem RestrictedProduct.weaklyLocallyCompactSpace_of_cofinite E3 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ [∀ (i : ι), WeaklyLocallyCompactSpace (R i)],
      (∀ᶠ (i : ι) in Filter.cofinite, IsCompact (A i)) →
        WeaklyLocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) Filter.cofinite)

If each R i is weakly locally compact, each A i is open, and all but finitely many A is are also compact, then the restricted product Πʳ i, [R i, A i] is weakly locally compact.

instance RestrictedProduct.instWeaklyLocallyCompactSpaceCofiniteOfFactForallIsOpenOfCompactSpaceElem E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)]
  [hAopen : Fact (∀ (i : ι), IsOpen (A i))] [∀ (i : ι), WeaklyLocallyCompactSpace (R i)]
  [hAcompact : ∀ (i : ι), CompactSpace ↑(A i)],
  WeaklyLocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) Filter.cofinite)

theorem RestrictedProduct.continuous_dom_prod_right E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ {X : Type u_3} {Y : Type u_4} [inst_1 : TopologicalSpace X] [inst_2 : TopologicalSpace Y]
      {f : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) Filter.cofinite × Y → X},
      Continuous f ↔
        ∀ (S : Set ι) (hS : Filter.cofinite ≤ Filter.principal S),
          Continuous (f ∘ Prod.map (RestrictedProduct.inclusion R A hS) id)

The universal property with parameters of the topology on the restricted product: for any topological space Y of "parameters", a map from (Πʳ i, [R i, A i]) × Y is continuous iff its restriction to each (Πʳ i, [R i, A i]_[𝓟 S]) × Y (with S cofinite) is continuous.

theorem RestrictedProduct.continuous_dom_prod_left E3 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ {X : Type u_3} {Y : Type u_4} [inst_1 : TopologicalSpace X] [inst_2 : TopologicalSpace Y]
      {f : Y × RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) Filter.cofinite → X},
      Continuous f ↔
        ∀ (S : Set ι) (hS : Filter.cofinite ≤ Filter.principal S),
          Continuous (f ∘ Prod.map id (RestrictedProduct.inclusion R A hS))

The universal property with parameters of the topology on the restricted product: for any topological space Y of "parameters", a map from Y × Πʳ i, [R i, A i] is continuous iff its restriction to each Y × Πʳ i, [R i, A i]_[𝓟 S] (with S cofinite) is continuous.

theorem RestrictedProduct.continuous_dom_prod E1 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} [inst : (i : ι) → TopologicalSpace (R i)],
  (∀ (i : ι), IsOpen (A i)) →
    ∀ {R' : ι → Type u_3} {A' : (i : ι) → Set (R' i)} [inst_1 : (i : ι) → TopologicalSpace (R' i)],
      (∀ (i : ι), IsOpen (A' i)) →
        ∀ {X : Type u_4} [inst_2 : TopologicalSpace X]
          {f :
            RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) Filter.cofinite ×
                RestrictedProduct (fun i ↦ R' i) (fun i ↦ A' i) Filter.cofinite →
              X},
          Continuous f ↔
            ∀ (S : Set ι) (hS : Filter.cofinite ≤ Filter.principal S),
              Continuous (f ∘ Prod.map (RestrictedProduct.inclusion R A hS) (RestrictedProduct.inclusion R' A' hS))

A map from Πʳ i, [R i, A i] × Πʳ i, [R' i, A' i] is continuous iff its restriction to each Πʳ i, [R i, A i]_[𝓟 S] × Πʳ i, [R' i, A' i]_[𝓟 S] (with S cofinite) is continuous.

This is the key result for continuity of multiplication and addition.

theorem RestrictedProduct.continuous_dom_pi E1 #

∀ {ι : Type u_1} {n : Type u_3} [Finite n] {X : Type u_4} [inst : TopologicalSpace X] {A : n → ι → Type u_5}
  [inst_1 : (j : n) → (i : ι) → TopologicalSpace (A j i)] {C : (j : n) → (i : ι) → Set (A j i)},
  (∀ (j : n) (i : ι), IsOpen (C j i)) →
    ∀ {f : ((j : n) → RestrictedProduct (fun i ↦ A j i) (fun i ↦ C j i) Filter.cofinite) → X},
      Continuous f ↔
        ∀ (S : Set ι) (hS : Filter.cofinite ≤ Filter.principal S),
          Continuous (f ∘ Pi.map fun x ↦ RestrictedProduct.inclusion (A x) (C x) hS)

A finitary (instead of binary) version of continuous_dom_prod.

instance RestrictedProduct.instContinuousNegCoe E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {𝓕 : Filter ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Neg (R i)]
  [inst_3 : ∀ (i : ι), NegMemClass (S i) (R i)] [∀ (i : ι), ContinuousNeg (R i)],
  ContinuousNeg (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instContinuousInvCoe E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {𝓕 : Filter ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Inv (R i)]
  [inst_3 : ∀ (i : ι), InvMemClass (S i) (R i)] [∀ (i : ι), ContinuousInv (R i)],
  ContinuousInv (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instContinuousConstSMulCoe E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {𝓕 : Filter ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] {G : Type u_4} [inst_2 : (i : ι) → SMul G (R i)]
  [inst_3 : ∀ (i : ι), SMulMemClass (S i) G (R i)] [∀ (i : ι), ContinuousConstSMul G (R i)],
  ContinuousConstSMul G (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instContinuousConstVAddCoe E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {𝓕 : Filter ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] {G : Type u_4} [inst_2 : (i : ι) → VAdd G (R i)]
  [inst_3 : ∀ (i : ι), VAddMemClass (S i) G (R i)] [∀ (i : ι), ContinuousConstVAdd G (R i)],
  ContinuousConstVAdd G (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instContinuousMulCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Mul (R i)]
  [inst_3 : ∀ (i : ι), MulMemClass (S i) (R i)] [∀ (i : ι), ContinuousMul (R i)],
  ContinuousMul (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

instance RestrictedProduct.instContinuousAddCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Add (R i)]
  [inst_3 : ∀ (i : ι), AddMemClass (S i) (R i)] [∀ (i : ι), ContinuousAdd (R i)],
  ContinuousAdd (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

instance RestrictedProduct.instContinuousSMulCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] {G : Type u_4} [inst_2 : TopologicalSpace G]
  [inst_3 : (i : ι) → SMul G (R i)] [inst_4 : ∀ (i : ι), SMulMemClass (S i) G (R i)]
  [∀ (i : ι), ContinuousSMul G (R i)],
  ContinuousSMul G (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

instance RestrictedProduct.instContinuousVAddCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] {G : Type u_4} [inst_2 : TopologicalSpace G]
  [inst_3 : (i : ι) → VAdd G (R i)] [inst_4 : ∀ (i : ι), VAddMemClass (S i) G (R i)]
  [∀ (i : ι), ContinuousVAdd G (R i)],
  ContinuousVAdd G (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

instance RestrictedProduct.instIsTopologicalAddGroupCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → AddGroup (R i)]
  [inst_3 : ∀ (i : ι), AddSubgroupClass (S i) (R i)] [∀ (i : ι), IsTopologicalAddGroup (R i)],
  IsTopologicalAddGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

instance RestrictedProduct.instIsTopologicalGroupCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Group (R i)]
  [inst_3 : ∀ (i : ι), SubgroupClass (S i) (R i)] [∀ (i : ι), IsTopologicalGroup (R i)],
  IsTopologicalGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

instance RestrictedProduct.instIsTopologicalRingCoePrincipal E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Ring (R i)]
  [inst_3 : ∀ (i : ι), SubringClass (S i) (R i)] [∀ (i : ι), IsTopologicalRing (R i)],
  IsTopologicalRing (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) (Filter.principal T))

theorem RestrictedProduct.nhds_zero_eq_map_ofPre E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  {T : Set ι} [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Zero (R i)]
  [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (R i)],
  (∀ (i : ι), IsOpen ↑(B i)) →
    ∀ (hT : Filter.cofinite ≤ Filter.principal T),
      nhds (RestrictedProduct.inclusion R (fun i ↦ ↑(B i)) hT 0) =
        Filter.map (RestrictedProduct.inclusion R (fun i ↦ ↑(B i)) hT) (nhds 0)

theorem RestrictedProduct.nhds_zero_eq_map_structureMap E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [inst_2 : (i : ι) → Zero (R i)]
  [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (R i)],
  (∀ (i : ι), IsOpen ↑(B i)) →
    nhds (RestrictedProduct.structureMap R (fun i ↦ ↑(B i)) Filter.cofinite 0) =
      Filter.map (RestrictedProduct.structureMap R (fun i ↦ ↑(B i)) Filter.cofinite) (nhds 0)

instance RestrictedProduct.instContinuousMulCoeCofinite E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))] [inst_2 : (i : ι) → Mul (R i)]
  [inst_3 : ∀ (i : ι), MulMemClass (S i) (R i)] [∀ (i : ι), ContinuousMul (R i)],
  ContinuousMul (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.instContinuousAddCoeCofinite E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))] [inst_2 : (i : ι) → Add (R i)]
  [inst_3 : ∀ (i : ι), AddMemClass (S i) (R i)] [∀ (i : ι), ContinuousAdd (R i)],
  ContinuousAdd (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.continuousSMul E3 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))] {G : Type u_4}
  [inst_2 : TopologicalSpace G] [inst_3 : (i : ι) → SMul G (R i)] [inst_4 : ∀ (i : ι), SMulMemClass (S i) G (R i)]
  [∀ (i : ι), ContinuousSMul G (R i)],
  ContinuousSMul G (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.continuousVAdd E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))] {G : Type u_4}
  [inst_2 : TopologicalSpace G] [inst_3 : (i : ι) → VAdd G (R i)] [inst_4 : ∀ (i : ι), VAddMemClass (S i) G (R i)]
  [∀ (i : ι), ContinuousVAdd G (R i)],
  ContinuousVAdd G (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.isTopologicalGroup E3 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))]
  [inst_2 : (i : ι) → Group (R i)] [inst_3 : ∀ (i : ι), SubgroupClass (S i) (R i)]
  [∀ (i : ι), IsTopologicalGroup (R i)],
  IsTopologicalGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.isTopologicalAddGroup E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))]
  [inst_2 : (i : ι) → AddGroup (R i)] [inst_3 : ∀ (i : ι), AddSubgroupClass (S i) (R i)]
  [∀ (i : ι), IsTopologicalAddGroup (R i)],
  IsTopologicalAddGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.isTopologicalRing E3 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))] [inst_2 : (i : ι) → Ring (R i)]
  [inst_3 : ∀ (i : ι), SubringClass (S i) (R i)] [∀ (i : ι), IsTopologicalRing (R i)],
  IsTopologicalRing (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

theorem RestrictedProduct.locallyCompactSpace_of_group E3 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))]
  [inst_2 : (i : ι) → Group (R i)] [∀ (i : ι), SubgroupClass (S i) (R i)] [∀ (i : ι), IsTopologicalGroup (R i)]
  [∀ (i : ι), LocallyCompactSpace (R i)],
  (∀ᶠ (i : ι) in Filter.cofinite, IsCompact ↑(B i)) →
    LocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

Assume that each R i is a locally compact group with A i an open subgroup. Assume also that all but finitely many A is are compact. Then the restricted product Πʳ i, [R i, A i] is a locally compact group.

theorem RestrictedProduct.locallyCompactSpace_of_addGroup E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))]
  [inst_2 : (i : ι) → AddGroup (R i)] [∀ (i : ι), AddSubgroupClass (S i) (R i)] [∀ (i : ι), IsTopologicalAddGroup (R i)]
  [∀ (i : ι), LocallyCompactSpace (R i)],
  (∀ᶠ (i : ι) in Filter.cofinite, IsCompact ↑(B i)) →
    LocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

Assume that each R i is a locally compact additive group with A i an open subgroup. Assume also that all but finitely many A is are compact. Then the restricted product Πʳ i, [R i, A i] is a locally compact additive group.

instance RestrictedProduct.instLocallyCompactSpaceCoeCofiniteOfSubgroupClassOfIsTopologicalGroupOfCompactSpaceSubtypeMem E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))]
  [inst_2 : (i : ι) → Group (R i)] [∀ (i : ι), SubgroupClass (S i) (R i)] [∀ (i : ι), IsTopologicalGroup (R i)]
  [hAcompact : ∀ (i : ι), CompactSpace ↥(B i)],
  LocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

instance RestrictedProduct.instLocallyCompactSpaceCoeCofiniteOfAddSubgroupClassOfIsTopologicalAddGroupOfCompactSpaceSubtypeMem E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)] {B : (i : ι) → S i}
  [inst_1 : (i : ι) → TopologicalSpace (R i)] [hBopen : Fact (∀ (i : ι), IsOpen ↑(B i))]
  [inst_2 : (i : ι) → AddGroup (R i)] [∀ (i : ι), AddSubgroupClass (S i) (R i)] [∀ (i : ι), IsTopologicalAddGroup (R i)]
  [hAcompact : ∀ (i : ι), CompactSpace ↥(B i)],
  LocallyCompactSpace (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) Filter.cofinite)

theorem RestrictedProduct.mapAlong_continuous E1 #

∀ {ι₁ : Type u_3} {ι₂ : Type u_4} (R₁ : ι₁ → Type u_5) (R₂ : ι₂ → Type u_6) [inst : (i : ι₁) → TopologicalSpace (R₁ i)]
  [inst_1 : (i : ι₂) → TopologicalSpace (R₂ i)] {𝓕₁ : Filter ι₁} {𝓕₂ : Filter ι₂} {A₁ : (i : ι₁) → Set (R₁ i)}
  {A₂ : (i : ι₂) → Set (R₂ i)} (f : ι₂ → ι₁) (hf : Filter.Tendsto f 𝓕₂ 𝓕₁) (φ : (j : ι₂) → R₁ (f j) → R₂ j)
  (hφ : ∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo (φ j) (A₁ (f j)) (A₂ j)),
  (∀ (j : ι₂), Continuous (φ j)) → Continuous (RestrictedProduct.mapAlong R₁ R₂ f hf φ hφ)