| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > yoneda | Structured version Visualization version GIF version | ||
| Description: The Yoneda Lemma. There is a natural isomorphism between the functors 𝑍 and 𝐸, where 𝑍(𝐹, 𝑋) is the natural transformations from Yon(𝑋) = Hom ( − , 𝑋) to 𝐹, and 𝐸(𝐹, 𝑋) = 𝐹(𝑋) is the evaluation functor. Here we need two universes to state the claim: the smaller universe 𝑈 is used for forming the functor category 𝑄 = 𝐶 op → SetCat(𝑈), which itself does not (necessarily) live in 𝑈 but instead is an element of the larger universe 𝑉. (If 𝑈 is a Grothendieck universe, then it will be closed under this "presheaf" operation, and so we can set 𝑈 = 𝑉 in this case.) (Contributed by Mario Carneiro, 29-Jan-2017.) |
| Ref | Expression |
|---|---|
| yoneda.y | ⊢ 𝑌 = (Yon‘𝐶) |
| yoneda.b | ⊢ 𝐵 = (Base‘𝐶) |
| yoneda.1 | ⊢ 1 = (Id‘𝐶) |
| yoneda.o | ⊢ 𝑂 = (oppCat‘𝐶) |
| yoneda.s | ⊢ 𝑆 = (SetCat‘𝑈) |
| yoneda.t | ⊢ 𝑇 = (SetCat‘𝑉) |
| yoneda.q | ⊢ 𝑄 = (𝑂 FuncCat 𝑆) |
| yoneda.h | ⊢ 𝐻 = (HomF‘𝑄) |
| yoneda.r | ⊢ 𝑅 = ((𝑄 ×c 𝑂) FuncCat 𝑇) |
| yoneda.e | ⊢ 𝐸 = (𝑂 evalF 𝑆) |
| yoneda.z | ⊢ 𝑍 = (𝐻 ∘func ((〈(1st ‘𝑌), tpos (2nd ‘𝑌)〉 ∘func (𝑄 2ndF 𝑂)) 〈,〉F (𝑄 1stF 𝑂))) |
| yoneda.c | ⊢ (𝜑 → 𝐶 ∈ Cat) |
| yoneda.w | ⊢ (𝜑 → 𝑉 ∈ 𝑊) |
| yoneda.u | ⊢ (𝜑 → ran (Homf ‘𝐶) ⊆ 𝑈) |
| yoneda.v | ⊢ (𝜑 → (ran (Homf ‘𝑄) ∪ 𝑈) ⊆ 𝑉) |
| yoneda.m | ⊢ 𝑀 = (𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑎 ∈ (((1st ‘𝑌)‘𝑥)(𝑂 Nat 𝑆)𝑓) ↦ ((𝑎‘𝑥)‘( 1 ‘𝑥)))) |
| yoneda.i | ⊢ 𝐼 = (Iso‘𝑅) |
| Ref | Expression |
|---|---|
| yoneda | ⊢ (𝜑 → 𝑀 ∈ (𝑍𝐼𝐸)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | yoneda.r | . . 3 ⊢ 𝑅 = ((𝑄 ×c 𝑂) FuncCat 𝑇) | |
| 2 | 1 | fucbas 17889 | . 2 ⊢ ((𝑄 ×c 𝑂) Func 𝑇) = (Base‘𝑅) |
| 3 | eqid 2735 | . 2 ⊢ (Inv‘𝑅) = (Inv‘𝑅) | |
| 4 | yoneda.y | . . . . . . 7 ⊢ 𝑌 = (Yon‘𝐶) | |
| 5 | yoneda.b | . . . . . . 7 ⊢ 𝐵 = (Base‘𝐶) | |
| 6 | yoneda.1 | . . . . . . 7 ⊢ 1 = (Id‘𝐶) | |
| 7 | yoneda.o | . . . . . . 7 ⊢ 𝑂 = (oppCat‘𝐶) | |
| 8 | yoneda.s | . . . . . . 7 ⊢ 𝑆 = (SetCat‘𝑈) | |
| 9 | yoneda.t | . . . . . . 7 ⊢ 𝑇 = (SetCat‘𝑉) | |
| 10 | yoneda.q | . . . . . . 7 ⊢ 𝑄 = (𝑂 FuncCat 𝑆) | |
| 11 | yoneda.h | . . . . . . 7 ⊢ 𝐻 = (HomF‘𝑄) | |
| 12 | yoneda.e | . . . . . . 7 ⊢ 𝐸 = (𝑂 evalF 𝑆) | |
| 13 | yoneda.z | . . . . . . 7 ⊢ 𝑍 = (𝐻 ∘func ((〈(1st ‘𝑌), tpos (2nd ‘𝑌)〉 ∘func (𝑄 2ndF 𝑂)) 〈,〉F (𝑄 1stF 𝑂))) | |
| 14 | yoneda.c | . . . . . . 7 ⊢ (𝜑 → 𝐶 ∈ Cat) | |
| 15 | yoneda.w | . . . . . . 7 ⊢ (𝜑 → 𝑉 ∈ 𝑊) | |
| 16 | yoneda.u | . . . . . . 7 ⊢ (𝜑 → ran (Homf ‘𝐶) ⊆ 𝑈) | |
| 17 | yoneda.v | . . . . . . 7 ⊢ (𝜑 → (ran (Homf ‘𝑄) ∪ 𝑈) ⊆ 𝑉) | |
| 18 | 4, 5, 6, 7, 8, 9, 10, 11, 1, 12, 13, 14, 15, 16, 17 | yonedalem1 18197 | . . . . . 6 ⊢ (𝜑 → (𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇) ∧ 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇))) |
| 19 | 18 | simpld 494 | . . . . 5 ⊢ (𝜑 → 𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇)) |
| 20 | funcrcl 17789 | . . . . 5 ⊢ (𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇) → ((𝑄 ×c 𝑂) ∈ Cat ∧ 𝑇 ∈ Cat)) | |
| 21 | 19, 20 | syl 17 | . . . 4 ⊢ (𝜑 → ((𝑄 ×c 𝑂) ∈ Cat ∧ 𝑇 ∈ Cat)) |
| 22 | 21 | simpld 494 | . . 3 ⊢ (𝜑 → (𝑄 ×c 𝑂) ∈ Cat) |
| 23 | 21 | simprd 495 | . . 3 ⊢ (𝜑 → 𝑇 ∈ Cat) |
| 24 | 1, 22, 23 | fuccat 17899 | . 2 ⊢ (𝜑 → 𝑅 ∈ Cat) |
| 25 | 18 | simprd 495 | . 2 ⊢ (𝜑 → 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇)) |
| 26 | yoneda.i | . 2 ⊢ 𝐼 = (Iso‘𝑅) | |
| 27 | yoneda.m | . . 3 ⊢ 𝑀 = (𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑎 ∈ (((1st ‘𝑌)‘𝑥)(𝑂 Nat 𝑆)𝑓) ↦ ((𝑎‘𝑥)‘( 1 ‘𝑥)))) | |
| 28 | eqid 2735 | . . 3 ⊢ (𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑢 ∈ ((1st ‘𝑓)‘𝑥) ↦ (𝑦 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑥) ↦ (((𝑥(2nd ‘𝑓)𝑦)‘𝑔)‘𝑢))))) = (𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑢 ∈ ((1st ‘𝑓)‘𝑥) ↦ (𝑦 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑥) ↦ (((𝑥(2nd ‘𝑓)𝑦)‘𝑔)‘𝑢))))) | |
| 29 | 4, 5, 6, 7, 8, 9, 10, 11, 1, 12, 13, 14, 15, 16, 17, 27, 3, 28 | yonedainv 18206 | . 2 ⊢ (𝜑 → 𝑀(𝑍(Inv‘𝑅)𝐸)(𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑢 ∈ ((1st ‘𝑓)‘𝑥) ↦ (𝑦 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑥) ↦ (((𝑥(2nd ‘𝑓)𝑦)‘𝑔)‘𝑢)))))) |
| 30 | 2, 3, 24, 19, 25, 26, 29 | inviso1 17692 | 1 ⊢ (𝜑 → 𝑀 ∈ (𝑍𝐼𝐸)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1542 ∈ wcel 2114 ∪ cun 3898 ⊆ wss 3900 〈cop 4585 ↦ cmpt 5178 ran crn 5624 ‘cfv 6491 (class class class)co 7358 ∈ cmpo 7360 1st c1st 7931 2nd c2nd 7932 tpos ctpos 8167 Basecbs 17138 Hom chom 17190 Catccat 17589 Idccid 17590 Homf chomf 17591 oppCatcoppc 17636 Invcinv 17671 Isociso 17672 Func cfunc 17780 ∘func ccofu 17782 Nat cnat 17870 FuncCat cfuc 17871 SetCatcsetc 18001 ×c cxpc 18093 1stF c1stf 18094 2ndF c2ndf 18095 〈,〉F cprf 18096 evalF cevlf 18134 HomFchof 18173 Yoncyon 18174 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2183 ax-ext 2707 ax-rep 5223 ax-sep 5240 ax-nul 5250 ax-pow 5309 ax-pr 5376 ax-un 7680 ax-cnex 11084 ax-resscn 11085 ax-1cn 11086 ax-icn 11087 ax-addcl 11088 ax-addrcl 11089 ax-mulcl 11090 ax-mulrcl 11091 ax-mulcom 11092 ax-addass 11093 ax-mulass 11094 ax-distr 11095 ax-i2m1 11096 ax-1ne0 11097 ax-1rid 11098 ax-rnegex 11099 ax-rrecex 11100 ax-cnre 11101 ax-pre-lttri 11102 ax-pre-lttrn 11103 ax-pre-ltadd 11104 ax-pre-mulgt0 11105 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3or 1088 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2538 df-eu 2568 df-clab 2714 df-cleq 2727 df-clel 2810 df-nfc 2884 df-ne 2932 df-nel 3036 df-ral 3051 df-rex 3060 df-rmo 3349 df-reu 3350 df-rab 3399 df-v 3441 df-sbc 3740 df-csb 3849 df-dif 3903 df-un 3905 df-in 3907 df-ss 3917 df-pss 3920 df-nul 4285 df-if 4479 df-pw 4555 df-sn 4580 df-pr 4582 df-tp 4584 df-op 4586 df-uni 4863 df-iun 4947 df-br 5098 df-opab 5160 df-mpt 5179 df-tr 5205 df-id 5518 df-eprel 5523 df-po 5531 df-so 5532 df-fr 5576 df-we 5578 df-xp 5629 df-rel 5630 df-cnv 5631 df-co 5632 df-dm 5633 df-rn 5634 df-res 5635 df-ima 5636 df-pred 6258 df-ord 6319 df-on 6320 df-lim 6321 df-suc 6322 df-iota 6447 df-fun 6493 df-fn 6494 df-f 6495 df-f1 6496 df-fo 6497 df-f1o 6498 df-fv 6499 df-riota 7315 df-ov 7361 df-oprab 7362 df-mpo 7363 df-om 7809 df-1st 7933 df-2nd 7934 df-tpos 8168 df-frecs 8223 df-wrecs 8254 df-recs 8303 df-rdg 8341 df-1o 8397 df-er 8635 df-map 8767 df-pm 8768 df-ixp 8838 df-en 8886 df-dom 8887 df-sdom 8888 df-fin 8889 df-pnf 11170 df-mnf 11171 df-xr 11172 df-ltxr 11173 df-le 11174 df-sub 11368 df-neg 11369 df-nn 12148 df-2 12210 df-3 12211 df-4 12212 df-5 12213 df-6 12214 df-7 12215 df-8 12216 df-9 12217 df-n0 12404 df-z 12491 df-dec 12610 df-uz 12754 df-fz 13426 df-struct 17076 df-sets 17093 df-slot 17111 df-ndx 17123 df-base 17139 df-ress 17160 df-hom 17203 df-cco 17204 df-cat 17593 df-cid 17594 df-homf 17595 df-comf 17596 df-oppc 17637 df-sect 17673 df-inv 17674 df-iso 17675 df-ssc 17736 df-resc 17737 df-subc 17738 df-func 17784 df-cofu 17786 df-nat 17872 df-fuc 17873 df-setc 18002 df-xpc 18097 df-1stf 18098 df-2ndf 18099 df-prf 18100 df-evlf 18138 df-curf 18139 df-hof 18175 df-yon 18176 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |