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

Theorem ssxpb 5998
Description: A Cartesian product subclass relationship is equivalent to the conjunction of the analogous relationships for the factors. (Contributed by NM, 17-Dec-2008.)
Assertion
Ref Expression
ssxpb ((𝐴 × 𝐵) ≠ ∅ → ((𝐴 × 𝐵) ⊆ (𝐶 × 𝐷) ↔ (𝐴𝐶𝐵𝐷)))

Proof of Theorem ssxpb
StepHypRef Expression
1 xpnz 5983 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) ↔ (𝐴 × 𝐵) ≠ ∅)
2 dmxp 5763 . . . . . . . . 9 (𝐵 ≠ ∅ → dom (𝐴 × 𝐵) = 𝐴)
32adantl 485 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) → dom (𝐴 × 𝐵) = 𝐴)
41, 3sylbir 238 . . . . . . 7 ((𝐴 × 𝐵) ≠ ∅ → dom (𝐴 × 𝐵) = 𝐴)
54adantr 484 . . . . . 6 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → dom (𝐴 × 𝐵) = 𝐴)
6 dmss 5735 . . . . . . 7 ((𝐴 × 𝐵) ⊆ (𝐶 × 𝐷) → dom (𝐴 × 𝐵) ⊆ dom (𝐶 × 𝐷))
76adantl 485 . . . . . 6 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → dom (𝐴 × 𝐵) ⊆ dom (𝐶 × 𝐷))
85, 7eqsstrrd 3954 . . . . 5 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → 𝐴 ⊆ dom (𝐶 × 𝐷))
9 dmxpss 5995 . . . . 5 dom (𝐶 × 𝐷) ⊆ 𝐶
108, 9sstrdi 3927 . . . 4 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → 𝐴𝐶)
11 rnxp 5994 . . . . . . . . 9 (𝐴 ≠ ∅ → ran (𝐴 × 𝐵) = 𝐵)
1211adantr 484 . . . . . . . 8 ((𝐴 ≠ ∅ ∧ 𝐵 ≠ ∅) → ran (𝐴 × 𝐵) = 𝐵)
131, 12sylbir 238 . . . . . . 7 ((𝐴 × 𝐵) ≠ ∅ → ran (𝐴 × 𝐵) = 𝐵)
1413adantr 484 . . . . . 6 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → ran (𝐴 × 𝐵) = 𝐵)
15 rnss 5773 . . . . . . 7 ((𝐴 × 𝐵) ⊆ (𝐶 × 𝐷) → ran (𝐴 × 𝐵) ⊆ ran (𝐶 × 𝐷))
1615adantl 485 . . . . . 6 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → ran (𝐴 × 𝐵) ⊆ ran (𝐶 × 𝐷))
1714, 16eqsstrrd 3954 . . . . 5 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → 𝐵 ⊆ ran (𝐶 × 𝐷))
18 rnxpss 5996 . . . . 5 ran (𝐶 × 𝐷) ⊆ 𝐷
1917, 18sstrdi 3927 . . . 4 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → 𝐵𝐷)
2010, 19jca 515 . . 3 (((𝐴 × 𝐵) ≠ ∅ ∧ (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷)) → (𝐴𝐶𝐵𝐷))
2120ex 416 . 2 ((𝐴 × 𝐵) ≠ ∅ → ((𝐴 × 𝐵) ⊆ (𝐶 × 𝐷) → (𝐴𝐶𝐵𝐷)))
22 xpss12 5534 . 2 ((𝐴𝐶𝐵𝐷) → (𝐴 × 𝐵) ⊆ (𝐶 × 𝐷))
2321, 22impbid1 228 1 ((𝐴 × 𝐵) ≠ ∅ → ((𝐴 × 𝐵) ⊆ (𝐶 × 𝐷) ↔ (𝐴𝐶𝐵𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wne 2987  wss 3881  c0 4243   × cxp 5517  dom cdm 5519  ran crn 5520
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-xp 5525  df-rel 5526  df-cnv 5527  df-dm 5529  df-rn 5530
This theorem is referenced by:  xp11  5999  dibord  38455
  Copyright terms: Public domain W3C validator