MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  unixp0 Structured version   Visualization version   GIF version

Theorem unixp0 6301
Description: A Cartesian product is empty iff its union is empty. (Contributed by NM, 20-Sep-2006.)
Assertion
Ref Expression
unixp0 ((𝐴 × 𝐵) = ∅ ↔ ∪ (𝐴 × 𝐵) = ∅)

Proof of Theorem unixp0
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 unieq 4881 . . 3 ((𝐴 × 𝐵) = ∅ → ∪ (𝐴 × 𝐵) = ∪ ∅)
2 uni0 4899 . . 3 ∪ ∅ = ∅
31, 2eqtrdi 2814 . 2 ((𝐴 × 𝐵) = ∅ → ∪ (𝐴 × 𝐵) = ∅)
4 n0 4303 . . . 4 ((𝐴 × 𝐵) ≠ ∅ ↔ ∃𝑧 𝑧 ∈ (𝐴 × 𝐵))
5 elxp3 5721 . . . . . 6 (𝑧 ∈ (𝐴 × 𝐵) ↔ ∃𝑥∃𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
6 elssuni 4902 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ⊆ ∪ (𝐴 × 𝐵))
7 vex 3458 . . . . . . . . . 10 𝑥 ∈ V
8 vex 3458 . . . . . . . . . 10 𝑦 ∈ V
97, 8opnzi 5447 . . . . . . . . 9 ⟨𝑥, 𝑦⟩ ≠ ∅
10 ssn0 4358 . . . . . . . . 9 ((⟨𝑥, 𝑦⟩ ⊆ ∪ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ≠ ∅) → ∪ (𝐴 × 𝐵) ≠ ∅)
116, 9, 10sylancl 598 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
1211adantl 487 . . . . . . 7 ((⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → ∪ (𝐴 × 𝐵) ≠ ∅)
1312exlimivv 1967 . . . . . 6 (∃𝑥∃𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → ∪ (𝐴 × 𝐵) ≠ ∅)
145, 13sylbi 220 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
1514exlimiv 1965 . . . 4 (∃𝑧 𝑧 ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
164, 15sylbi 220 . . 3 ((𝐴 × 𝐵) ≠ ∅ → ∪ (𝐴 × 𝐵) ≠ ∅)
1716necon4i 2994 . 2 (∪ (𝐴 × 𝐵) = ∅ → (𝐴 × 𝐵) = ∅)
183, 17impbii 212 1 ((𝐴 × 𝐵) = ∅ ↔ ∪ (𝐴 × 𝐵) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147   ≠ wne 2959   ⊆ wss 3900  ∅c0 4281  ⟨cop 4838  ∪ cuni 4870   × cxp 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5252  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-opab 5171  df-xp 5661
This theorem is used by:  rankxpsuc  9923
  Copyright terms: Public domain W3C validator