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

Theorem fssrescdmd 7126
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 6710 . . 3 (𝜑𝐹 Fn 𝐴)
3 fssrescdmd.c . . 3 (𝜑𝐶𝐴)
42, 3fnssresd 6663 . 2 (𝜑 → (𝐹𝐶) Fn 𝐶)
5 resima 6017 . . . 4 ((𝐹𝐶) “ 𝐶) = (𝐹𝐶)
6 fssrescdmd.d . . . 4 (𝜑 → (𝐹𝐶) ⊆ 𝐷)
75, 6eqsstrid 3978 . . 3 (𝜑 → ((𝐹𝐶) “ 𝐶) ⊆ 𝐷)
81ffund 6714 . . . . 5 (𝜑 → Fun 𝐹)
98funresd 6583 . . . 4 (𝜑 → Fun (𝐹𝐶))
101fdmd 6720 . . . . . . 7 (𝜑 → dom 𝐹 = 𝐴)
113, 10sseqtrrd 3977 . . . . . 6 (𝜑𝐶 ⊆ dom 𝐹)
12 ssdmres 6015 . . . . . . . 8 (𝐶 ⊆ dom 𝐹 ↔ dom (𝐹𝐶) = 𝐶)
1312a1i 11 . . . . . . 7 (𝜑 → (𝐶 ⊆ dom 𝐹 ↔ dom (𝐹𝐶) = 𝐶))
14 eqcom 2773 . . . . . . 7 (dom (𝐹𝐶) = 𝐶𝐶 = dom (𝐹𝐶))
1513, 14bitrdi 290 . . . . . 6 (𝜑 → (𝐶 ⊆ dom 𝐹𝐶 = dom (𝐹𝐶)))
1611, 15mpbid 235 . . . . 5 (𝜑𝐶 = dom (𝐹𝐶))
1716eqimssd 3996 . . . 4 (𝜑𝐶 ⊆ dom (𝐹𝐶))
18 funimass4 6949 . . . 4 ((Fun (𝐹𝐶) ∧ 𝐶 ⊆ dom (𝐹𝐶)) → (((𝐹𝐶) “ 𝐶) ⊆ 𝐷 ↔ ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷))
199, 17, 18syl2anc 596 . . 3 (𝜑 → (((𝐹𝐶) “ 𝐶) ⊆ 𝐷 ↔ ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷))
207, 19mpbid 235 . 2 (𝜑 → ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷)
21 ffnfv 7118 . 2 ((𝐹𝐶):𝐶𝐷 ↔ ((𝐹𝐶) Fn 𝐶 ∧ ∀𝑥𝐶 ((𝐹𝐶)‘𝑥) ∈ 𝐷))
224, 20, 21sylanbrc 595 1 (𝜑 → (𝐹𝐶):𝐶𝐷)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209   = wceq 1570  wcel 2146  wral 3082  wss 3908  dom cdm 5664  cres 5666  cima 5667  Fun wfun 6534   Fn wfn 6535  wf 6536  cfv 6540
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5260  ax-nul 5272  ax-pr 5407
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4491  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4876  df-br 5113  df-opab 5177  df-mpt 5196  df-id 5559  df-xp 5670  df-rel 5671  df-cnv 5672  df-co 5673  df-dm 5674  df-rn 5675  df-res 5676  df-ima 5677  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-fv 6548
This theorem is used by:  isubgruhgr  48665
  Copyright terms: Public domain W3C validator