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

Theorem unixp0 6309
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 4882 . . 3 ((𝐴 × 𝐵) = ∅ → ∪ (𝐴 × 𝐵) = ∪ ∅)
2 uni0 4900 . . 3 ∪ ∅ = ∅
31, 2eqtrdi 2817 . 2 ((𝐴 × 𝐵) = ∅ → ∪ (𝐴 × 𝐵) = ∅)
4 n0 4302 . . . 4 ((𝐴 × 𝐵) ≠ ∅ ↔ ∃𝑧 𝑧 ∈ (𝐴 × 𝐵))
5 elxp3 5723 . . . . . 6 (𝑧 ∈ (𝐴 × 𝐵) ↔ ∃𝑥∃𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
6 elssuni 4903 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ⊆ ∪ (𝐴 × 𝐵))
7 vex 3457 . . . . . . . . . 10 𝑥 ∈ V
8 vex 3457 . . . . . . . . . 10 𝑦 ∈ V
97, 8opnzi 5449 . . . . . . . . 9 ⟨𝑥, 𝑦⟩ ≠ ∅
10 ssn0 4357 . . . . . . . . 9 ((⟨𝑥, 𝑦⟩ ⊆ ∪ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ≠ ∅) → ∪ (𝐴 × 𝐵) ≠ ∅)
116, 9, 10sylancl 598 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
1211adantl 487 . . . . . . 7 ((⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → ∪ (𝐴 × 𝐵) ≠ ∅)
1312exlimivv 1969 . . . . . 6 (∃𝑥∃𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → ∪ (𝐴 × 𝐵) ≠ ∅)
145, 13sylbi 220 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
1514exlimiv 1967 . . . 4 (∃𝑧 𝑧 ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
164, 15sylbi 220 . . 3 ((𝐴 × 𝐵) ≠ ∅ → ∪ (𝐴 × 𝐵) ≠ ∅)
1716necon4i 2997 . 2 (∪ (𝐴 × 𝐵) = ∅ → (𝐴 × 𝐵) = ∅)
183, 17impbii 212 1 ((𝐴 × 𝐵) = ∅ ↔ ∪ (𝐴 × 𝐵) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1814   ∈ wcel 2150   ≠ wne 2962   ⊆ wss 3899  ∅c0 4280  ⟨cop 4839  ∪ cuni 4871   × cxp 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-opab 5173  df-xp 5663
This theorem is used by:  rankxpsuc  9935
  Copyright terms: Public domain W3C validator