The areas / V13. General topology
Mathlib.Order.Filter.Prod
101 declarations. Mathlib docs · Source
Product and coproduct filters
In this file we prove some basic properties of f ×ˢ g and Filter.coprod f g. The product
of two filters is the largest filter l such that Filter.Tendsto Prod.fst l f and
Filter.Tendsto Prod.snd l g.
Implementation notes
The product filter cannot be defined using the monad structure on filters. For example:
F := do {x ← seq, y ← top, return (x, y)}
G := do {y ← top, x ← seq, return (x, y)}
hence:
s ∈ F ↔ ∃ n, [n..∞] × univ ⊆ s
s ∈ G ↔ ∀ i:ℕ, ∃ n, [n..∞] × {i} ⊆ s
Now ⋃ i, [i..∞] × {i} is in G but not in F.
As product filter we want to have F as result.
Coproducts of filters
theorem Filter.prod_mem_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β} {f : Filter α} {g : Filter β}, s ∈ f → t ∈ g → s ×ˢ t ∈ f ×ˢ g
theorem Filter.mem_prod_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {s : Set (α × β)} {f : Filter α} {g : Filter β},
s ∈ f ×ˢ g ↔ ∃ t₁ ∈ f, ∃ t₂ ∈ g, t₁ ×ˢ t₂ ⊆ s
theorem Filter.compl_diagonal_mem_prod E0 #
∀ {α : Type u_1} {l₁ l₂ : Filter α}, (Set.diagonal α)ᶜ ∈ l₁ ×ˢ l₂ ↔ Disjoint l₁ l₂
theorem Filter.prod_mem_prod_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β} {f : Filter α} {g : Filter β} [f.NeBot] [g.NeBot],
s ×ˢ t ∈ f ×ˢ g ↔ s ∈ f ∧ t ∈ g
theorem Filter.mem_prod_principal E0 #
∀ {α : Type u_1} {β : Type u_2} {t : Set β} {f : Filter α} {s : Set (α × β)},
s ∈ f ×ˢ Filter.principal t ↔ {a | ∀ b ∈ t, (a, b) ∈ s} ∈ f
theorem Filter.mem_prod_top E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {s : Set (α × β)}, s ∈ f ×ˢ ⊤ ↔ {a | ∀ (b : β), (a, b) ∈ s} ∈ f
theorem Filter.eventually_prod_principal_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {p : α × β → Prop} {s : Set β},
(∀ᶠ (x : α × β) in f ×ˢ Filter.principal s, p x) ↔ ∀ᶠ (x : α) in f, ∀ y ∈ s, p (x, y)
theorem Filter.comap_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β × γ) (b : Filter β) (c : Filter γ),
Filter.comap f (b ×ˢ c) = Filter.comap (Prod.fst ∘ f) b ⊓ Filter.comap (Prod.snd ∘ f) c
theorem Filter.comap_prodMap_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (f : α → β) (g : γ → δ) (lb : Filter β) (ld : Filter δ),
Filter.comap (Prod.map f g) (lb ×ˢ ld) = Filter.comap f lb ×ˢ Filter.comap g ld
theorem Filter.prod_top E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α}, f ×ˢ ⊤ = Filter.comap Prod.fst f
theorem Filter.top_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {g : Filter β}, ⊤ ×ˢ g = Filter.comap Prod.snd g
theorem Filter.sup_prod E1 #
∀ {α : Type u_1} {β : Type u_2} (f₁ f₂ : Filter α) (g : Filter β), (f₁ ⊔ f₂) ×ˢ g = f₁ ×ˢ g ⊔ f₂ ×ˢ g
theorem Filter.prod_sup E1 #
∀ {α : Type u_1} {β : Type u_2} (f : Filter α) (g₁ g₂ : Filter β), f ×ˢ (g₁ ⊔ g₂) = f ×ˢ g₁ ⊔ f ×ˢ g₂
theorem Filter.eventually_prod_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {p : α × β → Prop},
(∀ᶠ (x : α × β) in f ×ˢ g, p x) ↔
∃ pa, (∀ᶠ (x : α) in f, pa x) ∧ ∃ pb, (∀ᶠ (y : β) in g, pb y) ∧ ∀ {x : α}, pa x → ∀ {y : β}, pb y → p (x, y)
theorem Filter.tendsto_fst E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, Filter.Tendsto Prod.fst (f ×ˢ g) f
theorem Filter.tendsto_snd E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, Filter.Tendsto Prod.snd (f ×ˢ g) g
theorem Filter.Tendsto.fst E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ} {m : α → β × γ},
Filter.Tendsto m f (g ×ˢ h) → Filter.Tendsto (fun a ↦ (m a).1) f g
If a function tends to a product g ×ˢ h of filters, then its first component tends to
g. See also Filter.Tendsto.fst_nhds for the special case of converging to a point in a
product of two topological spaces.
theorem Filter.Tendsto.snd E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ} {m : α → β × γ},
Filter.Tendsto m f (g ×ˢ h) → Filter.Tendsto (fun a ↦ (m a).2) f h
If a function tends to a product g ×ˢ h of filters, then its second component tends to
h. See also Filter.Tendsto.snd_nhds for the special case of converging to a point in a
product of two topological spaces.
theorem Filter.Tendsto.prodMk E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ} {m₁ : α → β} {m₂ : α → γ},
Filter.Tendsto m₁ f g → Filter.Tendsto m₂ f h → Filter.Tendsto (fun x ↦ (m₁ x, m₂ x)) f (g ×ˢ h)
theorem Filter.tendsto_prod_swap E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, Filter.Tendsto Prod.swap (f ×ˢ g) (g ×ˢ f)
theorem Filter.Eventually.prod_inl E1 #
∀ {α : Type u_1} {β : Type u_2} {la : Filter α} {p : α → Prop},
(∀ᶠ (x : α) in la, p x) → ∀ (lb : Filter β), ∀ᶠ (x : α × β) in la ×ˢ lb, p x.1
theorem Filter.Eventually.prod_inr E1 #
∀ {α : Type u_1} {β : Type u_2} {lb : Filter β} {p : β → Prop},
(∀ᶠ (x : β) in lb, p x) → ∀ (la : Filter α), ∀ᶠ (x : α × β) in la ×ˢ lb, p x.2
theorem Filter.Eventually.prod_mk E0 #
∀ {α : Type u_1} {β : Type u_2} {la : Filter α} {pa : α → Prop},
(∀ᶠ (x : α) in la, pa x) →
∀ {lb : Filter β} {pb : β → Prop}, (∀ᶠ (y : β) in lb, pb y) → ∀ᶠ (p : α × β) in la ×ˢ lb, pa p.1 ∧ pb p.2
theorem Filter.EventuallyEq.prodMap E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_6} {la : Filter α} {fa ga : α → γ},
fa =ᶠ[la] ga → ∀ {lb : Filter β} {fb gb : β → δ}, fb =ᶠ[lb] gb → Prod.map fa fb =ᶠ[la ×ˢ lb] Prod.map ga gb
theorem Filter.EventuallyLE.prodMap E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_6} [inst : LE γ] [inst_1 : LE δ] {la : Filter α}
{fa ga : α → γ},
fa ≤ᶠ[la] ga → ∀ {lb : Filter β} {fb gb : β → δ}, fb ≤ᶠ[lb] gb → Prod.map fa fb ≤ᶠ[la ×ˢ lb] Prod.map ga gb
theorem Filter.Eventually.curry E1 #
∀ {α : Type u_1} {β : Type u_2} {la : Filter α} {lb : Filter β} {p : α × β → Prop},
(∀ᶠ (x : α × β) in la ×ˢ lb, p x) → ∀ᶠ (x : α) in la, ∀ᶠ (y : β) in lb, p (x, y)
theorem Filter.Frequently.uncurry E1 #
∀ {α : Type u_1} {β : Type u_2} {la : Filter α} {lb : Filter β} {p : α → β → Prop},
(∃ᶠ (x : α) in la, ∃ᶠ (y : β) in lb, p x y) → ∃ᶠ (xy : α × β) in la ×ˢ lb, p xy.1 xy.2
theorem Filter.Frequently.of_curry E1 #
∀ {α : Type u_1} {β : Type u_2} {la : Filter α} {lb : Filter β} {p : α × β → Prop},
(∃ᶠ (x : α) in la, ∃ᶠ (y : β) in lb, p (x, y)) → ∃ᶠ (xy : α × β) in la ×ˢ lb, p xy
theorem Filter.Eventually.image_of_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {y : α → β} {r : α → β → Prop},
Filter.Tendsto y f g → (∀ᶠ (p : α × β) in f ×ˢ g, r p.1 p.2) → ∀ᶠ (x : α) in f, r x (y x)
theorem Filter.Eventually.diag_of_prod E1 #
∀ {α : Type u_1} {f : Filter α} {p : α × α → Prop}, (∀ᶠ (i : α × α) in f ×ˢ f, p i) → ∀ᶠ (i : α) in f, p (i, i)
A fact that is eventually true about all pairs l ×ˢ l is eventually true about
all diagonal pairs (i, i)
theorem Filter.Eventually.diag_of_prod_left E1 #
∀ {α : Type u_1} {γ : Type u_3} {f : Filter α} {g : Filter γ} {p : (α × α) × γ → Prop},
(∀ᶠ (x : (α × α) × γ) in (f ×ˢ f) ×ˢ g, p x) → ∀ᶠ (x : α × γ) in f ×ˢ g, p ((x.1, x.1), x.2)
theorem Filter.Eventually.diag_of_prod_right E1 #
∀ {α : Type u_1} {γ : Type u_3} {f : Filter α} {g : Filter γ} {p : α × γ × γ → Prop},
(∀ᶠ (x : α × γ × γ) in f ×ˢ g ×ˢ g, p x) → ∀ᶠ (x : α × γ) in f ×ˢ g, p (x.1, x.2, x.2)
theorem Filter.tendsto_diag E1 #
∀ {α : Type u_1} {f : Filter α}, Filter.Tendsto Function.diag f (f ×ˢ f)
theorem Filter.prod_iInf_left E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [Nonempty ι] {f : ι → Filter α} {g : Filter β},
(⨅ i, f i) ×ˢ g = ⨅ i, f i ×ˢ g
theorem Filter.prod_iInf_right E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [Nonempty ι] {f : Filter α} {g : ι → Filter β},
f ×ˢ ⨅ i, g i = ⨅ i, f ×ˢ g i
theorem Filter.prod_mono E1 #
∀ {α : Type u_1} {β : Type u_2} {f₁ f₂ : Filter α} {g₁ g₂ : Filter β}, f₁ ≤ f₂ → g₁ ≤ g₂ → f₁ ×ˢ g₁ ≤ f₂ ×ˢ g₂
theorem Filter.prod_mono_left E1 #
∀ {α : Type u_1} {β : Type u_2} (g : Filter β) {f₁ f₂ : Filter α}, f₁ ≤ f₂ → f₁ ×ˢ g ≤ f₂ ×ˢ g
theorem Filter.prod_mono_right E1 #
∀ {α : Type u_1} {β : Type u_2} (f : Filter α) {g₁ g₂ : Filter β}, g₁ ≤ g₂ → f ×ˢ g₁ ≤ f ×ˢ g₂
theorem Filter.prod_comap_comap_eq E0 #
∀ {α₁ : Type u} {α₂ : Type v} {β₁ : Type w} {β₂ : Type x} {f₁ : Filter α₁} {f₂ : Filter α₂} {m₁ : β₁ → α₁}
{m₂ : β₂ → α₂}, Filter.comap m₁ f₁ ×ˢ Filter.comap m₂ f₂ = Filter.comap (fun p ↦ (m₁ p.1, m₂ p.2)) (f₁ ×ˢ f₂)
theorem Filter.prod_comm' E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, f ×ˢ g = Filter.comap Prod.swap (g ×ˢ f)
theorem Filter.prod_comm E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, f ×ˢ g = Filter.map Prod.swap (g ×ˢ f)
theorem Filter.mem_prod_iff_left E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {s : Set (α × β)},
s ∈ f ×ˢ g ↔ ∃ t ∈ f, ∀ᶠ (y : β) in g, ∀ x ∈ t, (x, y) ∈ s
theorem Filter.mem_prod_iff_right E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {s : Set (α × β)},
s ∈ f ×ˢ g ↔ ∃ t ∈ g, ∀ᶠ (x : α) in f, ∀ y ∈ t, (x, y) ∈ s
theorem Filter.map_fst_prod E0 #
∀ {α : Type u_1} {β : Type u_2} (f : Filter α) (g : Filter β) [g.NeBot], Filter.map Prod.fst (f ×ˢ g) = f
theorem Filter.map_snd_prod E0 #
∀ {α : Type u_1} {β : Type u_2} (f : Filter α) (g : Filter β) [f.NeBot], Filter.map Prod.snd (f ×ˢ g) = g
theorem Filter.prod_le_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {f₁ f₂ : Filter α} {g₁ g₂ : Filter β} [f₁.NeBot] [g₁.NeBot],
f₁ ×ˢ g₁ ≤ f₂ ×ˢ g₂ ↔ f₁ ≤ f₂ ∧ g₁ ≤ g₂
theorem Filter.prod_inj E0 #
∀ {α : Type u_1} {β : Type u_2} {f₁ f₂ : Filter α} {g₁ g₂ : Filter β} [f₁.NeBot] [g₁.NeBot],
f₁ ×ˢ g₁ = f₂ ×ˢ g₂ ↔ f₁ = f₂ ∧ g₁ = g₂
theorem Filter.eventually_swap_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {p : α × β → Prop},
(∀ᶠ (x : α × β) in f ×ˢ g, p x) ↔ ∀ᶠ (y : β × α) in g ×ˢ f, p y.swap
theorem Filter.Eventually.eventually_prod_of_eventually_swap E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ} [g.NeBot] {p : α → β → Prop}
{q : β → γ → Prop} {r : α → γ → Prop},
(∀ᶠ (x : α) in f, ∀ᶠ (y : β) in g, p x y) →
(∀ᶠ (z : γ) in h, ∀ᶠ (y : β) in g, q y z) →
(∀ (x : α) (y : β) (z : γ), p x y → q y z → r x z) → ∀ᶠ (xz : α × γ) in f ×ˢ h, r xz.1 xz.2
A technical lemma which is a generalization of Filter.Eventually.trans_prod.
theorem Filter.Eventually.trans_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ} [g.NeBot] {p : α → β → Prop}
{q : β → γ → Prop} {r : α → γ → Prop},
(∀ᶠ (xy : α × β) in f ×ˢ g, p xy.1 xy.2) →
(∀ᶠ (yz : β × γ) in g ×ˢ h, q yz.1 yz.2) →
(∀ (x : α) (y : β) (z : γ), p x y → q y z → r x z) → ∀ᶠ (xz : α × γ) in f ×ˢ h, r xz.1 xz.2
theorem Filter.prod_assoc E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : Filter α) (g : Filter β) (h : Filter γ),
Filter.map (⇑(Equiv.prodAssoc α β γ)) ((f ×ˢ g) ×ˢ h) = f ×ˢ g ×ˢ h
theorem Filter.prod_assoc_symm E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : Filter α) (g : Filter β) (h : Filter γ),
Filter.map (⇑(Equiv.prodAssoc α β γ).symm) (f ×ˢ g ×ˢ h) = (f ×ˢ g) ×ˢ h
theorem Filter.tendsto_prodAssoc E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ},
Filter.Tendsto (⇑(Equiv.prodAssoc α β γ)) ((f ×ˢ g) ×ˢ h) (f ×ˢ g ×ˢ h)
theorem Filter.tendsto_prodAssoc_symm E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {h : Filter γ},
Filter.Tendsto (⇑(Equiv.prodAssoc α β γ).symm) (f ×ˢ g ×ˢ h) ((f ×ˢ g) ×ˢ h)
theorem Filter.map_swap4_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {f : Filter α} {g : Filter β} {h : Filter γ}
{k : Filter δ}, Filter.map (fun p ↦ ((p.1.1, p.2.1), p.1.2, p.2.2)) ((f ×ˢ g) ×ˢ h ×ˢ k) = (f ×ˢ h) ×ˢ g ×ˢ k
A useful lemma when dealing with uniformities.
theorem Filter.tendsto_swap4_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} {f : Filter α} {g : Filter β} {h : Filter γ}
{k : Filter δ}, Filter.Tendsto (fun p ↦ ((p.1.1, p.2.1), p.1.2, p.2.2)) ((f ×ˢ g) ×ˢ h ×ˢ k) ((f ×ˢ h) ×ˢ g ×ˢ k)
theorem Filter.prod_map_map_eq E0 #
∀ {α₁ : Type u} {α₂ : Type v} {β₁ : Type w} {β₂ : Type x} {f₁ : Filter α₁} {f₂ : Filter α₂} {m₁ : α₁ → β₁}
{m₂ : α₂ → β₂}, Filter.map m₁ f₁ ×ˢ Filter.map m₂ f₂ = Filter.map (fun p ↦ (m₁ p.1, m₂ p.2)) (f₁ ×ˢ f₂)
theorem Filter.prod_map_map_eq' E1 #
∀ {α₁ : Type u_6} {α₂ : Type u_7} {β₁ : Type u_8} {β₂ : Type u_9} (f : α₁ → α₂) (g : β₁ → β₂) (F : Filter α₁)
(G : Filter β₁), Filter.map f F ×ˢ Filter.map g G = Filter.map (Prod.map f g) (F ×ˢ G)
theorem Filter.prod_map_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β) (F : Filter α) (G : Filter γ),
Filter.map f F ×ˢ G = Filter.map (Prod.map f id) (F ×ˢ G)
theorem Filter.prod_map_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : β → γ) (F : Filter α) (G : Filter β),
F ×ˢ Filter.map f G = Filter.map (Prod.map id f) (F ×ˢ G)
theorem Filter.le_prod_map_fst_snd E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter (α × β)}, f ≤ Filter.map Prod.fst f ×ˢ Filter.map Prod.snd f
theorem Filter.Tendsto.prodMap E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_6} {f : α → γ} {g : β → δ} {a : Filter α} {b : Filter β}
{c : Filter γ} {d : Filter δ},
Filter.Tendsto f a c → Filter.Tendsto g b d → Filter.Tendsto (Prod.map f g) (a ×ˢ b) (c ×ˢ d)
theorem Filter.map_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (m : α × β → γ) (f : Filter α) (g : Filter β),
Filter.map m (f ×ˢ g) = (Filter.map (fun a b ↦ m (a, b)) f).seq g
theorem Filter.prod_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, f ×ˢ g = (Filter.map Prod.mk f).seq g
theorem Filter.prod_inf_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {f₁ f₂ : Filter α} {g₁ g₂ : Filter β}, f₁ ×ˢ g₁ ⊓ f₂ ×ˢ g₂ = (f₁ ⊓ f₂) ×ˢ (g₁ ⊓ g₂)
theorem Filter.inf_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {g : Filter β} {f₁ f₂ : Filter α}, (f₁ ⊓ f₂) ×ˢ g = f₁ ×ˢ g ⊓ f₂ ×ˢ g
theorem Filter.prod_inf E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g₁ g₂ : Filter β}, f ×ˢ (g₁ ⊓ g₂) = f ×ˢ g₁ ⊓ f ×ˢ g₂
theorem Filter.prod_principal_principal E0 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β},
Filter.principal s ×ˢ Filter.principal t = Filter.principal (s ×ˢ t)
theorem Filter.pure_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {a : α} {f : Filter β}, pure a ×ˢ f = Filter.map (Prod.mk a) f
theorem Filter.map_pure_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (a : α) (B : Filter β),
Filter.map (Function.uncurry f) (pure a ×ˢ B) = Filter.map (f a) B
theorem Filter.prod_pure E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {b : β}, f ×ˢ pure b = Filter.map (fun a ↦ (a, b)) f
theorem Filter.prod_pure_pure E1 #
∀ {α : Type u_1} {β : Type u_2} {a : α} {b : β}, pure a ×ˢ pure b = pure (a, b)
theorem Filter.prod_eq_bot E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, f ×ˢ g = ⊥ ↔ f = ⊥ ∨ g = ⊥
theorem Filter.prod_bot E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α}, f ×ˢ ⊥ = ⊥
theorem Filter.bot_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {g : Filter β}, ⊥ ×ˢ g = ⊥
theorem Filter.prod_neBot E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, (f ×ˢ g).NeBot ↔ f.NeBot ∧ g.NeBot
theorem Filter.NeBot.prod E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β}, f.NeBot → g.NeBot → (f ×ˢ g).NeBot
instance Filter.prod.instNeBot E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} [hf : f.NeBot] [hg : g.NeBot], (f ×ˢ g).NeBot
theorem Filter.disjoint_prod E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {f' : Filter α} {g' : Filter β},
Disjoint (f ×ˢ g) (f' ×ˢ g') ↔ Disjoint f f' ∨ Disjoint g g'
theorem Filter.frequently_prod_and E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} {p : α → Prop} {q : β → Prop},
(∃ᶠ (x : α × β) in f ×ˢ g, p x.1 ∧ q x.2) ↔ (∃ᶠ (a : α) in f, p a) ∧ ∃ᶠ (b : β) in g, q b
p ∧ q occurs frequently along the product of two filters
iff both p and q occur frequently along the corresponding filters.
theorem Filter.tendsto_prod_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : α × β → γ} {x : Filter α} {y : Filter β} {z : Filter γ},
Filter.Tendsto f (x ×ˢ y) z ↔ ∀ W ∈ z, ∃ U ∈ x, ∃ V ∈ y, ∀ (x : α) (y : β), x ∈ U → y ∈ V → f (x, y) ∈ W
theorem Filter.tendsto_prod_iff' E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : Filter α} {g : Filter β} {g' : Filter γ} {s : α → β × γ},
Filter.Tendsto s f (g ×ˢ g') ↔ Filter.Tendsto (fun n ↦ (s n).1) f g ∧ Filter.Tendsto (fun n ↦ (s n).2) f g'
theorem Filter.le_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter (α × β)} {g : Filter α} {g' : Filter β},
f ≤ g ×ˢ g' ↔ Filter.Tendsto Prod.fst f g ∧ Filter.Tendsto Prod.snd f g'
theorem Filter.coprod_eq_prod_top_sup_top_prod E1 #
∀ {α : Type u_1} {β : Type u_2} (f : Filter α) (g : Filter β), f.coprod g = f ×ˢ ⊤ ⊔ ⊤ ×ˢ g
theorem Filter.mem_coprod_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {s : Set (α × β)} {f : Filter α} {g : Filter β},
s ∈ f.coprod g ↔ (∃ t₁ ∈ f, Prod.fst ⁻¹' t₁ ⊆ s) ∧ ∃ t₂ ∈ g, Prod.snd ⁻¹' t₂ ⊆ s
theorem Filter.bot_coprod E0 #
∀ {α : Type u_1} {β : Type u_2} (l : Filter β), ⊥.coprod l = Filter.comap Prod.snd l
theorem Filter.coprod_bot E0 #
∀ {α : Type u_1} {β : Type u_2} (l : Filter α), l.coprod ⊥ = Filter.comap Prod.fst l
theorem Filter.bot_coprod_bot E1 #
∀ {α : Type u_1} {β : Type u_2}, ⊥.coprod ⊥ = ⊥
theorem Filter.compl_mem_coprod E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set (α × β)} {la : Filter α} {lb : Filter β},
sᶜ ∈ la.coprod lb ↔ (Prod.fst '' s)ᶜ ∈ la ∧ (Prod.snd '' s)ᶜ ∈ lb
theorem Filter.coprod_mono E1 #
∀ {α : Type u_1} {β : Type u_2} {f₁ f₂ : Filter α} {g₁ g₂ : Filter β}, f₁ ≤ f₂ → g₁ ≤ g₂ → f₁.coprod g₁ ≤ f₂.coprod g₂
theorem Filter.coprod_neBot_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β},
(f.coprod g).NeBot ↔ f.NeBot ∧ Nonempty β ∨ Nonempty α ∧ g.NeBot
instance Filter.coprod_neBot_left E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} [f.NeBot] [Nonempty β], (f.coprod g).NeBot
instance Filter.coprod_neBot_right E0 #
∀ {α : Type u_1} {β : Type u_2} {f : Filter α} {g : Filter β} [g.NeBot] [Nonempty α], (f.coprod g).NeBot
theorem Filter.coprod_inf_prod_le E1 #
∀ {α : Type u_1} {β : Type u_2} (f₁ f₂ : Filter α) (g₁ g₂ : Filter β), f₁.coprod g₁ ⊓ f₂ ×ˢ g₂ ≤ f₁ ×ˢ g₂ ⊔ f₂ ×ˢ g₁
theorem Filter.principal_coprod_principal E1 #
∀ {α : Type u_1} {β : Type u_2} (s : Set α) (t : Set β),
(Filter.principal s).coprod (Filter.principal t) = Filter.principal (sᶜ ×ˢ tᶜ)ᶜ
theorem Filter.map_prodMap_coprod_le E0 #
∀ {α₁ : Type u} {α₂ : Type v} {β₁ : Type w} {β₂ : Type x} {f₁ : Filter α₁} {f₂ : Filter α₂} {m₁ : α₁ → β₁}
{m₂ : α₂ → β₂}, Filter.map (Prod.map m₁ m₂) (f₁.coprod f₂) ≤ (Filter.map m₁ f₁).coprod (Filter.map m₂ f₂)
theorem Filter.map_const_principal_coprod_map_id_principal E0 #
∀ {α : Type u_6} {β : Type u_7} {ι : Type u_8} (a : α) (b : β) (i : ι),
(Filter.map (fun x ↦ b) (Filter.principal {a})).coprod (Filter.map id (Filter.principal {i})) =
Filter.principal ({b} ×ˢ Set.univ ∪ Set.univ ×ˢ {i})
Characterization of the coproduct of the Filter.maps of two principal filters 𝓟 {a} and
𝓟 {i}, the first under the constant function fun a => b and the second under the identity
function. Together with the next lemma, map_prodMap_const_id_principal_coprod_principal, this
provides an example showing that the inequality in the lemma map_prodMap_coprod_le can be strict.
theorem Filter.map_prodMap_const_id_principal_coprod_principal E0 #
∀ {α : Type u_6} {β : Type u_7} {ι : Type u_8} (a : α) (b : β) (i : ι),
Filter.map (Prod.map (fun x ↦ b) id) ((Filter.principal {a}).coprod (Filter.principal {i})) =
Filter.principal ({b} ×ˢ Set.univ)
Characterization of the Filter.map of the coproduct of two principal filters 𝓟 {a} and
𝓟 {i}, under the Prod.map of two functions, respectively the constant function fun a => b and
the identity function. Together with the previous lemma,
map_const_principal_coprod_map_id_principal, this provides an example showing that the inequality
in the lemma map_prodMap_coprod_le can be strict.
theorem Filter.Tendsto.prodMap_coprod E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_6} {f : α → γ} {g : β → δ} {a : Filter α} {b : Filter β}
{c : Filter γ} {d : Filter δ},
Filter.Tendsto f a c → Filter.Tendsto g b d → Filter.Tendsto (Prod.map f g) (a.coprod b) (c.coprod d)
theorem Filter.Tendsto.coprod_of_prod_top_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : α × β → γ} {la : Filter α} {lb : Filter β} {lc : Filter γ},
(∀ s ∈ la, Filter.Tendsto f (Filter.principal sᶜ ×ˢ lb) lc) →
Filter.Tendsto f (la ×ˢ ⊤) lc → Filter.Tendsto f (la.coprod lb) lc
theorem Filter.Tendsto.coprod_of_prod_top_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : α × β → γ} {la : Filter α} {lb : Filter β} {lc : Filter γ},
(∀ s ∈ lb, Filter.Tendsto f (la ×ˢ Filter.principal sᶜ) lc) →
Filter.Tendsto f (⊤ ×ˢ lb) lc → Filter.Tendsto f (la.coprod lb) lc