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

Theorem relresfld 6153
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 6152 . . . 4 (Rel 𝑅 𝑅 = (dom 𝑅 ∪ ran 𝑅))
21reseq2d 5865 . . 3 (Rel 𝑅 → (𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)))
3 resundi 5879 . . 3 (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))
4 eqtr 2761 . . . 4 (((𝑅 𝑅) = (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) ∧ (𝑅 ↾ (dom 𝑅 ∪ ran 𝑅)) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅))) → (𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)))
5 resss 5890 . . . . 5 (𝑅 ↾ ran 𝑅) ⊆ 𝑅
6 resdm 5910 . . . . 5 (Rel 𝑅 → (𝑅 ↾ dom 𝑅) = 𝑅)
7 ssequn2 4111 . . . . . 6 ((𝑅 ↾ ran 𝑅) ⊆ 𝑅 ↔ (𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅)
8 uneq1 4084 . . . . . . . . 9 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)))
98eqeq2d 2749 . . . . . . . 8 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) ↔ (𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅))))
10 eqtr 2761 . . . . . . . . 9 (((𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)) ∧ (𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅) → (𝑅 𝑅) = 𝑅)
1110ex 416 . . . . . . . 8 ((𝑅 𝑅) = (𝑅 ∪ (𝑅 ↾ ran 𝑅)) → ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → (𝑅 𝑅) = 𝑅))
129, 11syl6bi 256 . . . . . . 7 ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → (𝑅 𝑅) = 𝑅)))
1312com3r 87 . . . . . 6 ((𝑅 ∪ (𝑅 ↾ ran 𝑅)) = 𝑅 → ((𝑅 ↾ dom 𝑅) = 𝑅 → ((𝑅 𝑅) = ((𝑅 ↾ dom 𝑅) ∪ (𝑅 ↾ ran 𝑅)) → (𝑅 𝑅) = 𝑅)))
147, 13sylbi 220 . . . . 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 589 . 2 (Rel 𝑅 → (Rel 𝑅 → (𝑅 𝑅) = 𝑅))
1817pm2.43i 52 1 (Rel 𝑅 → (𝑅 𝑅) = 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  cun 3878  wss 3880   cuni 4833  dom cdm 5565  ran crn 5566  cres 5567  Rel wrel 5570
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 2113  ax-9 2121  ax-12 2176  ax-ext 2709  ax-sep 5206  ax-nul 5213  ax-pr 5336
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-sb 2072  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3067  df-rex 3068  df-rab 3071  df-v 3422  df-dif 3883  df-un 3885  df-in 3887  df-ss 3897  df-nul 4252  df-if 4454  df-pw 4529  df-sn 4556  df-pr 4558  df-op 4562  df-uni 4834  df-br 5068  df-opab 5130  df-xp 5571  df-rel 5572  df-cnv 5573  df-dm 5575  df-rn 5576  df-res 5577
This theorem is referenced by:  relcoi1  6155
  Copyright terms: Public domain W3C validator