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

Theorem idfu2nd 18084
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 7449 . 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 18083 . . . . 5 (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
76fveq2d 6915 . . . 4 (𝜑 → (2nd ‘𝐼) = (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩))
83fvexi 6925 . . . . . 6 𝐵 ∈ V
9 resiexg 7951 . . . . . 6 (𝐵 ∈ V → ( I ↾ 𝐵) ∈ V)
108, 9ax-mp 5 . . . . 5 ( I ↾ 𝐵) ∈ V
118, 8xpex 7794 . . . . . 6 (𝐵 × 𝐵) ∈ V
1211mptex 7255 . . . . 5 (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))) ∈ V
1310, 12op2nd 8037 . . . 4 (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))
147, 13eqtrdi 2814 . . 3 (𝜑 → (2nd ‘𝐼) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))))
15 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1615fveq2d 6915 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
17 df-ov 7449 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
1816, 17eqtr4di 2816 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
1918reseq2d 5982 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ( I ↾ (𝐻‘𝑧)) = ( I ↾ (𝑋𝐻𝑌)))
20 idfu2nd.x . . . 4 (𝜑 → 𝑋 ∈ 𝐵)
21 idfu2nd.y . . . 4 (𝜑 → 𝑌 ∈ 𝐵)
2220, 21opelxpd 5695 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
23 ovex 7479 . . . 4 (𝑋𝐻𝑌) ∈ V
24 resiexg 7951 . . . 4 ((𝑋𝐻𝑌) ∈ V → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2523, 24mp1i 14 . . 3 (𝜑 → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2614, 19, 22, 25fvmptd 7027 . 2 (𝜑 → ((2nd ‘𝐼)‘⟨𝑋, 𝑌⟩) = ( I ↾ (𝑋𝐻𝑌)))
271, 26eqtrid 2810 1 (𝜑 → (𝑋(2nd ‘𝐼)𝑌) = ( I ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⟨cop 4838   ↦ cmpt 5190   I cid 5550   × cxp 5654   ↾ cres 5658  ‘cfv 6561  (class class class)co 7446  2nd c2nd 8027  Basecbs 17419  Hom chom 17471  Catccat 17870  idfunccidfu 18062
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-2nd 8029  df-idfu 18066
This theorem is used by:  idfu2  18085  idfucl  18088  cofulid  18097  cofurid  18098  idffth  18142  ressffth  18147  catciso  18318  idfu2nda  50434  cofidf2a  50448
  Copyright terms: Public domain W3C validator