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.Basic

121 declarations. Mathlib docs · Source

Restricted products of sets, groups and rings

We define the restricted product of R : ι → Type* of types, relative to a family of subsets A : (i : ι) → Set (R i) and a filter 𝓕 : Filter ι. This is the set of all x : Π i, R i such that the set {j | x j ∈ A j} belongs to 𝓕. We denote it by Πʳ i, [R i, A i]_[𝓕].

The main case of interest, which we shall refer to as the "classical restricted product", is that of 𝓕 = cofinite. Recall that this is the filter of all subsets of ι, which are cofinite in the sense that they have finite complement. Hence, the associated restricted product is the set of all x : Π i, R i such that x j ∈ A j for all but finitely many js. We denote it simply by Πʳ i, [R i, A i].

Another notable case is that of the principal filter 𝓕 = 𝓟 s corresponding to some subset s of ι. The associated restricted product Πʳ i, [R i, A i]_[𝓟 s] is the set of all x : Π i, R i such that x j ∈ A j for all j ∈ s. Put another way, this is just (Π i ∈ s, A i) × (Π i ∉ s, R i), modulo the obvious isomorphism.

We endow these types with the obvious algebraic structures. We also show various compatibility results.

See also the file Mathlib/Topology/Algebra/RestrictedProduct/TopologicalSpace.lean, which puts the structure of a topological space on a restricted product of topological spaces.

Main definitions

  • RestrictedProduct: the restricted product of a family R of types, relative to a family A of subsets and a filter 𝓕 on the indexing set. This is denoted Πʳ i, [R i, A i]_[𝓕], or simply Πʳ i, [R i, A i] when 𝓕 = cofinite.
  • RestrictedProduct.instDFunLike: interpret an element of Πʳ i, [R i, A i]_[𝓕] as an element of Π i, R i using the DFunLike machinery.
  • RestrictedProduct.structureMap: the inclusion map from Π i, A i to Πʳ i, [R i, A i]_[𝓕].

Notation

  • Πʳ i, [R i, A i]_[𝓕] is RestrictedProduct R A 𝓕.
  • Πʳ i, [R i, A i] is RestrictedProduct R A cofinite.

Tags

restricted product, adeles, ideles

Definition and elementary maps

Algebraic instances on restricted products

In this section, we endow the restricted product with its algebraic instances. To avoid any unnecessary coercions, we use subobject classes for the subset B i of each R i.

theorem RestrictedProduct.mulSingle.congr_simp E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι)
  (x x_1 : G i), x = x_1 → RestrictedProduct.mulSingle A i x = RestrictedProduct.mulSingle A i x_1

theorem RestrictedProduct.single.congr_simp E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι)
  (x x_1 : G i), x = x_1 → RestrictedProduct.single A i x = RestrictedProduct.single A i x_1

def RestrictedProduct E3 #

{ι : Type u_1} → (R : ι → Type u_2) → ((i : ι) → Set (R i)) → Filter ι → Type (max u_1 u_2)

The restricted product of a family R : ι → Type* of types, relative to subsets A : (i : ι) → Set (R i) and the filter 𝓕 : Filter ι, is the set of all x : Π i, R i such that the set {j | x j ∈ A j} belongs to 𝓕. We denote it by Πʳ i, [R i, A i]_[𝓕].

The most common use case is with 𝓕 = cofinite, in which case the restricted product is the set of all x : Π i, R i such that x j ∈ A j for all but finitely many j. We denote it simply by Πʳ i, [R i, A i].

Similarly, if S is a principal filter, the restricted product Πʳ i, [R i, A i]_[𝓟 s] is the set of all x : Π i, R i such that ∀ j ∈ S, x j ∈ A j.

def RestrictedProduct.«termΠʳ_,[_,_]_[_]» E1 #

Lean.ParserDescr

Πʳ i, [R i, A i]_[𝓕] is RestrictedProduct R A 𝓕.

def RestrictedProduct.«termΠʳ_,[_,_]» E1 #

Lean.ParserDescr

Πʳ i, [R i, A i] is RestrictedProduct R A cofinite.

instance RestrictedProduct.instDFunLike E3 #

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

abbrev RestrictedProduct.mk E1 #

{ι : Type u_1} →
  {R : ι → Type u_2} →
    {A : (i : ι) → Set (R i)} →
      {𝓕 : Filter ι} →
        (x : (i : ι) → R i) → (∀ᶠ (i : ι) in 𝓕, x i ∈ A i) → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕

Constructor for RestrictedProduct.

theorem RestrictedProduct.mk_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι} (x : (i : ι) → R i)
  (hx : ∀ᶠ (i : ι) in 𝓕, x i ∈ A i) (i : ι), (RestrictedProduct.mk x hx) i = x i

theorem RestrictedProduct.ext_iff E0 #

∀ {ι : Type u_1} {R : ι → Type u_2} {A : (i : ι) → Set (R i)} {𝓕 : Filter ι}
  {x y : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕}, x = y ↔ ∀ (i : ι), x i = y i

theorem RestrictedProduct.ext E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι}
  {x y : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕}, (∀ (i : ι), x i = y i) → x = y

theorem RestrictedProduct.range_coe E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι},
  Set.range DFunLike.coe = {x | ∀ᶠ (i : ι) in 𝓕, x i ∈ A i}

theorem RestrictedProduct.range_coe_principal E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {S : Set ι}, Set.range DFunLike.coe = S.pi A

theorem RestrictedProduct.eventually E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι}
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕), ∀ᶠ (i : ι) in 𝓕, x i ∈ A i

