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

Theorem idfuval 18044
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 6898 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) ∈ V)
4 fveq2 6883 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
5 idfuval.b . . . . . 6 𝐵 = (Base‘𝐶)
64, 5eqtr4di 2814 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
7 simpr 490 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵)
87reseq2d 5970 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ( I ↾ 𝑏) = ( I ↾ 𝐵))
97sqxpeqd 5683 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (𝑏 × 𝑏) = (𝐵 × 𝐵))
10 simpl 488 . . . . . . . . . . 11 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → 𝑐 = 𝐶)
1110fveq2d 6887 . . . . . . . . . 10 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = (Hom ‘𝐶))
12 idfuval.h . . . . . . . . . 10 𝐻 = (Hom ‘𝐶)
1311, 12eqtr4di 2814 . . . . . . . . 9 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = 𝐻)
1413fveq1d 6885 . . . . . . . 8 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ((Hom ‘𝑐)‘𝑧) = (𝐻‘𝑧))
1514reseq2d 5970 . . . . . . 7 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ( I ↾ ((Hom ‘𝑐)‘𝑧)) = ( I ↾ (𝐻‘𝑧)))
169, 15mpteq12dv 5192 . . . . . 6 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧))) = (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧))))
178, 16opeq12d 4841 . . . . 5 ((𝑐 = 𝐶 ∧ 𝑏 = 𝐵) → ⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩ = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
183, 6, 17csbied2 3884 . . . 4 (𝑐 = 𝐶 → ⦋(Base‘𝑐) / 𝑏⦌⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩ = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
19 df-idfu 18027 . . . 4 idfunc = (𝑐 ∈ Cat ↦ ⦋(Base‘𝑐) / 𝑏⦌⟨( I ↾ 𝑏), (𝑧 ∈ (𝑏 × 𝑏) ↦ ( I ↾ ((Hom ‘𝑐)‘𝑧)))⟩)
20 opex 5432 . . . 4 ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩ ∈ V
2118, 19, 20fvmpt 6991 . . 3 (𝐶 ∈ Cat → (idfunc‘𝐶) = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
222, 21syl 18 . 2 (𝜑 → (idfunc‘𝐶) = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
231, 22eqtrid 2808 1 (𝜑 → 𝐼 = ⟨( I ↾ 𝐵), (𝑧 ∈ (𝐵 × 𝐵) ↦ ( I ↾ (𝐻‘𝑧)))⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⦋csb 3847  ⟨cop 4590   ↦ cmpt 5186   I cid 5545   × cxp 5649   ↾ cres 5653  ‘cfv 6537  Basecbs 17380  Hom chom 17432  Catccat 17831  idfunccidfu 18023
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-res 5663  df-iota 6493  df-fun 6539  df-fv 6545  df-idfu 18027
This theorem is used by:  idfu2nd  18045  idfu1st  18047  idfucl  18049  idfusubc0  18067  catcisolem  18278  curf2ndf  18414  cofidvala  50193  cofidval  50196  idfudiag1bas  50601  idfudiag1  50602
  Copyright terms: Public domain W3C validator