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

Theorem idfuval 18101
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 6931 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) ∈ V)
4 fveq2 6916 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
5 idfuval.b . . . . . 6 𝐵 = (Base‘𝐶)
64, 5eqtr4di 2816 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
7 simpr 490 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
87reseq2d 5986 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ( I ↾ 𝑏) = ( I ↾ 𝐵))
97sqxpeqd 5690 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (𝑏 × 𝑏) = (𝐵 × 𝐵))
10 simpl 488 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → 𝑐 = 𝐶)
1110fveq2d 6920 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = (Hom ‘𝐶))
12 idfuval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝐶)
1311, 12eqtr4di 2816 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = 𝐻)
1413fveq1d 6918 . . . . . . . 8 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ((Hom ‘𝑐)‘𝑧) = (𝐻‘𝑧))
1514reseq2d 5986 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ( I ↾ ((Hom ‘𝑐)‘𝑧)) = ( I ↾ (𝐻‘𝑧)))
169, 15mpteq12dv 5198 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧))) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))))
178, 16opeq12d 4853 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩ = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
183, 6, 17csbied2 3888 . . . 4 (𝑐 = 𝐶 → ⦋(Base‘𝑐) / 𝑏⦌⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩ = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
19 df-idfu 18084 . . . 4 idfunc = (𝑐 ∈ Cat ↦ ⦋(Base‘𝑐) / 𝑏⦌⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩)
20 opex 5439 . . . 4 ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩ ∈ V
2118, 19, 20fvmpt 7024 . . 3 (𝐶 ∈ Cat → (idfunc‘𝐶) = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
222, 21syl 18 . 2 (𝜑 → (idfunc‘𝐶) = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
231, 22eqtrid 2810 1 (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⦋csb 3851  ⟨cop 4840   ↦ cmpt 5192   I cid 5552   × cxp 5656   ↾ cres 5660  ‘cfv 6566  Basecbs 17431  Hom chom 17483  Catccat 17888  idfunccidfu 18080
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-sep 5255  ax-nul 5266  ax-pr 5398
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-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-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-res 5670  df-iota 6520  df-fun 6568  df-fv 6574  df-idfu 18084
This theorem is used by:  idfu2nd  18102  idfu1st  18104  idfucl  18106  idfusubc0  18124  catcisolem  18335  curf2ndf  18471  cofidvala  50563  cofidval  50566  idfudiag1bas  50990  idfudiag1  50991
  Copyright terms: Public domain W3C validator