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

Theorem xpexr2 7932
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 6149 . 2 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) ↔ (𝐴 × 𝐵) ≠ ∅)
2 dmxp 5910 . . . . . 6 (𝐵 ≠ ∅ → dom (𝐴 × 𝐵) = 𝐴)
32adantl 487 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐵 ≠ ∅) → dom (𝐴 × 𝐵) = 𝐴)
4 dmexg 7914 . . . . . 6 ((𝐴 × 𝐵) ∈ 𝐶 → dom (𝐴 × 𝐵) ∈ V)
54adantr 486 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐵 ≠ ∅) → dom (𝐴 × 𝐵) ∈ V)
63, 5eqeltrrd 2861 . . . 4 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐵 ≠ ∅) → 𝐴 ∈ V)
7 rnxp 6161 . . . . . 6 (𝐴 ≠ ∅ → ran (𝐴 × 𝐵) = 𝐵)
87adantl 487 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐴 ≠ ∅) → ran (𝐴 × 𝐵) = 𝐵)
9 rnexg 7915 . . . . . 6 ((𝐴 × 𝐵) ∈ 𝐶 → ran (𝐴 × 𝐵) ∈ V)
109adantr 486 . . . . 5 (((𝐴 × 𝐵) ∈ 𝐶 ∧ 𝐴 ≠ ∅) → ran (𝐴 × 𝐵) ∈ V)
118, 10eqeltrrd 2861 . . . 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 1569   ∈ wcel 2144   ≠ wne 2955  Vcvv 3450  ∅c0 4278   × cxp 5648  dom cdm 5650  ran crn 5651
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  ax-un 7752
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 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658  df-dm 5660  df-rn 5661
This theorem is used by:  xpfir  9263  bj-xpnzex  37965
  Copyright terms: Public domain W3C validator