The areas / V13. General topology
Mathlib.Order.Filter.Pi
50 declarations. Mathlib docs · Source
(Co)product of a family of filters
In this file we prove some basic properties of two filters on Π i, α i.
-
Filter.pi (f : Π i, Filter (α i))to be the maximal filter onΠ i, α isuch that∀ i, Filter.Tendsto (Function.eval i) (Filter.pi f) (f i). It is defined asΠ i, Filter.comap (Function.eval i) (f i). This is a generalization of binary products to indexed products. -
Filter.coprodᵢ (f : Π i, Filter (α i)): a generalization ofFilter.coprod; it is the supremum ofcomap (eval i) (f i).
n-ary coproducts of filters
theorem Filter.tendsto_eval_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} (f : (i : ι) → Filter (α i)) (i : ι),
Filter.Tendsto (Function.eval i) (Filter.pi f) (f i)
theorem Filter.tendsto_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {β : Type u_3} {m : β → (i : ι) → α i} {l : Filter β},
Filter.Tendsto m l (Filter.pi f) ↔ ∀ (i : ι), Filter.Tendsto (fun x ↦ m x i) l (f i)
theorem Filter.Tendsto.apply E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {β : Type u_3} {m : β → (i : ι) → α i} {l : Filter β},
Filter.Tendsto m l (Filter.pi f) → ∀ (i : ι), Filter.Tendsto (fun x ↦ m x i) l (f i)
If a function tends to a product Filter.pi f of filters, then its i-th component tends to
f i. See also Filter.Tendsto.apply_nhds for the special case of converging to a point in a
product of topological spaces.
theorem Filter.le_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {g : Filter ((i : ι) → α i)},
g ≤ Filter.pi f ↔ ∀ (i : ι), Filter.Tendsto (Function.eval i) g (f i)
theorem Filter.pi_mono E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f₁ f₂ : (i : ι) → Filter (α i)},
(∀ (i : ι), f₁ i ≤ f₂ i) → Filter.pi f₁ ≤ Filter.pi f₂
theorem Filter.mem_pi_of_mem E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} (i : ι) {s : Set (α i)},
s ∈ f i → Function.eval i ⁻¹' s ∈ Filter.pi f
theorem Filter.pi_mem_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)} {I : Set ι},
I.Finite → (∀ i ∈ I, s i ∈ f i) → I.pi s ∈ Filter.pi f
theorem Filter.mem_pi E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : Set ((i : ι) → α i)},
s ∈ Filter.pi f ↔ ∃ I, I.Finite ∧ ∃ t, (∀ (i : ι), t i ∈ f i) ∧ I.pi t ⊆ s
theorem Filter.mem_pi' E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : Set ((i : ι) → α i)},
s ∈ Filter.pi f ↔ ∃ I t, (∀ (i : ι), t i ∈ f i) ∧ (↑I).pi t ⊆ s
theorem Filter.mem_of_pi_mem_pi E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)} [∀ (i : ι), (f i).NeBot]
{I : Set ι}, I.pi s ∈ Filter.pi f → ∀ {i : ι}, i ∈ I → s i ∈ f i
theorem Filter.pi_mem_pi_iff E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)} [∀ (i : ι), (f i).NeBot]
{I : Set ι}, I.Finite → (I.pi s ∈ Filter.pi f ↔ ∀ i ∈ I, s i ∈ f i)
theorem Filter.Eventually.eval_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {p : (i : ι) → α i → Prop} {i : ι},
(∀ᶠ (x : α i) in f i, p i x) → ∀ᶠ (x : (i : ι) → α i) in Filter.pi f, p i (x i)
theorem Filter.eventually_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {p : (i : ι) → α i → Prop} [Finite ι],
(∀ (i : ι), ∀ᶠ (x : α i) in f i, p i x) → ∀ᶠ (x : (i : ι) → α i) in Filter.pi f, ∀ (i : ι), p i (x i)
theorem Filter.hasBasis_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {ι' : ι → Type u_3} {s : (i : ι) → ι' i → Set (α i)}
{p : (i : ι) → ι' i → Prop},
(∀ (i : ι), (f i).HasBasis (p i) (s i)) →
(Filter.pi f).HasBasis (fun If ↦ If.1.Finite ∧ ∀ i ∈ If.1, p i (If.2 i)) fun If ↦ If.1.pi fun i ↦ s i (If.2 i)
theorem Filter.hasBasis_pi_same_index E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {κ : Type u_3} {p : κ → Prop}
{s : (i : ι) → κ → Set (α i)},
(∀ (i : ι), (f i).HasBasis p (s i)) →
(∀ (I : Set ι) (k : ι → κ), I.Finite → (∀ i ∈ I, p (k i)) → ∃ k₀, p k₀ ∧ ∀ i ∈ I, s i k₀ ⊆ s i (k i)) →
(Filter.pi f).HasBasis (fun Ik ↦ Ik.1.Finite ∧ p Ik.2) fun Ik ↦ Ik.1.pi fun i ↦ s i Ik.2
theorem Filter.HasBasis.pi_self E1 #
∀ {ι : Type u_1} {α : Type u_3} {κ : Type u_4} {f : Filter α} {p : κ → Prop} {s : κ → Set α},
f.HasBasis p s → (Filter.pi fun x ↦ f).HasBasis (fun Ik ↦ Ik.1.Finite ∧ p Ik.2) fun Ik ↦ Ik.1.pi fun x ↦ s Ik.2
theorem Filter.le_pi_principal E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} (s : (i : ι) → Set (α i)),
Filter.principal (Set.univ.pi s) ≤ Filter.pi fun i ↦ Filter.principal (s i)
theorem Filter.pi_principal E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} [Finite ι] (s : (i : ι) → Set (α i)),
(Filter.pi fun i ↦ Filter.principal (s i)) = Filter.principal (Set.univ.pi s)
The indexed product of finitely many principal filters
is the principal filter corresponding to the cylinder Set.univ.pi s.
If the index type is infinite, then mem_pi_principal and hasBasis_pi_principal may be useful.
theorem Filter.mem_pi_principal E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {s : (i : ι) → Set (α i)} {t : Set ((i : ι) → α i)},
(t ∈ Filter.pi fun i ↦ Filter.principal (s i)) ↔ ∃ I, I.Finite ∧ I.pi s ⊆ t
The indexed product of a (possibly, infinite) family of principal filters
is generated by the finite Set.pi cylinders.
If the index type is finite, then the indexed product of principal filters
is a principal filter, see pi_principal.
theorem Filter.hasBasis_pi_principal E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} (s : (i : ι) → Set (α i)),
(Filter.pi fun i ↦ Filter.principal (s i)).HasBasis Set.Finite fun x ↦ x.pi s
The indexed product of a (possibly, infinite) family of principal filters
is generated by the finite Set.pi cylinders.
If the index type is finite, then the indexed product of principal filters
is a principal filter, see pi_principal.
theorem Filter.pi_pure E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} [Finite ι] (f : (i : ι) → α i), (Filter.pi fun x ↦ pure (f x)) = pure f
The indexed product of finitely many pure filters pure (f i) is the pure filter pure f.
If the index type is infinite, then mem_pi_pure and hasBasis_pi_pure below may be useful.
theorem Filter.mem_pi_pure E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → α i} {s : Set ((i : ι) → α i)},
(s ∈ Filter.pi fun i ↦ pure (f i)) ↔ ∃ I, I.Finite ∧ ∀ (g : (i : ι) → α i), (∀ i ∈ I, g i = f i) → g ∈ s
The indexed product of a (possibly, infinite) family of pure filters pure (f i)
is generated by the sets of functions that are equal to f on a finite set.
If the index type is finite, then the indexed product of pure filters is a pure filter,
see pi_pure.
theorem Filter.hasBasis_pi_pure E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} (f : (i : ι) → α i),
(Filter.pi fun i ↦ pure (f i)).HasBasis Set.Finite fun I ↦ {g | ∀ i ∈ I, g i = f i}
The indexed product of a (possibly, infinite) family of pure filters pure (f i)
is generated by the sets of functions that are equal to f on a finite set.
If the index type is finite, then the indexed product of pure filters is a pure filter,
see pi_pure.
theorem Filter.pi_inf_principal_univ_pi_eq_bot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)},
Filter.pi f ⊓ Filter.principal (Set.univ.pi s) = ⊥ ↔ ∃ i, f i ⊓ Filter.principal (s i) = ⊥
theorem Filter.pi_inf_principal_pi_eq_bot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)} [∀ (i : ι), (f i).NeBot]
{I : Set ι}, Filter.pi f ⊓ Filter.principal (I.pi s) = ⊥ ↔ ∃ i ∈ I, f i ⊓ Filter.principal (s i) = ⊥
theorem Filter.pi_inf_principal_univ_pi_neBot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)},
(Filter.pi f ⊓ Filter.principal (Set.univ.pi s)).NeBot ↔ ∀ (i : ι), (f i ⊓ Filter.principal (s i)).NeBot
theorem Filter.pi_inf_principal_pi_neBot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)} [∀ (i : ι), (f i).NeBot]
{I : Set ι}, (Filter.pi f ⊓ Filter.principal (I.pi s)).NeBot ↔ ∀ i ∈ I, (f i ⊓ Filter.principal (s i)).NeBot
instance Filter.PiInfPrincipalPi.neBot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : (i : ι) → Set (α i)}
[h : ∀ (i : ι), (f i ⊓ Filter.principal (s i)).NeBot] {I : Set ι}, (Filter.pi f ⊓ Filter.principal (I.pi s)).NeBot
theorem Filter.pi_eq_bot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)}, Filter.pi f = ⊥ ↔ ∃ i, f i = ⊥
theorem Filter.pi_neBot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)}, (Filter.pi f).NeBot ↔ ∀ (i : ι), (f i).NeBot
instance Filter.instNeBotForallPi E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} [∀ (i : ι), (f i).NeBot], (Filter.pi f).NeBot
theorem Filter.map_eval_pi E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} (f : (i : ι) → Filter (α i)) [∀ (i : ι), (f i).NeBot] (i : ι),
Filter.map (Function.eval i) (Filter.pi f) = f i
theorem Filter.pi_le_pi E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f₁ f₂ : (i : ι) → Filter (α i)} [∀ (i : ι), (f₁ i).NeBot],
Filter.pi f₁ ≤ Filter.pi f₂ ↔ ∀ (i : ι), f₁ i ≤ f₂ i
theorem Filter.pi_inj E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f₁ f₂ : (i : ι) → Filter (α i)} [∀ (i : ι), (f₁ i).NeBot],
Filter.pi f₁ = Filter.pi f₂ ↔ f₁ = f₂
theorem Filter.tendsto_piMap_pi E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : ι → Type u_3} {f : (i : ι) → α i → β i} {l : (i : ι) → Filter (α i)}
{l' : (i : ι) → Filter (β i)},
(∀ (i : ι), Filter.Tendsto (f i) (l i) (l' i)) → Filter.Tendsto (Pi.map f) (Filter.pi l) (Filter.pi l')
theorem Filter.pi_comap E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {β : ι → Type u_3} {f : (i : ι) → α i → β i} {l : (i : ι) → Filter (β i)},
(Filter.pi fun i ↦ Filter.comap (f i) (l i)) = Filter.comap (Pi.map f) (Filter.pi l)
def Filter.coprodᵢ E1 #
{ι : Type u_1} → {α : ι → Type u_2} → ((i : ι) → Filter (α i)) → Filter ((i : ι) → α i)
Coproduct of filters.
theorem Filter.mem_coprodᵢ_iff E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : Set ((i : ι) → α i)},
s ∈ Filter.coprodᵢ f ↔ ∀ (i : ι), ∃ t₁ ∈ f i, Function.eval i ⁻¹' t₁ ⊆ s
theorem Filter.compl_mem_coprodᵢ E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {s : Set ((i : ι) → α i)},
sᶜ ∈ Filter.coprodᵢ f ↔ ∀ (i : ι), (Function.eval i '' s)ᶜ ∈ f i
theorem Filter.coprodᵢ_neBot_iff' E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)},
(Filter.coprodᵢ f).NeBot ↔ (∀ (i : ι), Nonempty (α i)) ∧ ∃ d, (f d).NeBot
theorem Filter.coprodᵢ_neBot_iff E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} [∀ (i : ι), Nonempty (α i)],
(Filter.coprodᵢ f).NeBot ↔ ∃ d, (f d).NeBot
theorem Filter.coprodᵢ_eq_bot_iff' E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)}, Filter.coprodᵢ f = ⊥ ↔ (∃ i, IsEmpty (α i)) ∨ f = ⊥
theorem Filter.coprodᵢ_eq_bot_iff E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} [∀ (i : ι), Nonempty (α i)],
Filter.coprodᵢ f = ⊥ ↔ f = ⊥
theorem Filter.coprodᵢ_bot' E0 #
∀ {ι : Type u_1} {α : ι → Type u_2}, Filter.coprodᵢ ⊥ = ⊥
theorem Filter.coprodᵢ_bot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2}, (Filter.coprodᵢ fun x ↦ ⊥) = ⊥
theorem Filter.NeBot.coprodᵢ E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} [∀ (i : ι), Nonempty (α i)] {i : ι},
(f i).NeBot → (Filter.coprodᵢ f).NeBot
instance Filter.coprodᵢ_neBot E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} [∀ (i : ι), Nonempty (α i)] [Nonempty ι] (f : (i : ι) → Filter (α i))
[H : ∀ (i : ι), (f i).NeBot], (Filter.coprodᵢ f).NeBot
theorem Filter.coprodᵢ_mono E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f₁ f₂ : (i : ι) → Filter (α i)},
(∀ (i : ι), f₁ i ≤ f₂ i) → Filter.coprodᵢ f₁ ≤ Filter.coprodᵢ f₂
theorem Filter.map_pi_map_coprodᵢ_le E0 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {β : ι → Type u_3} {m : (i : ι) → α i → β i},
Filter.map (fun k i ↦ m i (k i)) (Filter.coprodᵢ f) ≤ Filter.coprodᵢ fun i ↦ Filter.map (m i) (f i)
theorem Filter.Tendsto.pi_map_coprodᵢ E1 #
∀ {ι : Type u_1} {α : ι → Type u_2} {f : (i : ι) → Filter (α i)} {β : ι → Type u_3} {m : (i : ι) → α i → β i}
{g : (i : ι) → Filter (β i)},
(∀ (i : ι), Filter.Tendsto (m i) (f i) (g i)) →
Filter.Tendsto (fun k i ↦ m i (k i)) (Filter.coprodᵢ f) (Filter.coprodᵢ g)