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

Theorem resfunexg 5649
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 5172 . . . . 5 (Fun 𝐴 → Fun (𝐴𝐵))
2 funfvex 5446 . . . . . 6 ((Fun (𝐴𝐵) ∧ 𝑥 ∈ dom (𝐴𝐵)) → ((𝐴𝐵)‘𝑥) ∈ V)
32ralrimiva 2508 . . . . 5 (Fun (𝐴𝐵) → ∀𝑥 ∈ dom (𝐴𝐵)((𝐴𝐵)‘𝑥) ∈ V)
4 fnasrng 5608 . . . . 5 (∀𝑥 ∈ dom (𝐴𝐵)((𝐴𝐵)‘𝑥) ∈ V → (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
51, 3, 43syl 17 . . . 4 (Fun 𝐴 → (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
65adantr 274 . . 3 ((Fun 𝐴𝐵𝐶) → (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
71adantr 274 . . . . 5 ((Fun 𝐴𝐵𝐶) → Fun (𝐴𝐵))
8 funfn 5161 . . . . 5 (Fun (𝐴𝐵) ↔ (𝐴𝐵) Fn dom (𝐴𝐵))
97, 8sylib 121 . . . 4 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) Fn dom (𝐴𝐵))
10 dffn5im 5475 . . . 4 ((𝐴𝐵) Fn dom (𝐴𝐵) → (𝐴𝐵) = (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)))
119, 10syl 14 . . 3 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = (𝑥 ∈ dom (𝐴𝐵) ↦ ((𝐴𝐵)‘𝑥)))
12 imadmrn 4899 . . . . 5 ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
13 vex 2692 . . . . . . . . 9 𝑥 ∈ V
14 opexg 4158 . . . . . . . . 9 ((𝑥 ∈ V ∧ ((𝐴𝐵)‘𝑥) ∈ V) → ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩ ∈ V)
1513, 2, 14sylancr 411 . . . . . . . 8 ((Fun (𝐴𝐵) ∧ 𝑥 ∈ dom (𝐴𝐵)) → ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩ ∈ V)
1615ralrimiva 2508 . . . . . . 7 (Fun (𝐴𝐵) → ∀𝑥 ∈ dom (𝐴𝐵)⟨𝑥, ((𝐴𝐵)‘𝑥)⟩ ∈ V)
17 dmmptg 5044 . . . . . . 7 (∀𝑥 ∈ dom (𝐴𝐵)⟨𝑥, ((𝐴𝐵)‘𝑥)⟩ ∈ V → dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) = dom (𝐴𝐵))
181, 16, 173syl 17 . . . . . 6 (Fun 𝐴 → dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) = dom (𝐴𝐵))
1918imaeq2d 4889 . . . . 5 (Fun 𝐴 → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)) = ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)))
2012, 19syl5reqr 2188 . . . 4 (Fun 𝐴 → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
2120adantr 274 . . 3 ((Fun 𝐴𝐵𝐶) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) = ran (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩))
226, 11, 213eqtr4d 2183 . 2 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) = ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)))
23 funmpt 5169 . . 3 Fun (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩)
24 dmresexg 4850 . . . 4 (𝐵𝐶 → dom (𝐴𝐵) ∈ V)
2524adantl 275 . . 3 ((Fun 𝐴𝐵𝐶) → dom (𝐴𝐵) ∈ V)
26 funimaexg 5215 . . 3 ((Fun (𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) ∧ dom (𝐴𝐵) ∈ V) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) ∈ V)
2723, 25, 26sylancr 411 . 2 ((Fun 𝐴𝐵𝐶) → ((𝑥 ∈ dom (𝐴𝐵) ↦ ⟨𝑥, ((𝐴𝐵)‘𝑥)⟩) “ dom (𝐴𝐵)) ∈ V)
2822, 27eqeltrd 2217 1 ((Fun 𝐴𝐵𝐶) → (𝐴𝐵) ∈ V)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103   = wceq 1332  wcel 1481  wral 2417  Vcvv 2689  cop 3535  cmpt 3997  dom cdm 4547  ran crn 4548  cres 4549  cima 4550  Fun wfun 5125   Fn wfn 5126  cfv 5131
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-coll 4051  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-reu 2424  df-rab 2426  df-v 2691  df-sbc 2914  df-csb 3008  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-uni 3745  df-iun 3823  df-br 3938  df-opab 3998  df-mpt 3999  df-id 4223  df-xp 4553  df-rel 4554  df-cnv 4555  df-co 4556  df-dm 4557  df-rn 4558  df-res 4559  df-ima 4560  df-iota 5096  df-fun 5133  df-fn 5134  df-f 5135  df-f1 5136  df-fo 5137  df-f1o 5138  df-fv 5139
This theorem is referenced by:  fnex  5650  ofexg  5994  cofunexg  6017  rdgivallem  6286  frecex  6299  frecsuclem  6311  djudoml  7092  djudomr  7093  fihashf1rn  10567  qnnen  11980
  Copyright terms: Public domain W3C validator