ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  funssres GIF version

Theorem funssres 5160
Description: The restriction of a function to the domain of a subclass equals the subclass. (Contributed by NM, 15-Aug-1994.)
Assertion
Ref Expression
funssres ((Fun 𝐹𝐺𝐹) → (𝐹 ↾ dom 𝐺) = 𝐺)

Proof of Theorem funssres
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ssel 3086 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐹))
2 vex 2684 . . . . . . . . 9 𝑥 ∈ V
3 vex 2684 . . . . . . . . 9 𝑦 ∈ V
42, 3opeldm 4737 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺)
54a1i 9 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺))
61, 5jcad 305 . . . . . 6 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺)))
76adantl 275 . . . . 5 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺)))
8 funeu2 5144 . . . . . . . . . . . 12 ((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹)
92eldm2 4732 . . . . . . . . . . . . . 14 (𝑥 ∈ dom 𝐺 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐺)
101ancrd 324 . . . . . . . . . . . . . . 15 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1110eximdv 1852 . . . . . . . . . . . . . 14 (𝐺𝐹 → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
129, 11syl5bi 151 . . . . . . . . . . . . 13 (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1312imp 123 . . . . . . . . . . . 12 ((𝐺𝐹𝑥 ∈ dom 𝐺) → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
14 eupick 2076 . . . . . . . . . . . 12 ((∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹 ∧ ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
158, 13, 14syl2an 287 . . . . . . . . . . 11 (((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ∧ (𝐺𝐹𝑥 ∈ dom 𝐺)) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
1615exp43 369 . . . . . . . . . 10 (Fun 𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))))
1716com23 78 . . . . . . . . 9 (Fun 𝐹 → (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))))
1817imp 123 . . . . . . . 8 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))))
1918com34 83 . . . . . . 7 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))))
2019pm2.43d 50 . . . . . 6 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
2120impd 252 . . . . 5 ((Fun 𝐹𝐺𝐹) → ((⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺) → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
227, 21impbid 128 . . . 4 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺)))
233opelres 4819 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺))
2422, 23syl6rbbr 198 . . 3 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2524alrimivv 1847 . 2 ((Fun 𝐹𝐺𝐹) → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
26 relres 4842 . . 3 Rel (𝐹 ↾ dom 𝐺)
27 funrel 5135 . . . 4 (Fun 𝐹 → Rel 𝐹)
28 relss 4621 . . . 4 (𝐺𝐹 → (Rel 𝐹 → Rel 𝐺))
2927, 28mpan9 279 . . 3 ((Fun 𝐹𝐺𝐹) → Rel 𝐺)
30 eqrel 4623 . . 3 ((Rel (𝐹 ↾ dom 𝐺) ∧ Rel 𝐺) → ((𝐹 ↾ dom 𝐺) = 𝐺 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
3126, 29, 30sylancr 410 . 2 ((Fun 𝐹𝐺𝐹) → ((𝐹 ↾ dom 𝐺) = 𝐺 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
3225, 31mpbird 166 1 ((Fun 𝐹𝐺𝐹) → (𝐹 ↾ dom 𝐺) = 𝐺)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1329   = wceq 1331  wex 1468  wcel 1480  ∃!weu 1997  wss 3066  cop 3525  dom cdm 4534  cres 4536  Rel wrel 4539  Fun wfun 5112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-v 2683  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-br 3925  df-opab 3985  df-id 4210  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-res 4546  df-fun 5120
This theorem is referenced by:  fun2ssres  5161  funcnvres  5191  funssfv  5440  oprssov  5905
  Copyright terms: Public domain W3C validator