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

Theorem fssrescdmd 7121
Description: Restriction of a function to a subclass of its domain as a function with domain and codomain. (Contributed by AV, 13-May-2025.)
Hypotheses
Ref Expression
fssrescdmd.f (𝜑𝐹:𝐴𝐵)
fssrescdmd.c (𝜑𝐶𝐴)
fssrescdmd.d (𝜑 → (𝐹𝐶) ⊆ 𝐷)
Assertion
Ref Expression
fssrescdmd (𝜑 → (𝐹𝐶):𝐶𝐷)

Proof of Theorem fssrescdmd
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 fssrescdmd.f . . . 4 (𝜑𝐹:𝐴𝐵)
21ffnd 6712 . . 3 (𝜑𝐹 Fn 𝐴)
3 fssrescdmd.c . . 3 (𝜑𝐶𝐴)
42, 3fnssresd 6667 . 2 (𝜑 → (𝐹𝐶) Fn 𝐶)
5 resima 6007 . . . 4 ((𝐹𝐶) “ 𝐶) = (𝐹𝐶)
6 fssrescdmd.d . . . 4 (𝜑 → (𝐹𝐶) ⊆ 𝐷)
75, 6eqsstrid 4002 . . 3 (𝜑 → ((𝐹𝐶) “ 𝐶) ⊆ 𝐷)
81ffund 6715 . . . . 5 (𝜑 → Fun 𝐹)
98funresd 6584 . . . 4 (𝜑 → Fun (𝐹𝐶))
101fdmd 6721 . . . . . . 7 (𝜑 → dom 𝐹 = 𝐴)
113, 10sseqtrrd 4001 . . . . . 6 (𝜑𝐶 ⊆ dom 𝐹)
12 ssdmres 6005 . . . . . . . 8 (𝐶 ⊆ dom 𝐹 ↔ dom (𝐹𝐶) = 𝐶)
1312a1i 11 . . . . . . 7 (𝜑 → (𝐶 ⊆ dom 𝐹 ↔ dom (𝐹𝐶) = 𝐶))
14 eqcom 2743 . . . . . . 7 (dom (𝐹𝐶) = 𝐶𝐶 = dom (𝐹𝐶))
1513, 14bitrdi 287 . . . . . 6 (𝜑 → (𝐶 ⊆ dom 𝐹𝐶 = dom (𝐹𝐶)))
1611, 15mpbid 232 . . . . 5 (𝜑𝐶 = dom (𝐹𝐶))
1716eqimssd 4020 . . . 4 (𝜑𝐶 ⊆ dom (𝐹𝐶))
18 funimass4 6948 . . . 4 ((Fun (𝐹𝐶) ∧ 𝐶 ⊆ dom (𝐹𝐶)) → (((𝐹𝐶) “ 𝐶) ⊆ 𝐷 ↔ ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷))
199, 17, 18syl2anc 584 . . 3 (𝜑 → (((𝐹𝐶) “ 𝐶) ⊆ 𝐷 ↔ ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷))
207, 19mpbid 232 . 2 (𝜑 → ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷)
21 ffnfv 7114 . 2 ((𝐹𝐶):𝐶𝐷 ↔ ((𝐹𝐶) Fn 𝐶 ∧ ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷))
224, 20, 21sylanbrc 583 1 (𝜑 → (𝐹𝐶):𝐶𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206   = wceq 1540  wcel 2109  wral 3052  wss 3931  dom cdm 5659  cres 5661  cima 5662  Fun wfun 6530   Fn wfn 6531  wf 6532  cfv 6536
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2708  ax-sep 5271  ax-nul 5281  ax-pr 5407
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2810  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3062  df-rab 3421  df-v 3466  df-dif 3934  df-un 3936  df-in 3938  df-ss 3948  df-nul 4314  df-if 4506  df-sn 4607  df-pr 4609  df-op 4613  df-uni 4889  df-br 5125  df-opab 5187  df-mpt 5207  df-id 5553  df-xp 5665  df-rel 5666  df-cnv 5667  df-co 5668  df-dm 5669  df-rn 5670  df-res 5671  df-ima 5672  df-iota 6489  df-fun 6538  df-fn 6539  df-f 6540  df-fv 6544
This theorem is referenced by:  isubgruhgr  47861
  Copyright terms: Public domain W3C validator