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

Theorem relresfld 6120
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 6119 . . . 4 (Rel 𝑅 𝑅 = (dom 𝑅 ∪ ran 𝑅))
21reseq2d 5846 . . 3 (Rel 𝑅 → (𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)))
3 resundi 5860 . . 3 (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))
4 eqtr 2839 . . . 4 (((𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) ∧ (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))) → (𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)))
5 resss 5871 . . . . 5 (𝑅 ↾ ran 𝑅) ⊆ 𝑅
6 resdm 5890 . . . . 5 (Rel 𝑅 → (𝑅 ↾ dom 𝑅) = 𝑅)
7 ssequn2 4157 . . . . . 6 ((𝑅 ↾ ran 𝑅) ⊆ 𝑅 ↔ (𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅)
8 uneq1 4130 . . . . . . . . 9 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)))
98eqeq2d 2830 . . . . . . . 8 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) ↔ (𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅))))
10 eqtr 2839 . . . . . . . . 9 (((𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)) ∧ (𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅) → (𝑅 𝑅) = 𝑅)
1110ex 415 . . . . . . . 8 ((𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)) → ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → (𝑅 𝑅) = 𝑅))
129, 11syl6bi 255 . . . . . . 7 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → (𝑅 𝑅) = 𝑅)))
1312com3r 87 . . . . . 6 ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → (𝑅 𝑅) = 𝑅)))
147, 13sylbi 219 . . . . 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 588 . 2 (Rel 𝑅 → (Rel 𝑅 → (𝑅 𝑅) = 𝑅))
1817pm2.43i 52 1 (Rel 𝑅 → (𝑅 𝑅) = 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1530  cun 3932  wss 3934   cuni 4830  dom cdm 5548  ran crn 5549  cres 5550  Rel wrel 5553
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2791  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ral 3141  df-rex 3142  df-rab 3145  df-v 3495  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-br 5058  df-opab 5120  df-xp 5554  df-rel 5555  df-cnv 5556  df-dm 5558  df-rn 5559  df-res 5560
This theorem is referenced by:  relcoi1  6122
  Copyright terms: Public domain W3C validator