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

Theorem resfunexg 6434
Description: The restriction of a function to a set exists. Compare Proposition 6.17 of [TakeutiZaring] p. 28. (Contributed by NM, 7-Apr-1995.) (Revised by Mario Carneiro, 22-Jun-2013.)
Assertion
Ref Expression
resfunexg ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)

Proof of Theorem resfunexg
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 funres 5889 . . . . . . 7 (Fun 𝐴 → Fun (𝐴𝐵))
21adantr 481 . . . . . 6 ((Fun 𝐴𝐵𝐶) → Fun (𝐴𝐵))
3 funfn 5879 . . . . . 6 (Fun (𝐴𝐵) ↔ (𝐴𝐵) Fn dom (𝐴𝐵))
42, 3sylib 208 . . . . 5 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) Fn dom (𝐴𝐵))
5 dffn5 6199 . . . . 5 ((𝐴𝐵) Fn dom (𝐴𝐵) ↔ (𝐴𝐵) = (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)))
64, 5sylib 208 . . . 4 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)))
7 fvex 6160 . . . . 5 ((𝐴𝐵)‘𝑥) ∈ V
87fnasrn 6366 . . . 4 (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
96, 8syl6eq 2676 . . 3 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
10 opex 4898 . . . . . 6 𝑥, ((𝐴𝐵)‘𝑥)⟩ ∈ V
11 eqid 2626 . . . . . 6 (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) = (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
1210, 11dmmpti 5982 . . . . 5 dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) = dom (𝐴𝐵)
1312imaeq2i 5427 . . . 4 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)) = ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵))
14 imadmrn 5439 . . . 4 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
1513, 14eqtr3i 2650 . . 3 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
169, 15syl6eqr 2678 . 2 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)))
17 funmpt 5886 . . 3 Fun (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
18 dmresexg 5384 . . . 4 (𝐵𝐶 → dom (𝐴𝐵) ∈ V)
1918adantl 482 . . 3 ((Fun 𝐴𝐵𝐶) → dom (𝐴𝐵) ∈ V)
20 funimaexg 5935 . . 3 ((Fun (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) ∧ dom (𝐴𝐵) ∈ V) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) ∈ V)
2117, 19, 20sylancr 694 . 2 ((Fun 𝐴𝐵𝐶) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) ∈ V)
2216, 21eqeltrd 2704 1 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1992  Vcvv 3191  cop 4159  cmpt 4678  dom cdm 5079  ran crn 5080  cres 5081  cima 5082  Fun wfun 5844   Fn wfn 5845  cfv 5850
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1841  ax-6 1890  ax-7 1937  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pr 4872
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3193  df-sbc 3423  df-csb 3520  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858
This theorem is referenced by:  resiexd  6435  fnex  6436  ofexg  6855  cofunexg  7080  dfac8alem  8797  dfac12lem1  8910  cfsmolem  9037  alephsing  9043  itunifval  9183  zorn2lem1  9263  ttukeylem3  9278  imadomg  9301  wunex2  9505  inar1  9542  axdc4uzlem  12719  hashf1rn  13079  hashf1rnOLD  13080  bpolylem  14699  1stf1  16748  1stf2  16749  2ndf1  16751  2ndf2  16752  1stfcl  16753  2ndfcl  16754  gsumzadd  18238  wlkreslem  26429  tendo02  35522  dnnumch1  37061  aomclem6  37076  dfrngc2  41214  dfringc2  41260  rngcresringcat  41272  fdivval  41580
  Copyright terms: Public domain W3C validator