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

Theorem xpexr2 7613
Description: If a nonempty Cartesian product is a set, so are both of its components. (Contributed by NM, 27-Aug-2006.)
Assertion
Ref Expression
xpexr2 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐴 × 𝐵) ≠ ∅) → (𝐴 ∈ V ∧ 𝐵 ∈ V))

Proof of Theorem xpexr2
StepHypRef Expression
1 xpnz 6009 . 2 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) ↔ (𝐴 × 𝐵) ≠ ∅)
2 dmxp 5792 . . . . . 6 (𝐵 ≠ ∅ → dom (𝐴 × 𝐵) = 𝐴)
32adantl 482 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶𝐵 ≠ ∅) → dom (𝐴 × 𝐵) = 𝐴)
4 dmexg 7602 . . . . . 6 ((𝐴 × 𝐵) ∈ 𝐶 → dom (𝐴 × 𝐵) ∈ V)
54adantr 481 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶𝐵 ≠ ∅) → dom (𝐴 × 𝐵) ∈ V)
63, 5eqeltrrd 2911 . . . 4 (((𝐴 × 𝐵) ∈ 𝐶𝐵 ≠ ∅) → 𝐴 ∈ V)
7 rnxp 6020 . . . . . 6 (𝐴 ≠ ∅ → ran (𝐴 × 𝐵) = 𝐵)
87adantl 482 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶𝐴 ≠ ∅) → ran (𝐴 × 𝐵) = 𝐵)
9 rnexg 7603 . . . . . 6 ((𝐴 × 𝐵) ∈ 𝐶 → ran (𝐴 × 𝐵) ∈ V)
109adantr 481 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶𝐴 ≠ ∅) → ran (𝐴 × 𝐵) ∈ V)
118, 10eqeltrrd 2911 . . . 4 (((𝐴 × 𝐵) ∈ 𝐶𝐴 ≠ ∅) → 𝐵 ∈ V)
126, 11anim12dan 618 . . 3 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐵 ≠ ∅ ∧ 𝐴 ≠ ∅)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1312ancom2s 646 . 2 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
141, 13sylan2br 594 1 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐴 × 𝐵) ≠ ∅) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1528  wcel 2105  wne 3013  Vcvv 3492  c0 4288   × cxp 5546  dom cdm 5548  ran crn 5549
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-xp 5554  df-rel 5555  df-cnv 5556  df-dm 5558  df-rn 5559
This theorem is referenced by:  xpfir  8728  bj-xpnzex  34168
  Copyright terms: Public domain W3C validator