The areas / V03. Sets, finite structures and big operators
Mathlib.Data.Set.Lattice.Image
118 declarations. Mathlib docs · Source
The set lattice and (pre)images of functions
This file contains lemmas on the interaction between the indexed union/intersection of sets
and the image and preimage operations: Set.image, Set.preimage, Set.image2, Set.kernImage.
It also covers Set.MapsTo, Set.InjOn, Set.SurjOn, Set.BijOn.
In order to accommodate Set.image2, the file includes results on union/intersection in products.
Naming convention
In lemma names,
⋃ i, s iis callediUnion⋂ i, s iis callediInter⋃ i j, s i jis callediUnion₂. This is aniUnioninside aniUnion.⋂ i j, s i jis callediInter₂. This is aniInterinside aniInter.⋃ i ∈ s, t iis calledbiUnionfor "boundediUnion". This is the special case ofiUnion₂wherej : i ∈ s.⋂ i ∈ s, t iis calledbiInterfor "boundediInter". This is the special case ofiInter₂wherej : i ∈ s.
Notation
⋃:Set.iUnion⋂:Set.iInter⋃₀:Set.sUnion⋂₀:Set.sInter
Bounded unions and intersections
Lemmas about Set.MapsTo
restrictPreimage
InjOn
SurjOn
BijOn
image, preimage
theorem Set.image_preimage E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β}, GaloisConnection (Set.image f) (Set.preimage f)
theorem Set.preimage_kernImage E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β}, GaloisConnection (Set.preimage f) (Set.kernImage f)
theorem Set.kernImage_mono E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β}, Monotone (Set.kernImage f)
theorem Set.kernImage_eq_compl E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set α}, Set.kernImage f s = (f '' sᶜ)ᶜ
theorem Set.kernImage_compl E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set α}, Set.kernImage f sᶜ = (f '' s)ᶜ
theorem Set.kernImage_empty E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β}, Set.kernImage f ∅ = (Set.range f)ᶜ
theorem Set.kernImage_preimage_eq_iff E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set β}, Set.kernImage f (f ⁻¹' s) = s ↔ (Set.range f)ᶜ ⊆ s
theorem Set.compl_range_subset_kernImage E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set α}, (Set.range f)ᶜ ⊆ Set.kernImage f s
theorem Set.kernImage_union_preimage E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set α} {t : Set β},
Set.kernImage f (s ∪ f ⁻¹' t) = Set.kernImage f s ∪ t
theorem Set.kernImage_preimage_union E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set α} {t : Set β},
Set.kernImage f (f ⁻¹' t ∪ s) = t ∪ Set.kernImage f s
theorem Set.image_projection_prod E1 #
∀ {ι : Type u_9} {α : ι → Type u_10} {v : (i : ι) → Set (α i)},
(Set.univ.pi v).Nonempty → ∀ (i : ι), (fun x ↦ x i) '' ⋂ k, (fun x ↦ x k) ⁻¹' v k = v i
theorem Set.mapsTo_sUnion E0 #
∀ {α : Type u_1} {β : Type u_2} {S : Set (Set α)} {t : Set β} {f : α → β},
Set.MapsTo f (⋃₀ S) t ↔ ∀ s ∈ S, Set.MapsTo f s t
theorem Set.mapsTo_iUnion E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α} {t : Set β} {f : α → β},
Set.MapsTo f (⋃ i, s i) t ↔ ∀ (i : ι), Set.MapsTo f (s i) t
theorem Set.mapsTo_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : (i : ι) → κ i → Set α} {t : Set β} {f : α → β},
Set.MapsTo f (⋃ i, ⋃ j, s i j) t ↔ ∀ (i : ι) (j : κ i), Set.MapsTo f (s i j) t
theorem Set.mapsTo_iUnion_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.MapsTo f (s i) (t i)) → Set.MapsTo f (⋃ i, s i) (⋃ i, t i)
theorem Set.mapsTo_iUnion₂_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : (i : ι) → κ i → Set α}
{t : (i : ι) → κ i → Set β} {f : α → β},
(∀ (i : ι) (j : κ i), Set.MapsTo f (s i j) (t i j)) → Set.MapsTo f (⋃ i, ⋃ j, s i j) (⋃ i, ⋃ j, t i j)
theorem Set.mapsTo_sInter E0 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {T : Set (Set β)} {f : α → β},
Set.MapsTo f s (⋂₀ T) ↔ ∀ t ∈ T, Set.MapsTo f s t
theorem Set.mapsTo_iInter E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : Set α} {t : ι → Set β} {f : α → β},
Set.MapsTo f s (⋂ i, t i) ↔ ∀ (i : ι), Set.MapsTo f s (t i)
theorem Set.mapsTo_iInter₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : Set α} {t : (i : ι) → κ i → Set β} {f : α → β},
Set.MapsTo f s (⋂ i, ⋂ j, t i j) ↔ ∀ (i : ι) (j : κ i), Set.MapsTo f s (t i j)
theorem Set.mapsTo_iInter_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.MapsTo f (s i) (t i)) → Set.MapsTo f (⋂ i, s i) (⋂ i, t i)
theorem Set.mapsTo_iInter₂_iInter₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : (i : ι) → κ i → Set α}
{t : (i : ι) → κ i → Set β} {f : α → β},
(∀ (i : ι) (j : κ i), Set.MapsTo f (s i j) (t i j)) → Set.MapsTo f (⋂ i, ⋂ j, s i j) (⋂ i, ⋂ j, t i j)
theorem Set.image_iInter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} (s : ι → Set α) (f : α → β), f '' ⋂ i, s i ⊆ ⋂ i, f '' s i
theorem Set.image_iInter₂_subset E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} (s : (i : ι) → κ i → Set α) (f : α → β),
f '' ⋂ i, ⋂ j, s i j ⊆ ⋂ i, ⋂ j, f '' s i j
theorem Set.image_sInter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} (S : Set (Set α)) (f : α → β), f '' ⋂₀ S ⊆ ⋂ s ∈ S, f '' s
theorem Set.image2_sInter_right_subset E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (t : Set α) (S : Set (Set β)) (f : α → β → γ),
Set.image2 f t (⋂₀ S) ⊆ ⋂ s ∈ S, Set.image2 f t s
theorem Set.image2_sInter_left_subset E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (S : Set (Set α)) (t : Set β) (f : α → β → γ),
Set.image2 f (⋂₀ S) t ⊆ ⋂ s ∈ S, Set.image2 f s t
theorem Set.injective_iff_injective_of_iUnion_eq_univ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β} {U : ι → Set β},
Set.iUnion U = Set.univ → (Function.Injective f ↔ ∀ (i : ι), Function.Injective ((U i).restrictPreimage f))
theorem Set.surjective_iff_surjective_of_iUnion_eq_univ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β} {U : ι → Set β},
Set.iUnion U = Set.univ → (Function.Surjective f ↔ ∀ (i : ι), Function.Surjective ((U i).restrictPreimage f))
theorem Set.bijective_iff_bijective_of_iUnion_eq_univ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β} {U : ι → Set β},
Set.iUnion U = Set.univ → (Function.Bijective f ↔ ∀ (i : ι), Function.Bijective ((U i).restrictPreimage f))
theorem Set.InjOn.image_iInter_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [Nonempty ι] {s : ι → Set α} {f : α → β},
Set.InjOn f (⋃ i, s i) → f '' ⋂ i, s i = ⋂ i, f '' s i
theorem Set.InjOn.image_biInter_eq E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {p : ι → Prop} {s : (i : ι) → p i → Set α},
(∃ i, p i) →
∀ {f : α → β},
Set.InjOn f (⋃ i, ⋃ (hi : p i), s i hi) → f '' ⋂ i, ⋂ (hi : p i), s i hi = ⋂ i, ⋂ (hi : p i), f '' s i hi
theorem Set.image_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β},
Function.Bijective f → ∀ (s : ι → Set α), f '' ⋂ i, s i = ⋂ i, f '' s i
theorem Set.image_iInter₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {f : α → β},
Function.Bijective f → ∀ (s : (i : ι) → κ i → Set α), f '' ⋂ i, ⋂ j, s i j = ⋂ i, ⋂ j, f '' s i j
theorem Set.inj_on_iUnion_of_directed E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α},
Directed (fun x1 x2 ↦ x1 ⊆ x2) s → ∀ {f : α → β}, (∀ (i : ι), Set.InjOn f (s i)) → Set.InjOn f (⋃ i, s i)
theorem Set.surjOn_sUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {T : Set (Set β)} {f : α → β},
(∀ t ∈ T, Set.SurjOn f s t) → Set.SurjOn f s (⋃₀ T)
theorem Set.surjOn_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.SurjOn f s (t i)) → Set.SurjOn f s (⋃ i, t i)
theorem Set.surjOn_iUnion_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.SurjOn f (s i) (t i)) → Set.SurjOn f (⋃ i, s i) (⋃ i, t i)
theorem Set.surjOn_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : Set α} {t : (i : ι) → κ i → Set β} {f : α → β},
(∀ (i : ι) (j : κ i), Set.SurjOn f s (t i j)) → Set.SurjOn f s (⋃ i, ⋃ j, t i j)
theorem Set.surjOn_iUnion₂_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : (i : ι) → κ i → Set α}
{t : (i : ι) → κ i → Set β} {f : α → β},
(∀ (i : ι) (j : κ i), Set.SurjOn f (s i j) (t i j)) → Set.SurjOn f (⋃ i, ⋃ j, s i j) (⋃ i, ⋃ j, t i j)
theorem Set.surjOn_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [Nonempty ι] {s : ι → Set α} {t : Set β} {f : α → β},
(∀ (i : ι), Set.SurjOn f (s i) t) → Set.InjOn f (⋃ i, s i) → Set.SurjOn f (⋂ i, s i) t
theorem Set.surjOn_iInter_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [Nonempty ι] {s : ι → Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.SurjOn f (s i) (t i)) → Set.InjOn f (⋃ i, s i) → Set.SurjOn f (⋂ i, s i) (⋂ i, t i)
theorem Set.bijOn_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.BijOn f (s i) (t i)) → Set.InjOn f (⋃ i, s i) → Set.BijOn f (⋃ i, s i) (⋃ i, t i)
theorem Set.bijOn_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [hi : Nonempty ι] {s : ι → Set α} {t : ι → Set β} {f : α → β},
(∀ (i : ι), Set.BijOn f (s i) (t i)) → Set.InjOn f (⋃ i, s i) → Set.BijOn f (⋂ i, s i) (⋂ i, t i)
theorem Set.bijOn_iUnion_of_directed E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α},
Directed (fun x1 x2 ↦ x1 ⊆ x2) s →
∀ {t : ι → Set β} {f : α → β}, (∀ (i : ι), Set.BijOn f (s i) (t i)) → Set.BijOn f (⋃ i, s i) (⋃ i, t i)
theorem Set.bijOn_iInter_of_directed E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} [Nonempty ι] {s : ι → Set α},
Directed (fun x1 x2 ↦ x1 ⊆ x2) s →
∀ {t : ι → Set β} {f : α → β}, (∀ (i : ι), Set.BijOn f (s i) (t i)) → Set.BijOn f (⋂ i, s i) (⋂ i, t i)
theorem Set.image_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β} {s : ι → Set α}, f '' ⋃ i, s i = ⋃ i, f '' s i
theorem Set.image_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} (f : α → β) (s : (i : ι) → κ i → Set α),
f '' ⋃ i, ⋃ j, s i j = ⋃ i, ⋃ j, f '' s i j
theorem Set.univ_subtype E1 #
∀ {α : Type u_1} {p : α → Prop}, Set.univ = ⋃ x, ⋃ (h : p x), {⟨x, h⟩}
theorem Set.range_eq_iUnion E1 #
∀ {α : Type u_1} {ι : Sort u_9} (f : ι → α), Set.range f = ⋃ i, {f i}
theorem Set.image_eq_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} (f : α → β) (s : Set α), f '' s = ⋃ i ∈ s, {f i}
theorem Set.biUnion_range E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : ι → α} {g : α → Set β}, ⋃ x ∈ Set.range f, g x = ⋃ y, g (f y)
theorem Set.iUnion_iUnion_eq' E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : ι → α} {g : α → Set β},
⋃ x, ⋃ y, ⋃ (_ : f y = x), g x = ⋃ y, g (f y)
theorem Set.biInter_range E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : ι → α} {g : α → Set β}, ⋂ x ∈ Set.range f, g x = ⋂ y, g (f y)
theorem Set.iInter_iInter_eq' E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : ι → α} {g : α → Set β},
⋂ x, ⋂ y, ⋂ (_ : f y = x), g x = ⋂ y, g (f y)
theorem Set.biUnion_image E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {s : Set γ} {f : γ → α} {g : α → Set β},
⋃ x ∈ f '' s, g x = ⋃ y ∈ s, g (f y)
theorem Set.biInter_image E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {s : Set γ} {f : γ → α} {g : α → Set β},
⋂ x ∈ f '' s, g x = ⋂ y ∈ s, g (f y)
theorem Set.biUnion_image2 E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (s : Set α) (t : Set β) (f : α → β → γ) (g : γ → Set δ),
⋃ c ∈ Set.image2 f s t, g c = ⋃ a ∈ s, ⋃ b ∈ t, g (f a b)
theorem Set.biInter_image2 E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {δ : Type u_4} (s : Set α) (t : Set β) (f : α → β → γ) (g : γ → Set δ),
⋂ c ∈ Set.image2 f s t, g c = ⋂ a ∈ s, ⋂ b ∈ t, g (f a b)
theorem Set.iUnion_inter_iUnion E1 #
∀ {α : Type u_1} {ι : Sort u_9} {κ : Sort u_10} (f : ι → Set α) (g : κ → Set α),
(⋃ i, f i) ∩ ⋃ j, g j = ⋃ i, ⋃ j, f i ∩ g j
theorem Set.iInter_union_iInter E1 #
∀ {α : Type u_1} {ι : Sort u_9} {κ : Sort u_10} (f : ι → Set α) (g : κ → Set α),
(⋂ i, f i) ∪ ⋂ j, g j = ⋂ i, ⋂ j, f i ∪ g j
theorem Set.iUnion₂_inter_iUnion₂ E1 #
∀ {α : Type u_1} {ι₁ : Sort u_9} {κ₁ : Sort u_10} {ι₂ : ι₁ → Sort u_11} {k₂ : κ₁ → Sort u_12}
(f : (i₁ : ι₁) → ι₂ i₁ → Set α) (g : (j₁ : κ₁) → k₂ j₁ → Set α),
(⋃ i₁, ⋃ i₂, f i₁ i₂) ∩ ⋃ j₁, ⋃ j₂, g j₁ j₂ = ⋃ i₁, ⋃ i₂, ⋃ j₁, ⋃ j₂, f i₁ i₂ ∩ g j₁ j₂
theorem Set.iInter₂_union_iInter₂ E1 #
∀ {α : Type u_1} {ι₁ : Sort u_9} {κ₁ : Sort u_10} {ι₂ : ι₁ → Sort u_11} {k₂ : κ₁ → Sort u_12}
(f : (i₁ : ι₁) → ι₂ i₁ → Set α) (g : (j₁ : κ₁) → k₂ j₁ → Set α),
(⋂ i₁, ⋂ i₂, f i₁ i₂) ∪ ⋂ j₁, ⋂ j₂, g j₁ j₂ = ⋂ i₁, ⋂ i₂, ⋂ j₁, ⋂ j₂, f i₁ i₂ ∪ g j₁ j₂
theorem Set.biUnion_inter_of_pairwise_disjoint E1 #
∀ {α : Type u_1} {ι : Type u_9} {f : ι → Set α},
Pairwise (Function.onFun Disjoint f) → ∀ (s t : Set ι), ⋃ i ∈ s ∩ t, f i = (⋃ i ∈ s, f i) ∩ ⋃ i ∈ t, f i
theorem Set.biUnion_iInter_of_pairwise_disjoint E1 #
∀ {α : Type u_1} {ι : Type u_9} {κ : Type u_10} [hκ : Nonempty κ] {f : ι → Set α},
Pairwise (Function.onFun Disjoint f) → ∀ (s : κ → Set ι), ⋃ i ∈ ⋂ j, s j, f i = ⋂ j, ⋃ i ∈ s j, f i
theorem Set.monotone_preimage E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β}, Monotone (Set.preimage f)
theorem Set.preimage_iUnion E0 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β} {s : ι → Set β}, f ⁻¹' ⋃ i, s i = ⋃ i, f ⁻¹' s i
theorem Set.preimage_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {f : α → β} {s : (i : ι) → κ i → Set β},
f ⁻¹' ⋃ i, ⋃ j, s i j = ⋃ i, ⋃ j, f ⁻¹' s i j
theorem Set.image_sUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set (Set α)}, f '' ⋃₀ s = ⋃₀ (Set.image f '' s)
theorem Set.preimage_sUnion E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set (Set β)}, f ⁻¹' ⋃₀ s = ⋃ t ∈ s, f ⁻¹' t
theorem Set.preimage_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {f : α → β} {s : ι → Set β}, f ⁻¹' ⋂ i, s i = ⋂ i, f ⁻¹' s i
theorem Set.preimage_iInter₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {f : α → β} {s : (i : ι) → κ i → Set β},
f ⁻¹' ⋂ i, ⋂ j, s i j = ⋂ i, ⋂ j, f ⁻¹' s i j
theorem Set.preimage_sInter E0 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {s : Set (Set β)}, f ⁻¹' ⋂₀ s = ⋂ t ∈ s, f ⁻¹' t
theorem Set.biUnion_preimage_singleton E0 #
∀ {α : Type u_1} {β : Type u_2} (f : α → β) (s : Set β), ⋃ y ∈ s, f ⁻¹' {y} = f ⁻¹' s
theorem Set.biUnion_range_preimage_singleton E1 #
∀ {α : Type u_1} {β : Type u_2} (f : α → β), ⋃ y ∈ Set.range f, f ⁻¹' {y} = Set.univ
theorem Set.prod_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : Set α} {t : ι → Set β}, s ×ˢ ⋃ i, t i = ⋃ i, s ×ˢ t i
theorem Set.prod_iUnion₂ E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : Set α} {t : (i : ι) → κ i → Set β},
s ×ˢ ⋃ i, ⋃ j, t i j = ⋃ i, ⋃ j, s ×ˢ t i j
theorem Set.prod_sUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {C : Set (Set β)}, s ×ˢ ⋃₀ C = ⋃₀ ((fun t ↦ s ×ˢ t) '' C)
theorem Set.iUnion_prod_const E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : ι → Set α} {t : Set β}, (⋃ i, s i) ×ˢ t = ⋃ i, s i ×ˢ t
theorem Set.iUnion₂_prod_const E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {κ : ι → Sort u_8} {s : (i : ι) → κ i → Set α} {t : Set β},
(⋃ i, ⋃ j, s i j) ×ˢ t = ⋃ i, ⋃ j, s i j ×ˢ t
theorem Set.sUnion_prod_const E1 #
∀ {α : Type u_1} {β : Type u_2} {C : Set (Set α)} {t : Set β}, ⋃₀ C ×ˢ t = ⋃₀ ((fun s ↦ s ×ˢ t) '' C)
theorem Set.iUnion_prod E1 #
∀ {ι : Type u_9} {ι' : Type u_10} {α : Type u_11} {β : Type u_12} (s : ι → Set α) (t : ι' → Set β),
⋃ x, s x.1 ×ˢ t x.2 = (⋃ i, s i) ×ˢ ⋃ i, t i
theorem Set.iUnion_prod' E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : β × γ → Set α), ⋃ x, f x = ⋃ i, ⋃ j, f (i, j)
Analogue of iSup_prod for sets.
theorem Set.iUnion_prod_of_monotone E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SemilatticeSup α] {s : α → Set β} {t : α → Set γ},
Monotone s → Monotone t → ⋃ x, s x ×ˢ t x = (⋃ x, s x) ×ˢ ⋃ x, t x
theorem Set.biUnion_prod E1 #
∀ {δ : Type u_4} {α : Type u_9} {β : Type u_10} {γ : Type u_11} (s : Set α) (t : Set β) (f : α → Set γ) (g : β → Set δ),
⋃ x ∈ s ×ˢ t, f x.1 ×ˢ g x.2 = (⋃ x ∈ s, f x) ×ˢ ⋃ x ∈ t, g x
theorem Set.biUnion_prod' E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (s : Set β) (t : Set γ) (f : β × γ → Set α),
⋃ x ∈ s ×ˢ t, f x = ⋃ i ∈ s, ⋃ j ∈ t, f (i, j)
Analogue of biSup_prod for sets.
theorem Set.iInter_prod_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} (s : ι → Set α) (t : ι → Set β), (⋂ i, s i) ×ˢ ⋂ i, t i = ⋂ i, s i ×ˢ t i
theorem Set.sInter_prod_sInter_subset E1 #
∀ {α : Type u_1} {β : Type u_2} (S : Set (Set α)) (T : Set (Set β)), ⋂₀ S ×ˢ ⋂₀ T ⊆ ⋂ r ∈ S ×ˢ T, r.1 ×ˢ r.2
theorem Set.sInter_prod_sInter E1 #
∀ {α : Type u_1} {β : Type u_2} {S : Set (Set α)} {T : Set (Set β)},
S.Nonempty → T.Nonempty → ⋂₀ S ×ˢ ⋂₀ T = ⋂ r ∈ S ×ˢ T, r.1 ×ˢ r.2
theorem Set.sInter_prod E1 #
∀ {α : Type u_1} {β : Type u_2} {S : Set (Set α)}, S.Nonempty → ∀ (t : Set β), ⋂₀ S ×ˢ t = ⋂ s ∈ S, s ×ˢ t
theorem Set.prod_sInter E1 #
∀ {α : Type u_1} {β : Type u_2} {T : Set (Set β)}, T.Nonempty → ∀ (s : Set α), s ×ˢ ⋂₀ T = ⋂ t ∈ T, s ×ˢ t
theorem Set.prod_iInter E1 #
∀ {α : Type u_1} {β : Type u_2} {ι : Sort u_5} {s : Set α} {t : ι → Set β} [hι : Nonempty ι],
s ×ˢ ⋂ i, t i = ⋂ i, s ×ˢ t i
theorem Set.image2_eq_iUnion E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (s : Set α) (t : Set β),
Set.image2 f s t = ⋃ i ∈ s, ⋃ j ∈ t, {f i j}
The Set.image2 version of Set.image_eq_iUnion
theorem Set.iUnion_image_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) {s : Set α} {t : Set β},
⋃ a ∈ s, f a '' t = Set.image2 f s t
theorem Set.iUnion_image_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) {s : Set α} {t : Set β},
⋃ b ∈ t, (fun x ↦ f x b) '' s = Set.image2 f s t
theorem Set.image2_iUnion_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} (f : α → β → γ) (s : ι → Set α) (t : Set β),
Set.image2 f (⋃ i, s i) t = ⋃ i, Set.image2 f (s i) t
theorem Set.image2_iUnion_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} (f : α → β → γ) (s : Set α) (t : ι → Set β),
Set.image2 f s (⋃ i, t i) = ⋃ i, Set.image2 f s (t i)
theorem Set.image2_sUnion_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (S : Set (Set α)) (t : Set β),
Set.image2 f (⋃₀ S) t = ⋃ s ∈ S, Set.image2 f s t
theorem Set.image2_sUnion_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (s : Set α) (T : Set (Set β)),
Set.image2 f s (⋃₀ T) = ⋃ t ∈ T, Set.image2 f s t
theorem Set.image2_iUnion₂_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} {κ : ι → Sort u_8} (f : α → β → γ)
(s : (i : ι) → κ i → Set α) (t : Set β), Set.image2 f (⋃ i, ⋃ j, s i j) t = ⋃ i, ⋃ j, Set.image2 f (s i j) t
theorem Set.image2_iUnion₂_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} {κ : ι → Sort u_8} (f : α → β → γ) (s : Set α)
(t : (i : ι) → κ i → Set β), Set.image2 f s (⋃ i, ⋃ j, t i j) = ⋃ i, ⋃ j, Set.image2 f s (t i j)
theorem Set.image2_iInter_subset_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} (f : α → β → γ) (s : ι → Set α) (t : Set β),
Set.image2 f (⋂ i, s i) t ⊆ ⋂ i, Set.image2 f (s i) t
theorem Set.image2_iInter_subset_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} (f : α → β → γ) (s : Set α) (t : ι → Set β),
Set.image2 f s (⋂ i, t i) ⊆ ⋂ i, Set.image2 f s (t i)
theorem Set.image2_iInter₂_subset_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} {κ : ι → Sort u_8} (f : α → β → γ)
(s : (i : ι) → κ i → Set α) (t : Set β), Set.image2 f (⋂ i, ⋂ j, s i j) t ⊆ ⋂ i, ⋂ j, Set.image2 f (s i j) t
theorem Set.image2_iInter₂_subset_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {ι : Sort u_5} {κ : ι → Sort u_8} (f : α → β → γ) (s : Set α)
(t : (i : ι) → κ i → Set β), Set.image2 f s (⋂ i, ⋂ j, t i j) ⊆ ⋂ i, ⋂ j, Set.image2 f s (t i j)
theorem Set.image2_sInter_subset_left E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (S : Set (Set α)) (t : Set β),
Set.image2 f (⋂₀ S) t ⊆ ⋂ s ∈ S, Set.image2 f s t
theorem Set.image2_sInter_subset_right E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (s : Set α) (T : Set (Set β)),
Set.image2 f s (⋂₀ T) ⊆ ⋂ t ∈ T, Set.image2 f s t
theorem Set.prod_eq_biUnion_left E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β}, s ×ˢ t = ⋃ a ∈ s, (fun b ↦ (a, b)) '' t
theorem Set.prod_eq_biUnion_right E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β}, s ×ˢ t = ⋃ b ∈ t, (fun a ↦ (a, b)) '' s
theorem Set.seq_def E0 #
∀ {α : Type u_1} {β : Type u_2} {s : Set (α → β)} {t : Set α}, s.seq t = ⋃ f ∈ s, f '' t
theorem Set.seq_subset E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set (α → β)} {t : Set α} {u : Set β}, s.seq t ⊆ u ↔ ∀ f ∈ s, ∀ a ∈ t, f a ∈ u
theorem Set.seq_mono E1 #
∀ {α : Type u_1} {β : Type u_2} {s₀ s₁ : Set (α → β)} {t₀ t₁ : Set α}, s₀ ⊆ s₁ → t₀ ⊆ t₁ → s₀.seq t₀ ⊆ s₁.seq t₁
theorem Set.singleton_seq E1 #
∀ {α : Type u_1} {β : Type u_2} {f : α → β} {t : Set α}, {f}.seq t = f '' t
theorem Set.seq_singleton E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set (α → β)} {a : α}, s.seq {a} = (fun f ↦ f a) '' s
theorem Set.seq_seq E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {s : Set (β → γ)} {t : Set (α → β)} {u : Set α},
s.seq (t.seq u) = (((fun x1 x2 ↦ x1 ∘ x2) '' s).seq t).seq u
theorem Set.image_seq E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} {f : β → γ} {s : Set (α → β)} {t : Set α},
f '' s.seq t = ((fun x ↦ f ∘ x) '' s).seq t
theorem Set.prod_eq_seq E1 #
∀ {α : Type u_1} {β : Type u_2} {s : Set α} {t : Set β}, s ×ˢ t = (Prod.mk '' s).seq t
theorem Set.prod_image_seq_comm E1 #
∀ {α : Type u_1} {β : Type u_2} (s : Set α) (t : Set β), (Prod.mk '' s).seq t = ((fun b a ↦ (a, b)) '' t).seq s
theorem Set.image2_eq_seq E1 #
∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} (f : α → β → γ) (s : Set α) (t : Set β),
Set.image2 f s t = (f '' s).seq t