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

Theorem funssres 6391
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 3496 . . . . . . . . 9 𝑥 ∈ V
2 vex 3496 . . . . . . . . 9 𝑦 ∈ V
31, 2opeldm 5769 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺)
43a1i 11 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺))
5 ssel 3959 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐹))
64, 5jcad 515 . . . . . 6 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
76adantl 484 . . . . 5 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
8 funeu2 6374 . . . . . . . . . . . 12 ((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹)
91eldm2 5763 . . . . . . . . . . . . . 14 (𝑥 ∈ dom 𝐺 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐺)
105ancrd 554 . . . . . . . . . . . . . . 15 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1110eximdv 1912 . . . . . . . . . . . . . 14 (𝐺𝐹 → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
129, 11syl5bi 244 . . . . . . . . . . . . 13 (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1312imp 409 . . . . . . . . . . . 12 ((𝐺𝐹𝑥 ∈ dom 𝐺) → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
14 eupick 2712 . . . . . . . . . . . 12 ((∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹 ∧ ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
158, 13, 14syl2an 597 . . . . . . . . . . 11 (((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) ∧ (𝐺𝐹𝑥 ∈ dom 𝐺)) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
1615exp43 439 . . . . . . . . . 10 (Fun 𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))))
1716com23 86 . . . . . . . . 9 (Fun 𝐹 → (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))))
1817imp 409 . . . . . . . 8 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))))
1918com34 91 . . . . . . 7 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐺))))
2019pm2.43d 53 . . . . . 6 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐹 → (𝑥 ∈ dom 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
2120impcomd 414 . . . . 5 ((Fun 𝐹𝐺𝐹) → ((𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ⟨𝑥, 𝑦⟩ ∈ 𝐺))
227, 21impbid 214 . . . 4 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 ↔ (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
232opelresi 5854 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
2422, 23syl6rbbr 292 . . 3 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2524alrimivv 1923 . 2 ((Fun 𝐹𝐺𝐹) → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
26 relres 5875 . . 3 Rel (𝐹 ↾ dom 𝐺)
27 funrel 6365 . . . 4 (Fun 𝐹 → Rel 𝐹)
28 relss 5649 . . . 4 (𝐺𝐹 → (Rel 𝐹 → Rel 𝐺))
2927, 28mpan9 509 . . 3 ((Fun 𝐹𝐺𝐹) → Rel 𝐺)
30 eqrel 5651 . . 3 ((Rel (𝐹 ↾ dom 𝐺) ∧ Rel 𝐺) → ((𝐹 ↾ dom 𝐺) = 𝐺 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
3126, 29, 30sylancr 589 . 2 ((Fun 𝐹𝐺𝐹) → ((𝐹 ↾ dom 𝐺) = 𝐺 ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
3225, 31mpbird 259 1 ((Fun 𝐹𝐺𝐹) → (𝐹 ↾ dom 𝐺) = 𝐺)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1529   = wceq 1531  wex 1774  wcel 2108  ∃!weu 2647  wss 3934  cop 4565  dom cdm 5548  cres 5550  Rel wrel 5553  Fun wfun 6342
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  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 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  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-sn 4560  df-pr 4562  df-op 4566  df-br 5058  df-opab 5120  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-res 5560  df-fun 6350
This theorem is referenced by:  fun2ssres  6392  funcnvres  6425  f1ssf1  6639  funssfv  6684  oprssov  7309  isngp2  23198  dvres3  24503  dvres3a  24504  dchrelbas2  25805  issubgr2  27046  uhgrissubgr  27049  funpsstri  33001  funsseq  33004
  Copyright terms: Public domain W3C validator