def RestrictedProduct.structureMap E3 #

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

The structure map of the restricted product is the obvious inclusion from Π i, A i into Πʳ i, [R i, A i]_[𝓕].

theorem RestrictedProduct.structureMap_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι} {x : (i : ι) → ↑(A i)} (i : ι),
  (RestrictedProduct.structureMap R A 𝓕 x) i = ↑(x i)

def RestrictedProduct.inclusion E1 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    (A : (i : ι) → Set (R i)) →
      {𝓕 𝓖 : Filter ι} →
        𝓕 ≤ 𝓖 → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓖 → RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕

If 𝓕 ≤ 𝓖, the restricted product Πʳ i, [R i, A i]_[𝓖] is naturally included in Πʳ i, [R i, A i]_[𝓕]. This is the corresponding map.

theorem RestrictedProduct.inclusion_apply E0 #

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

theorem RestrictedProduct.inclusion_eq_id E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) (𝓕 : Filter ι), RestrictedProduct.inclusion R A ⋯ = id

theorem RestrictedProduct.exists_inclusion_eq_of_eventually E1 #

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

theorem RestrictedProduct.exists_structureMap_eq_of_forall E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι}
  {x : RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕},
  (∀ (i : ι), ↑x i ∈ A i) → ∃ x', RestrictedProduct.structureMap R A 𝓕 x' = x

theorem RestrictedProduct.range_inclusion E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖),
  Set.range (RestrictedProduct.inclusion R A h) = {x | ∀ᶠ (i : ι) in 𝓖, x i ∈ A i}

theorem RestrictedProduct.coe_comp_inclusion E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖),
  DFunLike.coe ∘ RestrictedProduct.inclusion R A h = DFunLike.coe

theorem RestrictedProduct.image_coe_preimage_inclusion_subset E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖)
  (U : Set (RestrictedProduct (fun i ↦ R i) (fun i ↦ A i) 𝓕)),
  DFunLike.coe '' RestrictedProduct.inclusion R A h ⁻¹' U ⊆ DFunLike.coe '' U

theorem RestrictedProduct.range_structureMap E1 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι},
  Set.range (RestrictedProduct.structureMap R A 𝓕) = {f | ∀ (i : ι), ↑f i ∈ A i}

theorem RestrictedProduct.coe_comp_structureMap E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) (A : (i : ι) → Set (R i)) {𝓕 : Filter ι},
  DFunLike.coe ∘ RestrictedProduct.structureMap R A 𝓕 = fun x i ↦ ↑(x i)

instance RestrictedProduct.instZeroCoeOfZeroMemClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Zero (R i)] →
              [∀ (i : ι), ZeroMemClass (S i) (R i)] → Zero (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instOneCoeOfOneMemClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → One (R i)] →
              [∀ (i : ι), OneMemClass (S i) (R i)] → One (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

theorem RestrictedProduct.one_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → One (R i)] [inst_2 : ∀ (i : ι), OneMemClass (S i) (R i)] (i : ι), 1 i = 1

theorem RestrictedProduct.zero_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → Zero (R i)] [inst_2 : ∀ (i : ι), ZeroMemClass (S i) (R i)] (i : ι), 0 i = 0

instance RestrictedProduct.instNegCoeOfNegMemClass E0 #

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

instance RestrictedProduct.instInvCoeOfInvMemClass E0 #

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

theorem RestrictedProduct.inv_apply E0 #

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

theorem RestrictedProduct.neg_apply E0 #

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

instance RestrictedProduct.instMulCoeOfMulMemClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Mul (R i)] →
              [∀ (i : ι), MulMemClass (S i) (R i)] → Mul (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instAddCoeOfAddMemClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Add (R i)] →
              [∀ (i : ι), AddMemClass (S i) (R i)] → Add (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

theorem RestrictedProduct.add_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → Add (R i)] [inst_2 : ∀ (i : ι), AddMemClass (S i) (R i)]
  (x y : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (i : ι), (x + y) i = x i + y i

theorem RestrictedProduct.mul_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → Mul (R i)] [inst_2 : ∀ (i : ι), MulMemClass (S i) (R i)]
  (x y : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (i : ι), (x * y) i = x i * y i

instance RestrictedProduct.instSMulCoeOfSMulMemClass E0 #

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

instance RestrictedProduct.instVAddCoeOfVAddMemClass E0 #

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

theorem RestrictedProduct.smul_apply E0 #

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

theorem RestrictedProduct.vadd_apply E0 #

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

instance RestrictedProduct.instDivCoeOfSubgroupClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → DivInvMonoid (R i)] →
              [∀ (i : ι), SubgroupClass (S i) (R i)] → Div (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instSubCoeOfAddSubgroupClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → SubNegMonoid (R i)] →
              [∀ (i : ι), AddSubgroupClass (S i) (R i)] → Sub (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

theorem RestrictedProduct.sub_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → SubNegMonoid (R i)] [inst_2 : ∀ (i : ι), AddSubgroupClass (S i) (R i)]
  (x y : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (i : ι), (x - y) i = x i - y i

theorem RestrictedProduct.div_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → DivInvMonoid (R i)] [inst_2 : ∀ (i : ι), SubgroupClass (S i) (R i)]
  (x y : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (i : ι), (x / y) i = x i / y i

instance RestrictedProduct.instPow E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Monoid (R i)] →
              [∀ (i : ι), SubmonoidClass (S i) (R i)] → Pow (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) ℕ

