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

Theorem idfu2nd 18122
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 7465 . 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 18121 . . . . 5 (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
76fveq2d 6930 . . . 4 (𝜑 → (2nd ‘𝐼) = (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩))
83fvexi 6940 . . . . . 6 𝐵 ∈ V
9 resiexg 7969 . . . . . 6 (𝐵 ∈ V → ( I ↾ 𝐵) ∈ V)
108, 9ax-mp 5 . . . . 5 ( I ↾ 𝐵) ∈ V
118, 8xpex 7810 . . . . . 6 (𝐵 × 𝐵) ∈ V
1211mptex 7270 . . . . 5 (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))) ∈ V
1310, 12op2nd 8055 . . . 4 (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))
147, 13eqtrdi 2820 . . 3 (𝜑 → (2nd ‘𝐼) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))))
15 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1615fveq2d 6930 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
17 df-ov 7465 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
1816, 17eqtr4di 2822 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
1918reseq2d 5989 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ( I ↾ (𝐻‘𝑧)) = ( I ↾ (𝑋𝐻𝑌)))
20 idfu2nd.x . . . 4 (𝜑 → 𝑋 ∈ 𝐵)
21 idfu2nd.y . . . 4 (𝜑 → 𝑌 ∈ 𝐵)
2220, 21opelxpd 5700 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
23 ovex 7495 . . . 4 (𝑋𝐻𝑌) ∈ V
24 resiexg 7969 . . . 4 ((𝑋𝐻𝑌) ∈ V → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2523, 24mp1i 14 . . 3 (𝜑 → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2614, 19, 22, 25fvmptd 7042 . 2 (𝜑 → ((2nd ‘𝐼)‘⟨𝑋, 𝑌⟩) = ( I ↾ (𝑋𝐻𝑌)))
271, 26eqtrid 2816 1 (𝜑 → (𝑋(2nd ‘𝐼)𝑌) = ( I ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456  ⟨cop 4843   ↦ cmpt 5195   I cid 5555   × cxp 5659   ↾ cres 5663  ‘cfv 6573  (class class class)co 7462  2nd c2nd 8045  Basecbs 17447  Hom chom 17499  Catccat 17908  idfunccidfu 18100
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-2nd 8047  df-idfu 18104
This theorem is used by:  idfu2  18123  idfucl  18126  cofulid  18135  cofurid  18136  idffth  18180  ressffth  18185  catciso  18356  idfu2nda  50678  cofidf2a  50692
  Copyright terms: Public domain W3C validator