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

Theorem idfuval 18129
Description: Value 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 ‘𝐶)
Assertion
Ref Expression
idfuval (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
Distinct variable groups:   𝑧,𝐵   𝑧,𝐶   𝑧,𝐻   𝜑,𝑧
Allowed substitution hint:   𝐼(𝑧)

Proof of Theorem idfuval
Dummy variables 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 idfuval.i . 2 𝐼 = (idfunc‘𝐶)
2 idfuval.c . . 3 (𝜑 → 𝐶 ∈ Cat)
3 fvexd 6949 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) ∈ V)
4 fveq2 6934 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
5 idfuval.b . . . . . 6 𝐵 = (Base‘𝐶)
64, 5eqtr4di 2827 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
7 simpr 490 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
87reseq2d 5994 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ( I ↾ 𝑏) = ( I ↾ 𝐵))
97sqxpeqd 5698 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (𝑏 × 𝑏) = (𝐵 × 𝐵))
10 simpl 488 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → 𝑐 = 𝐶)
1110fveq2d 6938 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = (Hom ‘𝐶))
12 idfuval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝐶)
1311, 12eqtr4di 2827 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = 𝐻)
1413fveq1d 6936 . . . . . . . 8 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ((Hom ‘𝑐)‘𝑧) = (𝐻‘𝑧))
1514reseq2d 5994 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ( I ↾ ((Hom ‘𝑐)‘𝑧)) = ( I ↾ (𝐻‘𝑧)))
169, 15mpteq12dv 5206 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧))) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))))
178, 16opeq12d 4861 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩ = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
183, 6, 17csbied2 3895 . . . 4 (𝑐 = 𝐶 → ⦋(Base‘𝑐) / 𝑏⦌⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩ = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
19 df-idfu 18112 . . . 4 idfunc = (𝑐 ∈ Cat ↦ ⦋(Base‘𝑐) / 𝑏⦌⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩)
20 opex 5447 . . . 4 ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩ ∈ V
2118, 19, 20fvmpt 7042 . . 3 (𝐶 ∈ Cat → (idfunc‘𝐶) = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
222, 21syl 18 . 2 (𝜑 → (idfunc‘𝐶) = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
231, 22eqtrid 2821 1 (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ⦋csb 3858  ⟨cop 4848   ↦ cmpt 5200   I cid 5560   × cxp 5664   ↾ cres 5668  ‘cfv 6579  Basecbs 17455  Hom chom 17507  Catccat 17916  idfunccidfu 18108
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
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 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-res 5678  df-iota 6533  df-fun 6581  df-fv 6587  df-idfu 18112
This theorem is used by:  idfu2nd  18130  idfu1st  18132  idfucl  18134  idfusubc0  18152  catcisolem  18363  curf2ndf  18499  cofidvala  50748  cofidval  50751  idfudiag1bas  51175  idfudiag1  51176
  Copyright terms: Public domain W3C validator