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

Theorem idfu2nd 17135
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 7148 . 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 17134 . . . . 5 (𝜑𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))⟩)
76fveq2d 6667 . . . 4 (𝜑 → (2nd𝐼) = (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))⟩))
83fvexi 6677 . . . . . 6 𝐵 ∈ V
9 resiexg 7608 . . . . . 6 (𝐵 ∈ V → ( I ↾ 𝐵) ∈ V)
108, 9ax-mp 5 . . . . 5 ( I ↾ 𝐵) ∈ V
118, 8xpex 7465 . . . . . 6 (𝐵 × 𝐵) ∈ V
1211mptex 6977 . . . . 5 (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧))) ∈ V
1310, 12op2nd 7687 . . . 4 (2nd ‘⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))⟩) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧)))
147, 13syl6eq 2869 . . 3 (𝜑 → (2nd𝐼) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻𝑧))))
15 simpr 485 . . . . . 6 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → 𝑧 = ⟨𝑋, 𝑌⟩)
1615fveq2d 6667 . . . . 5 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻𝑧) = (𝐻‘⟨𝑋, 𝑌⟩))
17 df-ov 7148 . . . . 5 (𝑋𝐻𝑌) = (𝐻‘⟨𝑋, 𝑌⟩)
1816, 17syl6eqr 2871 . . . 4 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → (𝐻𝑧) = (𝑋𝐻𝑌))
1918reseq2d 5846 . . 3 ((𝜑𝑧 = ⟨𝑋, 𝑌⟩) → ( I ↾ (𝐻𝑧)) = ( I ↾ (𝑋𝐻𝑌)))
20 idfu2nd.x . . . 4 (𝜑𝑋𝐵)
21 idfu2nd.y . . . 4 (𝜑𝑌𝐵)
2220, 21opelxpd 5586 . . 3 (𝜑 → ⟨𝑋, 𝑌⟩ ∈ (𝐵 × 𝐵))
23 ovex 7178 . . . 4 (𝑋𝐻𝑌) ∈ V
24 resiexg 7608 . . . 4 ((𝑋𝐻𝑌) ∈ V → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2523, 24mp1i 13 . . 3 (𝜑 → ( I ↾ (𝑋𝐻𝑌)) ∈ V)
2614, 19, 22, 25fvmptd 6767 . 2 (𝜑 → ((2nd𝐼)‘⟨𝑋, 𝑌⟩) = ( I ↾ (𝑋𝐻𝑌)))
271, 26syl5eq 2865 1 (𝜑 → (𝑋(2nd𝐼)𝑌) = ( I ↾ (𝑋𝐻𝑌)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1528  wcel 2105  Vcvv 3492  cop 4563  cmpt 5137   I cid 5452   × cxp 5546  cres 5550  cfv 6348  (class class class)co 7145  2nd c2nd 7677  Basecbs 16471  Hom chom 16564  Catccat 16923  idfunccidfu 17113
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7450
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-reu 3142  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-pw 4537  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7148  df-2nd 7679  df-idfu 17117
This theorem is referenced by:  idfu2  17136  idfucl  17139  cofulid  17148  cofurid  17149  idffth  17191  ressffth  17196  catciso  17355
  Copyright terms: Public domain W3C validator