instance RestrictedProduct.instNSMul E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddMonoid (R i)] →
              [∀ (i : ι), AddSubmonoidClass (S i) (R i)] → SMul ℕ (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

theorem RestrictedProduct.nsmul_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → AddMonoid (R i)] [inst_2 : ∀ (i : ι), AddSubmonoidClass (S i) (R i)]
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (n : ℕ) (i : ι), (n • x) i = n • x i

theorem RestrictedProduct.pow_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → Monoid (R i)] [inst_2 : ∀ (i : ι), SubmonoidClass (S i) (R i)]
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (n : ℕ) (i : ι), (x ^ n) i = x i ^ n

instance RestrictedProduct.instMonoidCoeOfSubmonoidClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Monoid (R i)] →
              [∀ (i : ι), SubmonoidClass (S i) (R i)] → Monoid (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instAddMonoidCoeOfAddSubmonoidClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddMonoid (R i)] →
              [∀ (i : ι), AddSubmonoidClass (S i) (R i)] →
                AddMonoid (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instAddCommMonoidCoeOfAddSubmonoidClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddCommMonoid (R i)] →
              [∀ (i : ι), AddSubmonoidClass (S i) (R i)] →
                AddCommMonoid (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instCommMonoidCoeOfSubmonoidClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → CommMonoid (R i)] →
              [∀ (i : ι), SubmonoidClass (S i) (R i)] → CommMonoid (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instZSMul E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → SubNegMonoid (R i)] →
              [∀ (i : ι), AddSubgroupClass (S i) (R i)] → SMul ℤ (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instZPow E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → DivInvMonoid (R i)] →
              [∀ (i : ι), SubgroupClass (S i) (R i)] → Pow (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) ℤ

theorem RestrictedProduct.zsmul_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → SubNegMonoid (R i)] [inst_2 : ∀ (i : ι), AddSubgroupClass (S i) (R i)]
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (n : ℤ) (i : ι), (n • x) i = n • x i

theorem RestrictedProduct.zpow_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → DivInvMonoid (R i)] [inst_2 : ∀ (i : ι), SubgroupClass (S i) (R i)]
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (n : ℤ) (i : ι), (x ^ n) i = x i ^ n

instance RestrictedProduct.instNatCastCoeOfAddSubmonoidWithOneClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddMonoidWithOne (R i)] →
              [∀ (i : ι), AddSubmonoidWithOneClass (S i) (R i)] →
                NatCast (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instGroupCoeOfSubgroupClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Group (R i)] →
              [∀ (i : ι), SubgroupClass (S i) (R i)] → Group (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instAddGroupCoeOfAddSubgroupClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddGroup (R i)] →
              [∀ (i : ι), AddSubgroupClass (S i) (R i)] → AddGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instCommGroupCoeOfSubgroupClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → CommGroup (R i)] →
              [∀ (i : ι), SubgroupClass (S i) (R i)] → CommGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instAddCommGroupCoeOfAddSubgroupClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddCommGroup (R i)] →
              [∀ (i : ι), AddSubgroupClass (S i) (R i)] →
                AddCommGroup (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instIntCastCoeOfSubringClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Ring (R i)] →
              [∀ (i : ι), SubringClass (S i) (R i)] → IntCast (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instRingCoeOfSubringClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Ring (R i)] →
              [∀ (i : ι), SubringClass (S i) (R i)] → Ring (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

instance RestrictedProduct.instCommRingCoeOfSubringClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → CommRing (R i)] →
              [∀ (i : ι), SubringClass (S i) (R i)] → CommRing (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

def RestrictedProduct.coeMonoidHom E1 #

{ι : Type u_1} →
  {R : ι → Type u_2} →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → Monoid (R i)] →
              [inst_2 : ∀ (i : ι), SubmonoidClass (S i) (R i)] →
                RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕 →* (i : ι) → R i

The coercion from the restricted product of monoids A i to the (normal) product is a monoid homomorphism.

def RestrictedProduct.coeAddMonoidHom E1 #

{ι : Type u_1} →
  {R : ι → Type u_2} →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            [inst_1 : (i : ι) → AddMonoid (R i)] →
              [inst_2 : ∀ (i : ι), AddSubmonoidClass (S i) (R i)] →
                RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕 →+ (i : ι) → R i

The coercion from the restricted product of additive monoids A i to the (normal) product is an additive monoid homomorphism.

instance RestrictedProduct.instModuleCoeOfSMulMemClass E0 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            {R₀ : Type u_4} →
              [inst_1 : Semiring R₀] →
                [inst_2 : (i : ι) → AddCommMonoid (R i)] →
                  [inst_3 : (i : ι) → Module R₀ (R i)] →
                    [inst_4 : ∀ (i : ι), AddSubmonoidClass (S i) (R i)] →
                      [∀ (i : ι), SMulMemClass (S i) R₀ (R i)] →
                        Module R₀ (RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕)

def RestrictedProduct.evalMonoidHom E1 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            (j : ι) →
              [inst_1 : (i : ι) → Monoid (R i)] →
                [inst_2 : ∀ (i : ι), SubmonoidClass (S i) (R i)] →
                  RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕 →* R j

RestrictedProduct.evalMonoidHom j is the monoid homomorphism from the restricted product Πʳ i, [R i, B i]_[𝓕] to the component R j.

def RestrictedProduct.evalAddMonoidHom E1 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            (j : ι) →
              [inst_1 : (i : ι) → AddMonoid (R i)] →
                [inst_2 : ∀ (i : ι), AddSubmonoidClass (S i) (R i)] →
                  RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕 →+ R j

