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

Theorem xpexr2 7958
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 6163 . 2 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) ↔ (𝐴 × 𝐵) ≠ ∅)
2 dmxp 5919 . . . . . 6 (𝐵 ≠ ∅ → dom (𝐴 × 𝐵) = 𝐴)
32adantl 487 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐵 ≠ ∅) → dom (𝐴 × 𝐵) = 𝐴)
4 dmexg 7940 . . . . . 6 ((𝐴 × 𝐵) ∈ 𝐶 → dom (𝐴 × 𝐵) ∈ V)
54adantr 486 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐵 ≠ ∅) → dom (𝐴 × 𝐵) ∈ V)
63, 5eqeltrrd 2865 . . . 4 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐵 ≠ ∅) → 𝐴 ∈ V)
7 rnxp 6175 . . . . . 6 (𝐴 ≠ ∅ → ran (𝐴 × 𝐵) = 𝐵)
87adantl 487 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐴 ≠ ∅) → ran (𝐴 × 𝐵) = 𝐵)
9 rnexg 7941 . . . . . 6 ((𝐴 × 𝐵) ∈ 𝐶 → ran (𝐴 × 𝐵) ∈ V)
109adantr 486 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐴 ≠ ∅) → ran (𝐴 × 𝐵) ∈ V)
118, 10eqeltrrd 2865 . . . 4 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐴 ≠ ∅) → 𝐵 ∈ V)
126, 11anim12dan 631 . . 3 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐵 ≠ ∅ ∧ 𝐴 ≠ ∅)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1312ancom2s 663 . 2 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅)) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
141, 13sylan2br 607 1 (((𝐴 × 𝐵) ∈ 𝐶 ∧ (𝐴 × 𝐵) ≠ ∅) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  Vcvv 3454  ∅c0 4281   × cxp 5654  dom cdm 5656  ran crn 5657
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 5253  ax-pr 5396  ax-un 7778
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-br 5107  df-opab 5172  df-xp 5662  df-rel 5663  df-cnv 5664  df-dm 5666  df-rn 5667
This theorem is used by:  xpfir  9290  bj-xpnzex  38063
  Copyright terms: Public domain W3C validator