Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rp-imass Structured version   Visualization version   GIF version

Theorem rp-imass 36978
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 Richard Penner, 24-Dec-2019.)
Assertion
Ref Expression
rp-imass ((𝑅𝐴) ⊆ 𝐵 ↔ (𝑅𝐴) ⊆ (𝐴 × 𝐵))

Proof of Theorem rp-imass
StepHypRef Expression
1 df-ima 4945 . . 3 (𝑅𝐴) = ran (𝑅𝐴)
21sseq1i 3496 . 2 ((𝑅𝐴) ⊆ 𝐵 ↔ ran (𝑅𝐴) ⊆ 𝐵)
3 dmres 5230 . . . 4 dom (𝑅𝐴) = (𝐴 ∩ dom 𝑅)
4 inss1 3698 . . . 4 (𝐴 ∩ dom 𝑅) ⊆ 𝐴
53, 4eqsstri 3502 . . 3 dom (𝑅𝐴) ⊆ 𝐴
65biantrur 525 . 2 (ran (𝑅𝐴) ⊆ 𝐵 ↔ (dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵))
7 relres 5237 . . . . 5 Rel (𝑅𝐴)
8 relssdmrn 5463 . . . . 5 (Rel (𝑅𝐴) → (𝑅𝐴) ⊆ (dom (𝑅𝐴) × ran (𝑅𝐴)))
97, 8ax-mp 5 . . . 4 (𝑅𝐴) ⊆ (dom (𝑅𝐴) × ran (𝑅𝐴))
10 xpss12 5041 . . . 4 ((dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵) → (dom (𝑅𝐴) × ran (𝑅𝐴)) ⊆ (𝐴 × 𝐵))
119, 10syl5ss 3483 . . 3 ((dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵) → (𝑅𝐴) ⊆ (𝐴 × 𝐵))
12 dmss 5136 . . . . 5 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → dom (𝑅𝐴) ⊆ dom (𝐴 × 𝐵))
13 dmxpss 5374 . . . . 5 dom (𝐴 × 𝐵) ⊆ 𝐴
1412, 13syl6ss 3484 . . . 4 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → dom (𝑅𝐴) ⊆ 𝐴)
15 rnss 5166 . . . . 5 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → ran (𝑅𝐴) ⊆ ran (𝐴 × 𝐵))
16 rnxpss 5375 . . . . 5 ran (𝐴 × 𝐵) ⊆ 𝐵
1715, 16syl6ss 3484 . . . 4 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → ran (𝑅𝐴) ⊆ 𝐵)
1814, 17jca 552 . . 3 ((𝑅𝐴) ⊆ (𝐴 × 𝐵) → (dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵))
1911, 18impbii 197 . 2 ((dom (𝑅𝐴) ⊆ 𝐴 ∧ ran (𝑅𝐴) ⊆ 𝐵) ↔ (𝑅𝐴) ⊆ (𝐴 × 𝐵))
202, 6, 193bitri 284 1 ((𝑅𝐴) ⊆ 𝐵 ↔ (𝑅𝐴) ⊆ (𝐴 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wb 194  wa 382  cin 3443  wss 3444   × cxp 4930  dom cdm 4932  ran crn 4933  cres 4934  cima 4935  Rel wrel 4937
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1700  ax-4 1713  ax-5 1793  ax-6 1838  ax-7 1885  ax-9 1947  ax-10 1966  ax-11 1971  ax-12 1983  ax-13 2137  ax-ext 2494  ax-sep 4607  ax-nul 4616  ax-pr 4732
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1699  df-sb 1831  df-eu 2366  df-mo 2367  df-clab 2501  df-cleq 2507  df-clel 2510  df-nfc 2644  df-ne 2686  df-ral 2805  df-rex 2806  df-rab 2809  df-v 3079  df-dif 3447  df-un 3449  df-in 3451  df-ss 3458  df-nul 3778  df-if 3940  df-sn 4029  df-pr 4031  df-op 4035  df-br 4482  df-opab 4542  df-xp 4938  df-rel 4939  df-cnv 4940  df-dm 4942  df-rn 4943  df-res 4944  df-ima 4945
This theorem is referenced by:  dfhe2  36981
  Copyright terms: Public domain W3C validator