RestrictedProduct.evalAddMonoidHom j is the monoid homomorphism from the restricted product Πʳ i, [R i, B i]_[𝓕] to the component R j.

theorem RestrictedProduct.evalMonoidHom_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → Monoid (R i)] [inst_2 : ∀ (i : ι), SubmonoidClass (S i) (R i)]
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (j : ι), (RestrictedProduct.evalMonoidHom R j) x = x j

def RestrictedProduct.evalRingHom E1 #

{ι : Type u_1} →
  (R : ι → Type u_2) →
    {𝓕 : Filter ι} →
      {S : ι → Type u_3} →
        [inst : (i : ι) → SetLike (S i) (R i)] →
          {B : (i : ι) → S i} →
            (j : ι) →
              [inst_1 : (i : ι) → Ring (R i)] →
                [inst_2 : ∀ (i : ι), SubringClass (S i) (R i)] →
                  RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕 →+* R j

RestrictedProduct.evalRingHom j is the ring homomorphism from the restricted product Πʳ i, [R i, B i]_[𝓕] to the component R j.

theorem RestrictedProduct.evalRingHom_apply E0 #

∀ {ι : Type u_1} (R : ι → Type u_2) {𝓕 : Filter ι} {S : ι → Type u_3} [inst : (i : ι) → SetLike (S i) (R i)]
  {B : (i : ι) → S i} [inst_1 : (i : ι) → Ring (R i)] [inst_2 : ∀ (i : ι), SubringClass (S i) (R i)]
  (x : RestrictedProduct (fun i ↦ R i) (fun i ↦ ↑(B i)) 𝓕) (j : ι), (RestrictedProduct.evalRingHom R j) x = x j

def RestrictedProduct.mapAlong E1 #

{ι₁ : Type u_3} →
  {ι₂ : Type u_4} →
    (R₁ : ι₁ → Type u_5) →
      (R₂ : ι₂ → Type u_6) →
        {𝓕₁ : Filter ι₁} →
          {𝓕₂ : Filter ι₂} →
            {A₁ : (i : ι₁) → Set (R₁ i)} →
              {A₂ : (i : ι₂) → Set (R₂ i)} →
                (f : ι₂ → ι₁) →
                  Filter.Tendsto f 𝓕₂ 𝓕₁ →
                    (φ : (j : ι₂) → R₁ (f j) → R₂ j) →
                      (∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo (φ j) (A₁ (f j)) (A₂ j)) →
                        RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ A₁ i) 𝓕₁ →
                          RestrictedProduct (fun j ↦ R₂ j) (fun j ↦ A₂ j) 𝓕₂

Given two restricted products Πʳ (i : ι₁), [R₁ i, A₁ i]_[𝓕₁] and Πʳ (j : ι₂), [R₂ j, A₂ j]_[𝓕₂], RestrictedProduct.mapAlong gives a function between them. The data needed is a function f : ι₂ → ι₁ such that 𝓕₂ tends to 𝓕₁ along f, and functions φ j : R₁ (f j) → R₂ j sending A₁ (f j) into A₂ j for an 𝓕₂-large set of j's.

See also mapAlongMonoidHom, mapAlongAddMonoidHom and mapAlongRingHom for variants.

theorem RestrictedProduct.mapAlong_apply E0 #

∀ {ι₁ : Type u_3} {ι₂ : Type u_4} (R₁ : ι₁ → Type u_5) (R₂ : ι₂ → Type u_6) {𝓕₁ : 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))
  (x : RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ A₁ i) 𝓕₁) (j : ι₂),
  (RestrictedProduct.mapAlong R₁ R₂ f hf φ hφ x) j = φ j (x (f j))

def RestrictedProduct.map E1 #

{ι : Type u_1} →
  {𝓕 : Filter ι} →
    {G : ι → Type u_9} →
      {H : ι → Type u_10} →
        {C : (i : ι) → Set (G i)} →
          {D : (i : ι) → Set (H i)} →
            (φ : (i : ι) → G i → H i) →
              (∀ᶠ (i : ι) in 𝓕, Set.MapsTo (φ i) (C i) (D i)) →
                RestrictedProduct (fun i ↦ G i) (fun i ↦ C i) 𝓕 → RestrictedProduct (fun i ↦ H i) (fun i ↦ D i) 𝓕

The maps between restricted products over a fixed index type, given maps on the factors.

theorem RestrictedProduct.map_apply E0 #

∀ {ι : Type u_1} {𝓕 : Filter ι} {G : ι → Type u_9} {H : ι → Type u_10} {C : (i : ι) → Set (G i)}
  {D : (i : ι) → Set (H i)} (φ : (i : ι) → G i → H i) (hφ : ∀ᶠ (i : ι) in 𝓕, Set.MapsTo (φ i) (C i) (D i))
  (x : RestrictedProduct (fun i ↦ G i) (fun i ↦ C i) 𝓕) (j : ι), (RestrictedProduct.map φ hφ x) j = φ j (x j)

def RestrictedProduct.mapAlongMonoidHom E1 #

