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

Theorem unixp0 6284
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 2813 . 2 ((𝐴 × 𝐵) = ∅ → (𝐴 × 𝐵) = ∅)
4 n0 4306 . . . 4 ((𝐴 × 𝐵) ≠ ∅ ↔ ∃𝑧 𝑧 ∈ (𝐴 × 𝐵))
5 elxp3 5726 . . . . . 6 (𝑧 ∈ (𝐴 × 𝐵) ↔ ∃𝑥𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)))
6 elssuni 4903 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ⊆ (𝐴 × 𝐵))
7 vex 3458 . . . . . . . . . 10 𝑥 ∈ V
8 vex 3458 . . . . . . . . . 10 𝑦 ∈ V
97, 8opnzi 5455 . . . . . . . . 9 𝑥, 𝑦⟩ ≠ ∅
10 ssn0 4361 . . . . . . . . 9 ((⟨𝑥, 𝑦⟩ ⊆ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ≠ ∅) → (𝐴 × 𝐵) ≠ ∅)
116, 9, 10sylancl 597 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → (𝐴 × 𝐵) ≠ ∅)
1211adantl 486 . . . . . . 7 ((⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → (𝐴 × 𝐵) ≠ ∅)
1312exlimivv 1961 . . . . . 6 (∃𝑥𝑦(⟨𝑥, 𝑦⟩ = 𝑧 ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵)) → (𝐴 × 𝐵) ≠ ∅)
145, 13sylbi 220 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) → (𝐴 × 𝐵) ≠ ∅)
1514exlimiv 1959 . . . 4 (∃𝑧 𝑧 ∈ (𝐴 × 𝐵) → (𝐴 × 𝐵) ≠ ∅)
164, 15sylbi 220 . . 3 ((𝐴 × 𝐵) ≠ ∅ → (𝐴 × 𝐵) ≠ ∅)
1716necon4i 2992 . 2 ( (𝐴 × 𝐵) = ∅ → (𝐴 × 𝐵) = ∅)
183, 17impbii 212 1 ((𝐴 × 𝐵) = ∅ ↔ (𝐴 × 𝐵) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wb 209  wa 400   = wceq 1569  wex 1808  wcel 2142  wne 2957  wss 3904  c0 4285  cop 4594   cuni 4871   × cxp 5658
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1824  ax-4 1838  ax-5 1939  ax-6 1996  ax-7 2037  ax-8 2144  ax-9 2152  ax-ext 2734  ax-sep 5256  ax-pr 5403
This proof depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1104  df-tru 1572  df-fal 1582  df-ex 1809  df-sb 2096  df-clab 2741  df-cleq 2754  df-clel 2837  df-ne 2958  df-ral 3079  df-rex 3089  df-rab 3416  df-v 3456  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-nul 4286  df-if 4487  df-sn 4589  df-pr 4591  df-op 4595  df-uni 4872  df-opab 5173  df-xp 5666
This theorem is used by:  rankxpsuc  9852
  Copyright terms: Public domain W3C validator