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

Theorem resfunexg 6970
 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 6390 . . . . . . 7 (Fun 𝐴 → Fun (𝐴𝐵))
21adantr 483 . . . . . 6 ((Fun 𝐴𝐵𝐶) → Fun (𝐴𝐵))
32funfnd 6379 . . . . 5 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) Fn dom (𝐴𝐵))
4 dffn5 6717 . . . . 5 ((𝐴𝐵) Fn dom (𝐴𝐵) ↔ (𝐴𝐵) = (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)))
53, 4sylib 220 . . . 4 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)))
6 fvex 6676 . . . . 5 ((𝐴𝐵)‘𝑥) ∈ V
76fnasrn 6900 . . . 4 (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
85, 7syl6eq 2870 . . 3 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
9 opex 5347 . . . . . 6 𝑥, ((𝐴𝐵)‘𝑥)⟩ ∈ V
10 eqid 2819 . . . . . 6 (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) = (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
119, 10dmmpti 6485 . . . . 5 dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) = dom (𝐴𝐵)
1211imaeq2i 5920 . . . 4 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)) = ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵))
13 imadmrn 5932 . . . 4 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
1412, 13eqtr3i 2844 . . 3 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
158, 14syl6eqr 2872 . 2 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)))
16 funmpt 6386 . . 3 Fun (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
17 dmresexg 5870 . . . 4 (𝐵𝐶 → dom (𝐴𝐵) ∈ V)
1817adantl 484 . . 3 ((Fun 𝐴𝐵𝐶) → dom (𝐴𝐵) ∈ V)
19 funimaexg 6433 . . 3 ((Fun (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) ∧ dom (𝐴𝐵) ∈ V) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) ∈ V)
2016, 18, 19sylancr 589 . 2 ((Fun 𝐴𝐵𝐶) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) ∈ V)
2115, 20eqeltrd 2911 1 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 398   = wceq 1530   ∈ wcel 2107  Vcvv 3493  ⟨cop 4565   ↦ cmpt 5137  dom cdm 5548  ran crn 5549   ↾ cres 5550   “ cima 5551  Fun wfun 6342   Fn wfn 6343  ‘cfv 6348 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2791  ax-rep 5181  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 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  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-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356 This theorem is referenced by:  resiexd  6971  fnex  6972  ofexg  7405  cofunexg  7642  dfac8alem  9447  dfac12lem1  9561  cfsmolem  9684  alephsing  9690  itunifval  9830  zorn2lem1  9910  ttukeylem3  9925  imadomg  9948  wunex2  10152  inar1  10189  axdc4uzlem  13343  hashf1rn  13705  bpolylem  15394  1stf1  17434  1stf2  17435  2ndf1  17437  2ndf2  17438  1stfcl  17439  2ndfcl  17440  gsumzadd  19034  satf  32588  frrlem13  33123  madeval  33277  tendo02  37905  dnnumch1  39624  aomclem6  39639  dfrngc2  44223  dfringc2  44269  rngcresringcat  44281  fdivval  44579
 Copyright terms: Public domain W3C validator