{ι₁ : Type u_3} →
  {ι₂ : Type u_4} →
    (R₁ : ι₁ → Type u_5) →
      (R₂ : ι₂ → Type u_6) →
        {𝓕₁ : Filter ι₁} →
          {𝓕₂ : Filter ι₂} →
            {S₁ : ι₁ → Type u_7} →
              {S₂ : ι₂ → Type u_8} →
                [inst : (i : ι₁) → SetLike (S₁ i) (R₁ i)] →
                  [inst_1 : (j : ι₂) → SetLike (S₂ j) (R₂ j)] →
                    {B₁ : (i : ι₁) → S₁ i} →
                      {B₂ : (j : ι₂) → S₂ j} →
                        (f : ι₂ → ι₁) →
                          Filter.Tendsto f 𝓕₂ 𝓕₁ →
                            [inst_2 : (i : ι₁) → Monoid (R₁ i)] →
                              [inst_3 : (i : ι₂) → Monoid (R₂ i)] →
                                [inst_4 : ∀ (i : ι₁), SubmonoidClass (S₁ i) (R₁ i)] →
                                  [inst_5 : ∀ (i : ι₂), SubmonoidClass (S₂ i) (R₂ i)] →
                                    (φ : (j : ι₂) → R₁ (f j) →* R₂ j) →
                                      (∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo ⇑(φ j) ↑(B₁ (f j)) ↑(B₂ j)) →
                                        RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ ↑(B₁ i)) 𝓕₁ →*
                                          RestrictedProduct (fun j ↦ R₂ j) (fun j ↦ ↑(B₂ j)) 𝓕₂

Given two restricted products Πʳ (i : ι₁), [R₁ i, B₁ i]_[𝓕₁] and Πʳ (j : ι₂), [R₂ j, B₂ j]_[𝓕₂] of monoids, RestrictedProduct.mapAlongMonoidHom gives a monoid homomorphism between them. The data needed is a function f : ι₂ → ι₁ such that 𝓕₂ tends to 𝓕₁ along f, and monoid homomorphisms φ j : R₁ (f j) → R₂ j sending B₁ (f j) into B₂ j for an 𝓕₂-large set of j's.

def RestrictedProduct.mapAlongAddMonoidHom E1 #

{ι₁ : Type u_3} →
  {ι₂ : Type u_4} →
    (R₁ : ι₁ → Type u_5) →
      (R₂ : ι₂ → Type u_6) →
        {𝓕₁ : Filter ι₁} →
          {𝓕₂ : Filter ι₂} →
            {S₁ : ι₁ → Type u_7} →
              {S₂ : ι₂ → Type u_8} →
                [inst : (i : ι₁) → SetLike (S₁ i) (R₁ i)] →
                  [inst_1 : (j : ι₂) → SetLike (S₂ j) (R₂ j)] →
                    {B₁ : (i : ι₁) → S₁ i} →
                      {B₂ : (j : ι₂) → S₂ j} →
                        (f : ι₂ → ι₁) →
                          Filter.Tendsto f 𝓕₂ 𝓕₁ →
                            [inst_2 : (i : ι₁) → AddMonoid (R₁ i)] →
                              [inst_3 : (i : ι₂) → AddMonoid (R₂ i)] →
                                [inst_4 : ∀ (i : ι₁), AddSubmonoidClass (S₁ i) (R₁ i)] →
                                  [inst_5 : ∀ (i : ι₂), AddSubmonoidClass (S₂ i) (R₂ i)] →
                                    (φ : (j : ι₂) → R₁ (f j) →+ R₂ j) →
                                      (∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo ⇑(φ j) ↑(B₁ (f j)) ↑(B₂ j)) →
                                        RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ ↑(B₁ i)) 𝓕₁ →+
                                          RestrictedProduct (fun j ↦ R₂ j) (fun j ↦ ↑(B₂ j)) 𝓕₂

Given two restricted products Πʳ (i : ι₁), [R₁ i, B₁ i]_[𝓕₁] and Πʳ (j : ι₂), [R₂ j, B₂ j]_[𝓕₂] of additive monoids, RestrictedProduct.mapAlongAddMonoidHom gives an additive monoid homomorphism between them. The data needed is a function f : ι₂ → ι₁ such that 𝓕₂ tends to 𝓕₁ along f, and additive monoid homomorphisms φ j : R₁ (f j) → R₂ j sending B₁ (f j) into B₂ j for an 𝓕₂-large set of j's.

theorem RestrictedProduct.mapAlongAddMonoidHom_apply E0 #

∀ {ι₁ : Type u_3} {ι₂ : Type u_4} (R₁ : ι₁ → Type u_5) (R₂ : ι₂ → Type u_6) {𝓕₁ : Filter ι₁} {𝓕₂ : Filter ι₂}
  {S₁ : ι₁ → Type u_7} {S₂ : ι₂ → Type u_8} [inst : (i : ι₁) → SetLike (S₁ i) (R₁ i)]
  [inst_1 : (j : ι₂) → SetLike (S₂ j) (R₂ j)] {B₁ : (i : ι₁) → S₁ i} {B₂ : (j : ι₂) → S₂ j} (f : ι₂ → ι₁)
  (hf : Filter.Tendsto f 𝓕₂ 𝓕₁) [inst_2 : (i : ι₁) → AddMonoid (R₁ i)] [inst_3 : (i : ι₂) → AddMonoid (R₂ i)]
  [inst_4 : ∀ (i : ι₁), AddSubmonoidClass (S₁ i) (R₁ i)] [inst_5 : ∀ (i : ι₂), AddSubmonoidClass (S₂ i) (R₂ i)]
  (φ : (j : ι₂) → R₁ (f j) →+ R₂ j) (hφ : ∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo ⇑(φ j) ↑(B₁ (f j)) ↑(B₂ j))
  (x : RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ ↑(B₁ i)) 𝓕₁) (j : ι₂),
  ((RestrictedProduct.mapAlongAddMonoidHom R₁ R₂ f hf φ hφ) x) j = (φ j) (x (f j))

