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

Theorem idfu2nd 18057
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 7423 . 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 18056 . . . . 5 (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
76fveq2d 6889 . . . 4 (𝜑 → (2nd ‘𝐼) = (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩))
83fvexi 6899 . . . . . 6 𝐵 ∈ V
9 resiexg 7924 . . . . . 6 (𝐵 ∈ V → ( I ↾ 𝐵) ∈ V)
108, 9ax-mp 5 . . . . 5 ( I ↾ 𝐵) ∈ V
118, 8xpex 7767 . . . . . 6 (𝐵 × 𝐵) ∈ V
1211mptex 7229 . . . . 5 (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))) ∈ V
1310, 12op2nd 8010 . . . 4 (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))
147, 13eqtrdi 2811 . . 3 (𝜑 → (2nd ‘𝐼) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))))
15 simpr 490 . . . . . 6 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1615fveq2d 6889 . . . . 5 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
17 df-ov 7423 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
1816, 17eqtr4di 2813 . . . 4 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻‘𝑧) = (𝑋𝐻𝑌))
1918reseq2d 5969 . . 3 ((𝜑 ∧ 𝑧 = ⟨𝑋, 𝑌⟩) → ( I ↾ (𝐻‘𝑧)) = ( I ↾ (𝑋𝐻𝑌)))
20 idfu2nd.x . . . 4 (𝜑 → 𝑋 ∈ 𝐵)
21 idfu2nd.y . . . 4 (𝜑 → 𝑌 ∈ 𝐵)
2220, 21opelxpd 5689 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
23 ovex 7453 . . . 4 (𝑋𝐻𝑌) ∈ V
24 resiexg 7924 . . . 4 ((𝑋𝐻𝑌) ∈ V → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2523, 24mp1i 14 . . 3 (𝜑 → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2614, 19, 22, 25fvmptd 7001 . 2 (𝜑 → ((2nd ‘𝐼)‘⟨𝑋, 𝑌⟩) = ( I ↾ (𝑋𝐻𝑌)))
271, 26eqtrid 2807 1 (𝜑 → (𝑋(2nd ‘𝐼)𝑌) = ( I ↾ (𝑋𝐻𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   ↦ cmpt 5185   I cid 5544   × cxp 5648   ↾ cres 5652  ‘cfv 6538  (class class class)co 7420  2nd c2nd 8000  Basecbs 17392  Hom chom 17444  Catccat 17843  idfunccidfu 18035
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-2nd 8002  df-idfu 18039
This theorem is used by:  idfu2  18058  idfucl  18061  cofulid  18070  cofurid  18071  idffth  18115  ressffth  18120  catciso  18291  idfu2nda  50312  cofidf2a  50326
  Copyright terms: Public domain W3C validator