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

Theorem relresfld 5621
Description: Restriction of a relation to its field. (Contributed by FL, 15-Apr-2012.)
Assertion
Ref Expression
relresfld (Rel 𝑅 → (𝑅 𝑅) = 𝑅)

Proof of Theorem relresfld
StepHypRef Expression
1 relfld 5620 . . . 4 (Rel 𝑅 𝑅 = (dom 𝑅 ∪ ran 𝑅))
21reseq2d 5356 . . 3 (Rel 𝑅 → (𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)))
3 resundi 5369 . . 3 (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))
4 eqtr 2640 . . . 4 (((𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) ∧ (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))) → (𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)))
5 resss 5381 . . . . 5 (𝑅 ↾ ran 𝑅) ⊆ 𝑅
6 resdm 5400 . . . . 5 (Rel 𝑅 → (𝑅 ↾ dom 𝑅) = 𝑅)
7 ssequn2 3764 . . . . . 6 ((𝑅 ↾ ran 𝑅) ⊆ 𝑅 ↔ (𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅)
8 uneq1 3738 . . . . . . . . 9 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)))
98eqeq2d 2631 . . . . . . . 8 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) ↔ (𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅))))
10 eqtr 2640 . . . . . . . . 9 (((𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)) ∧ (𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅) → (𝑅 𝑅) = 𝑅)
1110ex 450 . . . . . . . 8 ((𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)) → ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → (𝑅 𝑅) = 𝑅))
129, 11syl6bi 243 . . . . . . 7 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → (𝑅 𝑅) = 𝑅)))
1312com3r 87 . . . . . 6 ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → (𝑅 𝑅) = 𝑅)))
147, 13sylbi 207 . . . . 5 ((𝑅 ↾ ran 𝑅) ⊆ 𝑅 → ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → (𝑅 𝑅) = 𝑅)))
155, 6, 14mpsyl 68 . . . 4 (Rel 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → (𝑅 𝑅) = 𝑅))
164, 15syl5com 31 . . 3 (((𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) ∧ (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))) → (Rel 𝑅 → (𝑅 𝑅) = 𝑅))
172, 3, 16sylancl 693 . 2 (Rel 𝑅 → (Rel 𝑅 → (𝑅 𝑅) = 𝑅))
1817pm2.43i 52 1 (Rel 𝑅 → (𝑅 𝑅) = 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  cun 3553  wss 3555   cuni 4402  dom cdm 5074  ran crn 5075  cres 5076  Rel wrel 5079
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-xp 5080  df-rel 5081  df-cnv 5082  df-dm 5084  df-rn 5085  df-res 5086
This theorem is referenced by:  relcoi1  5623
  Copyright terms: Public domain W3C validator