theorem RestrictedProduct.mapAlongMonoidHom_apply E0 #

∀ {ι₁ : Type u_3} {ι₂ : Type u_4} (R₁ : ι₁ → Type u_5) (R₂ : ι₂ → Type u_6) {𝓕₁ : Filter ι₁} {𝓕₂ : Filter ι₂}
  {S₁ : ι₁ → Type u_7} {S₂ : ι₂ → Type u_8} [inst : (i : ι₁) → SetLike (S₁ i) (R₁ i)]
  [inst_1 : (j : ι₂) → SetLike (S₂ j) (R₂ j)] {B₁ : (i : ι₁) → S₁ i} {B₂ : (j : ι₂) → S₂ j} (f : ι₂ → ι₁)
  (hf : Filter.Tendsto f 𝓕₂ 𝓕₁) [inst_2 : (i : ι₁) → Monoid (R₁ i)] [inst_3 : (i : ι₂) → Monoid (R₂ i)]
  [inst_4 : ∀ (i : ι₁), SubmonoidClass (S₁ i) (R₁ i)] [inst_5 : ∀ (i : ι₂), SubmonoidClass (S₂ i) (R₂ i)]
  (φ : (j : ι₂) → R₁ (f j) →* R₂ j) (hφ : ∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo ⇑(φ j) ↑(B₁ (f j)) ↑(B₂ j))
  (x : RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ ↑(B₁ i)) 𝓕₁) (j : ι₂),
  ((RestrictedProduct.mapAlongMonoidHom R₁ R₂ f hf φ hφ) x) j = (φ j) (x (f j))

def RestrictedProduct.mapAlongRingHom E1 #

{ι₁ : Type u_3} →
  {ι₂ : Type u_4} →
    (R₁ : ι₁ → Type u_5) →
      (R₂ : ι₂ → Type u_6) →
        {𝓕₁ : Filter ι₁} →
          {𝓕₂ : Filter ι₂} →
            {S₁ : ι₁ → Type u_7} →
              {S₂ : ι₂ → Type u_8} →
                [inst : (i : ι₁) → SetLike (S₁ i) (R₁ i)] →
                  [inst_1 : (j : ι₂) → SetLike (S₂ j) (R₂ j)] →
                    {B₁ : (i : ι₁) → S₁ i} →
                      {B₂ : (j : ι₂) → S₂ j} →
                        (f : ι₂ → ι₁) →
                          Filter.Tendsto f 𝓕₂ 𝓕₁ →
                            [inst_2 : (i : ι₁) → Ring (R₁ i)] →
                              [inst_3 : (i : ι₂) → Ring (R₂ i)] →
                                [inst_4 : ∀ (i : ι₁), SubringClass (S₁ i) (R₁ i)] →
                                  [inst_5 : ∀ (i : ι₂), SubringClass (S₂ i) (R₂ i)] →
                                    (φ : (j : ι₂) → R₁ (f j) →+* R₂ j) →
                                      (∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo ⇑(φ j) ↑(B₁ (f j)) ↑(B₂ j)) →
                                        RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ ↑(B₁ i)) 𝓕₁ →+*
                                          RestrictedProduct (fun j ↦ R₂ j) (fun j ↦ ↑(B₂ j)) 𝓕₂

Given two restricted products of rings Πʳ (i : ι₁), [R₁ i, B₁ i]_[𝓕₁] and Πʳ (j : ι₂), [R₂ j, B₂ j]_[𝓕₂], RestrictedProduct.mapAlongRingHom gives a ring homomorphism between them. The data needed is a function f : ι₂ → ι₁ such that 𝓕₂ tends to 𝓕₁ along f, and ring homomorphisms φ j : R₁ (f j) → R₂ j sending B₁ (f j) into B₂ j for an 𝓕₂-large set of j's.

theorem RestrictedProduct.mapAlongRingHom_apply E0 #

∀ {ι₁ : Type u_3} {ι₂ : Type u_4} (R₁ : ι₁ → Type u_5) (R₂ : ι₂ → Type u_6) {𝓕₁ : Filter ι₁} {𝓕₂ : Filter ι₂}
  {S₁ : ι₁ → Type u_7} {S₂ : ι₂ → Type u_8} [inst : (i : ι₁) → SetLike (S₁ i) (R₁ i)]
  [inst_1 : (j : ι₂) → SetLike (S₂ j) (R₂ j)] {B₁ : (i : ι₁) → S₁ i} {B₂ : (j : ι₂) → S₂ j} (f : ι₂ → ι₁)
  (hf : Filter.Tendsto f 𝓕₂ 𝓕₁) [inst_2 : (i : ι₁) → Ring (R₁ i)] [inst_3 : (i : ι₂) → Ring (R₂ i)]
  [inst_4 : ∀ (i : ι₁), SubringClass (S₁ i) (R₁ i)] [inst_5 : ∀ (i : ι₂), SubringClass (S₂ i) (R₂ i)]
  (φ : (j : ι₂) → R₁ (f j) →+* R₂ j) (hφ : ∀ᶠ (j : ι₂) in 𝓕₂, Set.MapsTo ⇑(φ j) ↑(B₁ (f j)) ↑(B₂ j))
  (x : RestrictedProduct (fun i ↦ R₁ i) (fun i ↦ ↑(B₁ i)) 𝓕₁) (j : ι₂),
  ((RestrictedProduct.mapAlongRingHom R₁ R₂ f hf φ hφ) x) j = (φ j) (x (f j))

