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

Theorem resssxp 6133
Description: If the 𝑅-image of a class 𝐴 is a subclass of 𝐵, then the restriction of 𝑅 to 𝐴 is a subset of the Cartesian product of 𝐴 and 𝐵. (Contributed by RP, 24-Dec-2019.)
Assertion
Ref Expression
resssxp ((𝑅𝐴) ⊆ 𝐵 ↔ (𝑅𝐴) ⊆ (𝐴 × 𝐵))

Proof of Theorem resssxp
StepHypRef Expression
1 df-ima 5564 . . 3 (𝑅𝐴) = ran (𝑅𝐴)
21sseq1i 3929 . 2 ((𝑅𝐴) ⊆ 𝐵 ↔ ran (𝑅𝐴) ⊆ 𝐵)
3 dmres 5873 . . . 4 dom (𝑅𝐴) = (𝐴 ∩ dom 𝑅)
4 inss1 4143 . . . 4 (𝐴 ∩ dom 𝑅) ⊆ 𝐴
53, 4eqsstri 3935 . . 3 dom (𝑅𝐴) ⊆ 𝐴
65biantrur 534 . 2 (ran (𝑅𝐴) ⊆ 𝐵 ↔ (dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵))
7 relres 5880 . . . . 5 Rel (𝑅𝐴)
8 relssdmrn 6132 . . . . 5 (Rel (𝑅𝐴) → (𝑅𝐴) ⊆ (dom (𝑅𝐴) × ran (𝑅𝐴)))
97, 8ax-mp 5 . . . 4 (𝑅𝐴) ⊆ (dom (𝑅𝐴) × ran (𝑅𝐴))
10 xpss12 5566 . . . 4 ((dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵) → (dom (𝑅𝐴) × ran (𝑅𝐴)) ⊆ (𝐴 × 𝐵))
119, 10sstrid 3912 . . 3 ((dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵) → (𝑅𝐴) ⊆ (𝐴 × 𝐵))
12 dmss 5771 . . . . 5 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → dom (𝑅𝐴) ⊆ dom (𝐴 × 𝐵))
13 dmxpss 6034 . . . . 5 dom (𝐴 × 𝐵) ⊆ 𝐴
1412, 13sstrdi 3913 . . . 4 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → dom (𝑅𝐴) ⊆ 𝐴)
15 rnss 5808 . . . . 5 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → ran (𝑅𝐴) ⊆ ran (𝐴 × 𝐵))
16 rnxpss 6035 . . . . 5 ran (𝐴 × 𝐵) ⊆ 𝐵
1715, 16sstrdi 3913 . . . 4 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → ran (𝑅𝐴) ⊆ 𝐵)
1814, 17jca 515 . . 3 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → (dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵))
1911, 18impbii 212 . 2 ((dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵) ↔ (𝑅𝐴) ⊆ (𝐴 × 𝐵))
202, 6, 193bitri 300 1 ((𝑅𝐴) ⊆ 𝐵 ↔ (𝑅𝐴) ⊆ (𝐴 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wb 209  wa 399  cin 3865  wss 3866   × cxp 5549  dom cdm 5551  ran crn 5552  cres 5553  cima 5554  Rel wrel 5556
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-br 5054  df-opab 5116  df-xp 5557  df-rel 5558  df-cnv 5559  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564
This theorem is referenced by:  gsumpart  31034  dfhe2  41059
  Copyright terms: Public domain W3C validator