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

Theorem idafval 16707
Description: Value of the identity arrow function. (Contributed by Mario Carneiro, 11-Jan-2017.)
Hypotheses
Ref Expression
idafval.i 𝐼 = (Ida𝐶)
idafval.b 𝐵 = (Base‘𝐶)
idafval.c (𝜑𝐶 ∈ Cat)
idafval.1 1 = (Id‘𝐶)
Assertion
Ref Expression
idafval (𝜑𝐼 = (𝑥𝐵 ↦ ⟨𝑥, 𝑥, ( 1𝑥)⟩))
Distinct variable groups:   𝑥, 1   𝑥,𝐵   𝑥,𝐶   𝑥,𝐼   𝜑,𝑥

Proof of Theorem idafval
Dummy variable 𝑐 is distinct from all other variables.
StepHypRef Expression
1 idafval.i . 2 𝐼 = (Ida𝐶)
2 idafval.c . . 3 (𝜑𝐶 ∈ Cat)
3 fveq2 6191 . . . . . 6 (𝑐 = 𝐶 → (Base‘𝑐) = (Base‘𝐶))
4 idafval.b . . . . . 6 𝐵 = (Base‘𝐶)
53, 4syl6eqr 2674 . . . . 5 (𝑐 = 𝐶 → (Base‘𝑐) = 𝐵)
6 fveq2 6191 . . . . . . . 8 (𝑐 = 𝐶 → (Id‘𝑐) = (Id‘𝐶))
7 idafval.1 . . . . . . . 8 1 = (Id‘𝐶)
86, 7syl6eqr 2674 . . . . . . 7 (𝑐 = 𝐶 → (Id‘𝑐) = 1 )
98fveq1d 6193 . . . . . 6 (𝑐 = 𝐶 → ((Id‘𝑐)‘𝑥) = ( 1𝑥))
109oteq3d 4416 . . . . 5 (𝑐 = 𝐶 → ⟨𝑥, 𝑥, ((Id‘𝑐)‘𝑥)⟩ = ⟨𝑥, 𝑥, ( 1𝑥)⟩)
115, 10mpteq12dv 4733 . . . 4 (𝑐 = 𝐶 → (𝑥 ∈ (Base‘𝑐) ↦ ⟨𝑥, 𝑥, ((Id‘𝑐)‘𝑥)⟩) = (𝑥𝐵 ↦ ⟨𝑥, 𝑥, ( 1𝑥)⟩))
12 df-ida 16705 . . . 4 Ida = (𝑐 ∈ Cat ↦ (𝑥 ∈ (Base‘𝑐) ↦ ⟨𝑥, 𝑥, ((Id‘𝑐)‘𝑥)⟩))
13 fvex 6201 . . . . . 6 (Base‘𝐶) ∈ V
144, 13eqeltri 2697 . . . . 5 𝐵 ∈ V
1514mptex 6486 . . . 4 (𝑥𝐵 ↦ ⟨𝑥, 𝑥, ( 1𝑥)⟩) ∈ V
1611, 12, 15fvmpt 6282 . . 3 (𝐶 ∈ Cat → (Ida𝐶) = (𝑥𝐵 ↦ ⟨𝑥, 𝑥, ( 1𝑥)⟩))
172, 16syl 17 . 2 (𝜑 → (Ida𝐶) = (𝑥𝐵 ↦ ⟨𝑥, 𝑥, ( 1𝑥)⟩))
181, 17syl5eq 2668 1 (𝜑𝐼 = (𝑥𝐵 ↦ ⟨𝑥, 𝑥, ( 1𝑥)⟩))
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1483  wcel 1990  Vcvv 3200  cotp 4185  cmpt 4729  cfv 5888  Basecbs 15857  Catccat 16325  Idccid 16326  Idacida 16703
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-ot 4186  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-ida 16705
This theorem is referenced by:  idaval  16708  idaf  16713
  Copyright terms: Public domain W3C validator