def RestrictedProduct.mulSingle E1 #

{ι : Type u_1} →
  {S : ι → Type u_3} →
    {G : ι → Type u_4} →
      [inst : (i : ι) → SetLike (S i) (G i)] →
        (A : (i : ι) → S i) →
          [DecidableEq ι] →
            [inst_2 : (i : ι) → One (G i)] →
              [∀ (i : ι), OneMemClass (S i) (G i)] →
                (i : ι) → G i → RestrictedProduct (fun i ↦ G i) (fun i ↦ ↑(A i)) Filter.cofinite

The function supported at i, with value x there, and 1 elsewhere.

def RestrictedProduct.single E1 #

{ι : Type u_1} →
  {S : ι → Type u_3} →
    {G : ι → Type u_4} →
      [inst : (i : ι) → SetLike (S i) (G i)] →
        (A : (i : ι) → S i) →
          [DecidableEq ι] →
            [inst_2 : (i : ι) → Zero (G i)] →
              [∀ (i : ι), ZeroMemClass (S i) (G i)] →
                (i : ι) → G i → RestrictedProduct (fun i ↦ G i) (fun i ↦ ↑(A i)) Filter.cofinite

The function supported at i, with value x there, and 0 elsewhere.

theorem RestrictedProduct.coe_single_apply E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι)
  (x : G i) (j : ι), (RestrictedProduct.single A i x) j = Pi.single i x j

theorem RestrictedProduct.coe_mulSingle_apply E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι)
  (x : G i) (j : ι), (RestrictedProduct.mulSingle A i x) j = Pi.mulSingle i x j

theorem RestrictedProduct.comp_single E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι),
  DFunLike.coe ∘ RestrictedProduct.single A i = Pi.single i

theorem RestrictedProduct.comp_mulSingle E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι),
  DFunLike.coe ∘ RestrictedProduct.mulSingle A i = Pi.mulSingle i

theorem RestrictedProduct.single_injective E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι),
  Function.Injective (RestrictedProduct.single A i)

theorem RestrictedProduct.mulSingle_injective E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι),
  Function.Injective (RestrictedProduct.mulSingle A i)

theorem RestrictedProduct.single_inj E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι)
  {x y : G i}, RestrictedProduct.single A i x = RestrictedProduct.single A i y ↔ x = y

theorem RestrictedProduct.mulSingle_inj E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι)
  {x y : G i}, RestrictedProduct.mulSingle A i x = RestrictedProduct.mulSingle A i y ↔ x = y

theorem RestrictedProduct.single_eq_same E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι)
  (r : G i), (RestrictedProduct.single A i r) i = r

theorem RestrictedProduct.mulSingle_eq_same E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι)
  (r : G i), (RestrictedProduct.mulSingle A i r) i = r

theorem RestrictedProduct.single_eq_of_ne E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] {i j : ι}
  (r : G i), j ≠ i → (RestrictedProduct.single A i r) j = 0

theorem RestrictedProduct.mulSingle_eq_of_ne E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] {i j : ι}
  (r : G i), j ≠ i → (RestrictedProduct.mulSingle A i r) j = 1

theorem RestrictedProduct.mulSingle_eq_of_ne' E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] {i j : ι}
  (r : G i), i ≠ j → (RestrictedProduct.mulSingle A i r) j = 1

theorem RestrictedProduct.single_eq_of_ne' E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] {i j : ι}
  (r : G i), i ≠ j → (RestrictedProduct.single A i r) j = 0

theorem RestrictedProduct.single_zero E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι),
  RestrictedProduct.single A i 0 = 0

theorem RestrictedProduct.mulSingle_one E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι),
  RestrictedProduct.mulSingle A i 1 = 1

theorem RestrictedProduct.single_eq_zero_iff E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι)
  {x : G i}, RestrictedProduct.single A i x = 0 ↔ x = 0

theorem RestrictedProduct.mulSingle_eq_one_iff E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι)
  {x : G i}, RestrictedProduct.mulSingle A i x = 1 ↔ x = 1

theorem RestrictedProduct.single_ne_zero_iff E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Zero (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)] (i : ι)
  {x : G i}, RestrictedProduct.single A i x ≠ 0 ↔ x ≠ 0

theorem RestrictedProduct.mulSingle_ne_one_iff E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → One (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)] (i : ι)
  {x : G i}, RestrictedProduct.mulSingle A i x ≠ 1 ↔ x ≠ 1

theorem RestrictedProduct.single_add E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → AddZeroClass (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)]
  [inst_4 : ∀ (i : ι), AddMemClass (S i) (G i)] (i : ι) (r s : G i),
  RestrictedProduct.single A i (r + s) = RestrictedProduct.single A i r + RestrictedProduct.single A i s

theorem RestrictedProduct.mulSingle_mul E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → MulOneClass (G i)] [inst_3 : ∀ (i : ι), OneMemClass (S i) (G i)]
  [inst_4 : ∀ (i : ι), MulMemClass (S i) (G i)] (i : ι) (r s : G i),
  RestrictedProduct.mulSingle A i (r * s) = RestrictedProduct.mulSingle A i r * RestrictedProduct.mulSingle A i s

theorem RestrictedProduct.mul_single E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → MulZeroClass (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)]
  [inst_4 : ∀ (i : ι), MulMemClass (S i) (G i)] (i : ι) (r : G i)
  (x : RestrictedProduct (fun i ↦ G i) (fun i ↦ ↑(A i)) Filter.cofinite),
  RestrictedProduct.single A i (x i * r) = x * RestrictedProduct.single A i r

