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

Theorem unixp0 6286
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 4877 . . 3 ((𝐴 × 𝐵) = ∅ → ∪ (𝐴 × 𝐵) = ∪ ∅)
2 uni0 4895 . . 3 ∪ ∅ = ∅
31, 2eqtrdi 2811 . 2 ((𝐴 × 𝐵) = ∅ → ∪ (𝐴 × 𝐵) = ∅)
4 n0 4299 . . . 4 ((𝐴 × 𝐵) ≠ ∅ ↔ ∃𝑧 𝑧 ∈ (𝐴 × 𝐵))
5 elxp3 5716 . . . . . 6 (𝑧 ∈ (𝐴 × 𝐵) ↔ ∃𝑥∃𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
6 elssuni 4898 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ⊆ ∪ (𝐴 × 𝐵))
7 vex 3454 . . . . . . . . . 10 𝑥 ∈ V
8 vex 3454 . . . . . . . . . 10 𝑦 ∈ V
97, 8opnzi 5442 . . . . . . . . 9 ⟨𝑥, 𝑦⟩ ≠ ∅
10 ssn0 4354 . . . . . . . . 9 ((⟨𝑥, 𝑦⟩ ⊆ ∪ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ≠ ∅) → ∪ (𝐴 × 𝐵) ≠ ∅)
116, 9, 10sylancl 598 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
1211adantl 487 . . . . . . 7 ((⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → ∪ (𝐴 × 𝐵) ≠ ∅)
1312exlimivv 1964 . . . . . 6 (∃𝑥∃𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → ∪ (𝐴 × 𝐵) ≠ ∅)
145, 13sylbi 220 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
1514exlimiv 1962 . . . 4 (∃𝑧 𝑧 ∈ (𝐴 × 𝐵) → ∪ (𝐴 × 𝐵) ≠ ∅)
164, 15sylbi 220 . . 3 ((𝐴 × 𝐵) ≠ ∅ → ∪ (𝐴 × 𝐵) ≠ ∅)
1716necon4i 2990 . 2 (∪ (𝐴 × 𝐵) = ∅ → (𝐴 × 𝐵) = ∅)
183, 17impbii 212 1 ((𝐴 × 𝐵) = ∅ ↔ ∪ (𝐴 × 𝐵) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955   ⊆ wss 3895  ∅c0 4278  ⟨cop 4589  ∪ cuni 4866   × cxp 5648
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-opab 5167  df-xp 5656
This theorem is used by:  rankxpsuc  9899
  Copyright terms: Public domain W3C validator