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

Theorem idfu2nd 17508
Description: Value of the morphism part of the identity functor. (Contributed by Mario Carneiro, 3-Jan-2017.)
Hypotheses
Ref Expression
idfuval.i 𝐼 = (idfunc𝐶)
idfuval.b 𝐵 = (Base‘𝐶)
idfuval.c (𝜑𝐶 ∈ Cat)
idfuval.h 𝐻 = (Hom ‘𝐶)
idfu2nd.x (𝜑𝑋𝐵)
idfu2nd.y (𝜑𝑌𝐵)
Assertion
Ref Expression
idfu2nd (𝜑 → (𝑋(2nd𝐼)𝑌) = ( I ↾ (𝑋𝐻𝑌)))

Proof of Theorem idfu2nd
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 df-ov 7258 . 2 (𝑋(2nd𝐼)𝑌) = ((2nd𝐼)‘⟨𝑋, 𝑌⟩)
2 idfuval.i . . . . . 6 𝐼 = (idfunc𝐶)
3 idfuval.b . . . . . 6 𝐵 = (Base‘𝐶)
4 idfuval.c . . . . . 6 (𝜑𝐶 ∈ Cat)
5 idfuval.h . . . . . 6 𝐻 = (Hom ‘𝐶)
62, 3, 4, 5idfuval 17507 . . . . 5 (𝜑𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))⟩)
76fveq2d 6760 . . . 4 (𝜑 → (2nd𝐼) = (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))⟩))
83fvexi 6770 . . . . . 6 𝐵 ∈ V
9 resiexg 7735 . . . . . 6 (𝐵 ∈ V → ( I ↾ 𝐵) ∈ V)
108, 9ax-mp 5 . . . . 5 ( I ↾ 𝐵) ∈ V
118, 8xpex 7581 . . . . . 6 (𝐵 × 𝐵) ∈ V
1211mptex 7081 . . . . 5 (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧))) ∈ V
1310, 12op2nd 7813 . . . 4 (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))⟩) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))
147, 13eqtrdi 2795 . . 3 (𝜑 → (2nd𝐼) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧))))
15 simpr 484 . . . . . 6 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1615fveq2d 6760 . . . . 5 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
17 df-ov 7258 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
1816, 17eqtr4di 2797 . . . 4 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻𝑧) = (𝑋𝐻𝑌))
1918reseq2d 5880 . . 3 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → ( I ↾ (𝐻𝑧)) = ( I ↾ (𝑋𝐻𝑌)))
20 idfu2nd.x . . . 4 (𝜑𝑋𝐵)
21 idfu2nd.y . . . 4 (𝜑𝑌𝐵)
2220, 21opelxpd 5618 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
23 ovex 7288 . . . 4 (𝑋𝐻𝑌) ∈ V
24 resiexg 7735 . . . 4 ((𝑋𝐻𝑌) ∈ V → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2523, 24mp1i 13 . . 3 (𝜑 → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2614, 19, 22, 25fvmptd 6864 . 2 (𝜑 → ((2nd𝐼)‘⟨𝑋, 𝑌⟩) = ( I ↾ (𝑋𝐻𝑌)))
271, 26eqtrid 2790 1 (𝜑 → (𝑋(2nd𝐼)𝑌) = ( I ↾ (𝑋𝐻𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  cop 4564  cmpt 5153   I cid 5479   × cxp 5578  cres 5582  cfv 6418  (class class class)co 7255  2nd c2nd 7803  Basecbs 16840  Hom chom 16899  Catccat 17290  idfunccidfu 17486
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-2nd 7805  df-idfu 17490
This theorem is referenced by:  idfu2  17509  idfucl  17512  cofulid  17521  cofurid  17522  idffth  17565  ressffth  17570  catciso  17742
  Copyright terms: Public domain W3C validator