theorem RestrictedProduct.single_mul E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → MulZeroClass (G i)] [inst_3 : ∀ (i : ι), ZeroMemClass (S i) (G i)]
  [inst_4 : ∀ (i : ι), MulMemClass (S i) (G i)] (i : ι) (r : G i)
  (x : RestrictedProduct (fun i ↦ G i) (fun i ↦ ↑(A i)) Filter.cofinite),
  RestrictedProduct.single A i (r * x i) = RestrictedProduct.single A i r * x

theorem RestrictedProduct.mulSingle_inv E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Group (G i)] [inst_3 : ∀ (i : ι), SubgroupClass (S i) (G i)] (i : ι)
  (r : G i), RestrictedProduct.mulSingle A i r⁻¹ = (RestrictedProduct.mulSingle A i r)⁻¹

theorem RestrictedProduct.single_neg E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → AddGroup (G i)] [inst_3 : ∀ (i : ι), AddSubgroupClass (S i) (G i)]
  (i : ι) (r : G i), RestrictedProduct.single A i (-r) = -RestrictedProduct.single A i r

theorem RestrictedProduct.single_sub E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → AddGroup (G i)] [inst_3 : ∀ (i : ι), AddSubgroupClass (S i) (G i)]
  (i : ι) (r s : G i),
  RestrictedProduct.single A i (r - s) = RestrictedProduct.single A i r - RestrictedProduct.single A i s

theorem RestrictedProduct.mulSingle_div E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Group (G i)] [inst_3 : ∀ (i : ι), SubgroupClass (S i) (G i)] (i : ι)
  (r s : G i),
  RestrictedProduct.mulSingle A i (r / s) = RestrictedProduct.mulSingle A i r / RestrictedProduct.mulSingle A i s

theorem RestrictedProduct.single_nsmul E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → AddMonoid (G i)] [inst_3 : ∀ (i : ι), AddSubmonoidClass (S i) (G i)]
  (i : ι) (r : G i) (n : ℕ), RestrictedProduct.single A i (n • r) = n • RestrictedProduct.single A i r

theorem RestrictedProduct.mulSingle_pow E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Monoid (G i)] [inst_3 : ∀ (i : ι), SubmonoidClass (S i) (G i)] (i : ι)
  (r : G i) (n : ℕ), RestrictedProduct.mulSingle A i (r ^ n) = RestrictedProduct.mulSingle A i r ^ n

theorem RestrictedProduct.mulSingle_zpow E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Group (G i)] [inst_3 : ∀ (i : ι), SubgroupClass (S i) (G i)] (i : ι)
  (r : G i) (n : ℤ), RestrictedProduct.mulSingle A i (r ^ n) = RestrictedProduct.mulSingle A i r ^ n

theorem RestrictedProduct.single_zsmul E1 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → AddGroup (G i)] [inst_3 : ∀ (i : ι), AddSubgroupClass (S i) (G i)]
  (i : ι) (r : G i) (n : ℤ), RestrictedProduct.single A i (n • r) = n • RestrictedProduct.single A i r

def RestrictedProduct.mulSingleMonoidHom E1 #

{ι : Type u_1} →
  {S : ι → Type u_3} →
    {G : ι → Type u_4} →
      [inst : (i : ι) → SetLike (S i) (G i)] →
        (A : (i : ι) → S i) →
          [DecidableEq ι] →
            [inst_2 : (i : ι) → Monoid (G i)] →
              [inst_3 : ∀ (i : ι), SubmonoidClass (S i) (G i)] →
                (i : ι) → G i →* RestrictedProduct (fun i ↦ G i) (fun i ↦ ↑(A i)) Filter.cofinite

The map from a single factor to the restricted product given by setting the rest of the entries to be 1.

theorem RestrictedProduct.mulSingleMonoidHom_apply E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → Monoid (G i)] [inst_3 : ∀ (i : ι), SubmonoidClass (S i) (G i)] (i : ι)
  (x : G i), (RestrictedProduct.mulSingleMonoidHom A i) x = RestrictedProduct.mulSingle A i x

def RestrictedProduct.singleAddMonoidHom E1 #

{ι : Type u_1} →
  {S : ι → Type u_3} →
    {G : ι → Type u_4} →
      [inst : (i : ι) → SetLike (S i) (G i)] →
        (A : (i : ι) → S i) →
          [DecidableEq ι] →
            [inst_2 : (i : ι) → AddMonoid (G i)] →
              [inst_3 : ∀ (i : ι), AddSubmonoidClass (S i) (G i)] →
                (i : ι) → G i →+ RestrictedProduct (fun i ↦ G i) (fun i ↦ ↑(A i)) Filter.cofinite

The map from a single factor to the restricted product given by setting the rest of the entries to be 0.

theorem RestrictedProduct.singleAddMonoidHom_apply E0 #

∀ {ι : Type u_1} {S : ι → Type u_3} {G : ι → Type u_4} [inst : (i : ι) → SetLike (S i) (G i)] (A : (i : ι) → S i)
  [inst_1 : DecidableEq ι] [inst_2 : (i : ι) → AddMonoid (G i)] [inst_3 : ∀ (i : ι), AddSubmonoidClass (S i) (G i)]
  (i : ι) (x : G i), (RestrictedProduct.singleAddMonoidHom A i) x = RestrictedProduct.single A i x