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 / V13. General topology

Mathlib.Topology.List

27 declarations. Mathlib docs · Source

instance instTopologicalSpaceList E0 #

{α : Type u_1} → [TopologicalSpace α] → TopologicalSpace (List α)

theorem nhds_list E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (as : List α), nhds as = traverse nhds as

theorem nhds_nil E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α], nhds [] = pure []

theorem nhds_cons E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (a : α) (l : List α), nhds (a :: l) = List.cons <$> nhds a <*> nhds l

theorem List.tendsto_cons E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {a : α} {l : List α},
  Filter.Tendsto (fun p ↦ p.1 :: p.2) (nhds a ×ˢ nhds l) (nhds (a :: l))

theorem Filter.Tendsto.cons E1 #

∀ {β : Type u_2} [inst : TopologicalSpace β] {α : Type u_3} {f : α → β} {g : α → List β} {a : Filter α} {b : β}
  {l : List β},
  Filter.Tendsto f a (nhds b) → Filter.Tendsto g a (nhds l) → Filter.Tendsto (fun a ↦ f a :: g a) a (nhds (b :: l))

theorem List.tendsto_cons_iff E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {β : Type u_3} {f : List α → β} {b : Filter β} {a : α} {l : List α},
  Filter.Tendsto f (nhds (a :: l)) b ↔ Filter.Tendsto (fun p ↦ f (p.1 :: p.2)) (nhds a ×ˢ nhds l) b

theorem List.continuous_cons E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α], Continuous fun x ↦ x.1 :: x.2

theorem List.tendsto_nhds E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {β : Type u_3} {f : List α → β} {r : List α → Filter β},
  Filter.Tendsto f (pure []) (r []) →
    (∀ (l : List α) (a : α),
        Filter.Tendsto f (nhds l) (r l) → Filter.Tendsto (fun p ↦ f (p.1 :: p.2)) (nhds a ×ˢ nhds l) (r (a :: l))) →
      ∀ (l : List α), Filter.Tendsto f (nhds l) (r l)

instance List.instDiscreteTopology E0 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [DiscreteTopology α], DiscreteTopology (List α)

theorem List.continuousAt_length E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] (l : List α), ContinuousAt List.length l

theorem List.tendsto_insertIdx' E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {a : α} {n : ℕ} {l : List α},
  Filter.Tendsto (fun p ↦ p.2.insertIdx n p.1) (nhds a ×ˢ nhds l) (nhds (l.insertIdx n a))

Continuity of insertIdx in terms of Tendsto.

theorem List.tendsto_insertIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {β : Type u_3} {n : ℕ} {a : α} {l : List α} {f : β → α} {g : β → List α}
  {b : Filter β},
  Filter.Tendsto f b (nhds a) →
    Filter.Tendsto g b (nhds l) → Filter.Tendsto (fun b ↦ (g b).insertIdx n (f b)) b (nhds (l.insertIdx n a))

theorem List.continuous_insertIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ}, Continuous fun p ↦ p.2.insertIdx n p.1

theorem List.tendsto_eraseIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ} {l : List α},
  Filter.Tendsto (fun x ↦ x.eraseIdx n) (nhds l) (nhds (l.eraseIdx n))

theorem List.continuous_eraseIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ}, Continuous fun l ↦ l.eraseIdx n

theorem List.tendsto_sum E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : AddZeroClass α] [ContinuousAdd α] {l : List α},
  Filter.Tendsto List.sum (nhds l) (nhds l.sum)

theorem List.tendsto_prod E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MulOneClass α] [ContinuousMul α] {l : List α},
  Filter.Tendsto List.prod (nhds l) (nhds l.prod)

theorem List.continuous_sum E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : AddZeroClass α] [ContinuousAdd α], Continuous List.sum

theorem List.continuous_prod E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] [inst_1 : MulOneClass α] [ContinuousMul α], Continuous List.prod

instance List.Vector.instTopologicalSpace E0 #

{α : Type u_1} → [TopologicalSpace α] → (n : ℕ) → TopologicalSpace (List.Vector α n)

theorem List.Vector.tendsto_cons E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ} {a : α} {l : List.Vector α n},
  Filter.Tendsto (fun p ↦ p.1 ::ᵥ p.2) (nhds a ×ˢ nhds l) (nhds (a ::ᵥ l))

theorem List.Vector.tendsto_insertIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ} {i : Fin (n + 1)} {a : α} {l : List.Vector α n},
  Filter.Tendsto (fun p ↦ List.Vector.insertIdx p.1 i p.2) (nhds a ×ˢ nhds l) (nhds (List.Vector.insertIdx a i l))

theorem List.Vector.continuous_insertIdx' E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ} {i : Fin (n + 1)},
  Continuous fun p ↦ List.Vector.insertIdx p.1 i p.2

Continuity of Vector.insertIdx.

theorem List.Vector.continuous_insertIdx E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] {n : ℕ} {i : Fin (n + 1)}
  {f : β → α} {g : β → List.Vector α n},
  Continuous f → Continuous g → Continuous fun b ↦ List.Vector.insertIdx (f b) i (g b)

theorem List.Vector.continuousAt_eraseIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ} {i : Fin (n + 1)} {l : List.Vector α (n + 1)},
  ContinuousAt (List.Vector.eraseIdx i) l

theorem List.Vector.continuous_eraseIdx E1 #

∀ {α : Type u_1} [inst : TopologicalSpace α] {n : ℕ} {i : Fin (n + 1)}, Continuous (List.Vector.eraseIdx i)