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

Theorem funssres 6393
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 3498 . . . . . . . . 9 𝑥 ∈ V
2 vex 3498 . . . . . . . . 9 𝑦 ∈ V
31, 2opeldm 5771 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺)
43a1i 11 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺𝑥 ∈ dom 𝐺))
5 ssel 3961 . . . . . . 7 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → ⟨𝑥, 𝑦⟩ ∈ 𝐹))
64, 5jcad 515 . . . . . 6 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
76adantl 484 . . . . 5 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹)))
8 funeu2 6376 . . . . . . . . . . . 12 ((Fun 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹) → ∃!𝑦𝑥, 𝑦⟩ ∈ 𝐹)
91eldm2 5765 . . . . . . . . . . . . . 14 (𝑥 ∈ dom 𝐺 ↔ ∃𝑦𝑥, 𝑦⟩ ∈ 𝐺)
105ancrd 554 . . . . . . . . . . . . . . 15 (𝐺𝐹 → (⟨𝑥, 𝑦⟩ ∈ 𝐺 → (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1110eximdv 1914 . . . . . . . . . . . . . 14 (𝐺𝐹 → (∃𝑦𝑥, 𝑦⟩ ∈ 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
129, 11syl5bi 244 . . . . . . . . . . . . 13 (𝐺𝐹 → (𝑥 ∈ dom 𝐺 → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺)))
1312imp 409 . . . . . . . . . . . 12 ((𝐺𝐹𝑥 ∈ dom 𝐺) → ∃𝑦(⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
14 eupick 2714 . . . . . . . . . . . 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 5856 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ (𝑥 ∈ dom 𝐺 ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐹))
2422, 23syl6rbbr 292 . . 3 ((Fun 𝐹𝐺𝐹) → (⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
2524alrimivv 1925 . 2 ((Fun 𝐹𝐺𝐹) → ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐹 ↾ dom 𝐺) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐺))
26 relres 5877 . . 3 Rel (𝐹 ↾ dom 𝐺)
27 funrel 6367 . . . 4 (Fun 𝐹 → Rel 𝐹)
28 relss 5651 . . . 4 (𝐺𝐹 → (Rel 𝐹 → Rel 𝐺))
2927, 28mpan9 509 . . 3 ((Fun 𝐹𝐺𝐹) → Rel 𝐺)
30 eqrel 5653 . . 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 1531   = wceq 1533  wex 1776  wcel 2110  ∃!weu 2649  wss 3936  cop 4567  dom cdm 5550  cres 5552  Rel wrel 5555  Fun wfun 6344
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-br 5060  df-opab 5122  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-res 5562  df-fun 6352
This theorem is referenced by:  fun2ssres  6394  funcnvres  6427  f1ssf1  6641  funssfv  6686  oprssov  7311  isngp2  23200  dvres3  24505  dvres3a  24506  dchrelbas2  25807  issubgr2  27048  uhgrissubgr  27051  funpsstri  33003  funsseq  33006
  Copyright terms: Public domain W3C validator