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

Theorem funssres 5173
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 vex 2692 . . . . 5 𝑦 ∈ V
21opelres 4832 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺))
3 ssel 3096 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐹))
4 vex 2692 . . . . . . . . 9 𝑥 ∈ V
54, 1opeldm 4750 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺)
65a1i 9 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺))
73, 6jcad 305 . . . . . 6 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺)))
87adantl 275 . . . . 5 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺)))
9 funeu2 5157 . . . . . . . . . . . 12 ((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹)
104eldm2 4745 . . . . . . . . . . . . . 14 (𝑥 ∈ dom 𝐺 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐺)
113ancrd 324 . . . . . . . . . . . . . . 15 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1211eximdv 1853 . . . . . . . . . . . . . 14 (𝐺𝐹 → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1310, 12syl5bi 151 . . . . . . . . . . . . 13 (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1413imp 123 . . . . . . . . . . . 12 ((𝐺𝐹𝑥 ∈ dom 𝐺) → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
15 eupick 2079 . . . . . . . . . . . 12 ((∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹 ∧ ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
169, 14, 15syl2an 287 . . . . . . . . . . 11 (((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ∧ (𝐺𝐹𝑥 ∈ dom 𝐺)) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
1716exp43 370 . . . . . . . . . 10 (Fun 𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))))
1817com23 78 . . . . . . . . 9 (Fun 𝐹 → (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))))
1918imp 123 . . . . . . . 8 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))))
2019com34 83 . . . . . . 7 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))))
2120pm2.43d 50 . . . . . 6 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
2221impd 252 . . . . 5 ((Fun 𝐹𝐺𝐹) → ((⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺) → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
238, 22impbid 128 . . . 4 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹𝑥 ∈ dom 𝐺)))
242, 23bitr4id 198 . . 3 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2524alrimivv 1848 . 2 ((Fun 𝐹𝐺𝐹) → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
26 relres 4855 . . 3 Rel (𝐹 ↾ dom 𝐺)
27 funrel 5148 . . . 4 (Fun 𝐹 → Rel 𝐹)
28 relss 4634 . . . 4 (𝐺𝐹 → (Rel 𝐹 → Rel 𝐺))
2927, 28mpan9 279 . . 3 ((Fun 𝐹𝐺𝐹) → Rel 𝐺)
30 eqrel 4636 . . 3 ((Rel (𝐹 ↾ dom 𝐺) ∧ Rel 𝐺) → ((𝐹 ↾ dom 𝐺) = 𝐺 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
3126, 29, 30sylancr 411 . 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 1330   = wceq 1332  wex 1469  wcel 1481  ∃!weu 2000  wss 3076  cop 3535  dom cdm 4547  cres 4549  Rel wrel 4552  Fun wfun 5125
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 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-rex 2423  df-v 2691  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-br 3938  df-opab 3998  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-res 4559  df-fun 5133
This theorem is referenced by:  fun2ssres  5174  funcnvres  5204  funssfv  5455  oprssov  5920
  Copyright terms: Public domain W3C validator