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

Theorem catrid 16266
Description: Right identity property of an identity arrow. (Contributed by Mario Carneiro, 2-Jan-2017.)
Hypotheses
Ref Expression
catidcl.b 𝐵 = (Base‘𝐶)
catidcl.h 𝐻 = (Hom ‘𝐶)
catidcl.i 1 = (Id‘𝐶)
catidcl.c (𝜑𝐶 ∈ Cat)
catidcl.x (𝜑𝑋𝐵)
catlid.o · = (comp‘𝐶)
catlid.y (𝜑𝑌𝐵)
catlid.f (𝜑𝐹 ∈ (𝑋𝐻𝑌))
Assertion
Ref Expression
catrid (𝜑 → (𝐹(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝐹)

Proof of Theorem catrid
Dummy variables 𝑓 𝑔 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 catlid.f . 2 (𝜑𝐹 ∈ (𝑋𝐻𝑌))
2 catlid.y . . 3 (𝜑𝑌𝐵)
3 simpr 477 . . . . . . . 8 ((∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓) → ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)
43ralimi 2947 . . . . . . 7 (∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓) → ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)
54a1i 11 . . . . . 6 (𝑔 ∈ (𝑋𝐻𝑋) → (∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓) → ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓))
65ss2rabi 3663 . . . . 5 {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)} ⊆ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓}
7 catidcl.b . . . . . . 7 𝐵 = (Base‘𝐶)
8 catidcl.h . . . . . . 7 𝐻 = (Hom ‘𝐶)
9 catlid.o . . . . . . 7 · = (comp‘𝐶)
10 catidcl.c . . . . . . 7 (𝜑𝐶 ∈ Cat)
11 catidcl.i . . . . . . 7 1 = (Id‘𝐶)
12 catidcl.x . . . . . . 7 (𝜑𝑋𝐵)
137, 8, 9, 10, 11, 12cidval 16259 . . . . . 6 (𝜑 → ( 1𝑋) = (𝑔 ∈ (𝑋𝐻𝑋)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)))
147, 8, 9, 10, 12catideu 16257 . . . . . . 7 (𝜑 → ∃!𝑔 ∈ (𝑋𝐻𝑋)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓))
15 riotacl2 6578 . . . . . . 7 (∃!𝑔 ∈ (𝑋𝐻𝑋)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓) → (𝑔 ∈ (𝑋𝐻𝑋)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)) ∈ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)})
1614, 15syl 17 . . . . . 6 (𝜑 → (𝑔 ∈ (𝑋𝐻𝑋)∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)) ∈ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)})
1713, 16eqeltrd 2698 . . . . 5 (𝜑 → ( 1𝑋) ∈ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵 (∀𝑓 ∈ (𝑦𝐻𝑋)(𝑔(⟨𝑦, 𝑋· 𝑋)𝑓) = 𝑓 ∧ ∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓)})
186, 17sseldi 3581 . . . 4 (𝜑 → ( 1𝑋) ∈ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓})
19 oveq2 6612 . . . . . . . 8 (𝑔 = ( 1𝑋) → (𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = (𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)))
2019eqeq1d 2623 . . . . . . 7 (𝑔 = ( 1𝑋) → ((𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓 ↔ (𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓))
21202ralbidv 2983 . . . . . 6 (𝑔 = ( 1𝑋) → (∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓 ↔ ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓))
2221elrab 3346 . . . . 5 (( 1𝑋) ∈ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓} ↔ (( 1𝑋) ∈ (𝑋𝐻𝑋) ∧ ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓))
2322simprbi 480 . . . 4 (( 1𝑋) ∈ {𝑔 ∈ (𝑋𝐻𝑋) ∣ ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)𝑔) = 𝑓} → ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓)
2418, 23syl 17 . . 3 (𝜑 → ∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓)
25 oveq2 6612 . . . . 5 (𝑦 = 𝑌 → (𝑋𝐻𝑦) = (𝑋𝐻𝑌))
26 oveq2 6612 . . . . . . 7 (𝑦 = 𝑌 → (⟨𝑋, 𝑋· 𝑦) = (⟨𝑋, 𝑋· 𝑌))
2726oveqd 6621 . . . . . 6 (𝑦 = 𝑌 → (𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = (𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)))
2827eqeq1d 2623 . . . . 5 (𝑦 = 𝑌 → ((𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓 ↔ (𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝑓))
2925, 28raleqbidv 3141 . . . 4 (𝑦 = 𝑌 → (∀𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓 ↔ ∀𝑓 ∈ (𝑋𝐻𝑌)(𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝑓))
3029rspcv 3291 . . 3 (𝑌𝐵 → (∀𝑦𝐵𝑓 ∈ (𝑋𝐻𝑦)(𝑓(⟨𝑋, 𝑋· 𝑦)( 1𝑋)) = 𝑓 → ∀𝑓 ∈ (𝑋𝐻𝑌)(𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝑓))
312, 24, 30sylc 65 . 2 (𝜑 → ∀𝑓 ∈ (𝑋𝐻𝑌)(𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝑓)
32 oveq1 6611 . . . 4 (𝑓 = 𝐹 → (𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = (𝐹(⟨𝑋, 𝑋· 𝑌)( 1𝑋)))
33 id 22 . . . 4 (𝑓 = 𝐹𝑓 = 𝐹)
3432, 33eqeq12d 2636 . . 3 (𝑓 = 𝐹 → ((𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝑓 ↔ (𝐹(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝐹))
3534rspcv 3291 . 2 (𝐹 ∈ (𝑋𝐻𝑌) → (∀𝑓 ∈ (𝑋𝐻𝑌)(𝑓(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝑓 → (𝐹(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝐹))
361, 31, 35sylc 65 1 (𝜑 → (𝐹(⟨𝑋, 𝑋· 𝑌)( 1𝑋)) = 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384   = wceq 1480  wcel 1987  wral 2907  ∃!wreu 2909  {crab 2911  cop 4154  cfv 5847  crio 6564  (class class class)co 6604  Basecbs 15781  Hom chom 15873  compcco 15874  Catccat 16246  Idccid 16247
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-cat 16250  df-cid 16251
This theorem is referenced by:  oppccatid  16300  sectcan  16336  monsect  16364  invisoinvl  16371  rcaninv  16375  cicref  16382  subccatid  16427  fucidcl  16546  fucrid  16548  invfuc  16555  arwrid  16644  xpccatid  16749  curf2cl  16792  curfuncf  16799  uncfcurf  16800  hofcl  16820  yonedalem3b  16840
  Copyright terms: Public domain W3C validator