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 / V05. Groups

Mathlib.Algebra.Group.Pointwise.Set.ListOfFn

6 declarations. Mathlib docs · Source

theorem Set.mem_sum_list_ofFn E0 #

∀ {α : Type u_1} [inst : AddMonoid α] {n : ℕ} {a : α} {s : Fin n → Set α},
  a ∈ (List.ofFn s).sum ↔ ∃ f, (List.ofFn fun i ↦ ↑(f i)).sum = a

theorem Set.mem_prod_list_ofFn E0 #

∀ {α : Type u_1} [inst : Monoid α] {n : ℕ} {a : α} {s : Fin n → Set α},
  a ∈ (List.ofFn s).prod ↔ ∃ f, (List.ofFn fun i ↦ ↑(f i)).prod = a

theorem Set.mem_list_sum E0 #

∀ {α : Type u_1} [inst : AddMonoid α] {l : List (Set α)} {a : α},
  a ∈ l.sum ↔ ∃ l', (List.map (fun x ↦ ↑x.snd) l').sum = a ∧ List.map Sigma.fst l' = l

theorem Set.mem_list_prod E0 #

∀ {α : Type u_1} [inst : Monoid α] {l : List (Set α)} {a : α},
  a ∈ l.prod ↔ ∃ l', (List.map (fun x ↦ ↑x.snd) l').prod = a ∧ List.map Sigma.fst l' = l

theorem Set.mem_nsmul E0 #

∀ {α : Type u_1} [inst : AddMonoid α] {s : Set α} {a : α} {n : ℕ}, a ∈ n • s ↔ ∃ f, (List.ofFn fun i ↦ ↑(f i)).sum = a

theorem Set.mem_pow E0 #

∀ {α : Type u_1} [inst : Monoid α] {s : Set α} {a : α} {n : ℕ}, a ∈ s ^ n ↔ ∃ f, (List.ofFn fun i ↦ ↑(f i)).prod = a