Cartesian_Product_of_Unions
Provedcartesian-productproofwikiset-union
The Cartesian product of unions: (S₁ ∪ S₂) × (T₁ ∪ T₂) = (S₁ × T₁) ∪ (S₂ × T₂) ∪ (S₁ × T₂) ∪ (S₂ × T₁)
Preamble
import Mathlib.Data.Set.Prod
Formal statement
theorem Cartesian_Product_of_Unions {α : Type _} {β : Type _} (S₁ S₂ : Set α) (T₁ T₂ : Set β) : (S₁ ∪ S₂) ×ˢ (T₁ ∪ T₂) = (S₁ ×ˢ T₁) ∪ (S₂ ×ˢ T₂) ∪ (S₁ ×ˢ T₂) ∪ (S₂ ×ˢ T₁) := by sorrySource