| 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 17870 | . 2 ⊢ ((𝑄 ×c 𝑂) Func 𝑇) = (Base‘𝑅) |
| 3 | eqid 2729 | . 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 18178 | . . . . . 6 ⊢ (𝜑 → (𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇) ∧ 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇))) |
| 19 | 18 | simpld 494 | . . . . 5 ⊢ (𝜑 → 𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇)) |
| 20 | funcrcl 17770 | . . . . 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 17880 | . 2 ⊢ (𝜑 → 𝑅 ∈ Cat) |
| 25 | 18 | simprd 495 | . 2 ⊢ (𝜑 → 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇)) |
| 26 | yoneda.i | . 2 ⊢ 𝐼 = (Iso‘𝑅) | |
| 27 | yoneda.m | . . 3 ⊢ 𝑀 = (𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑎 ∈ (((1st ‘𝑌)‘𝑥)(𝑂 Nat 𝑆)𝑓) ↦ ((𝑎‘𝑥)‘( 1 ‘𝑥)))) | |
| 28 | eqid 2729 | . . 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 18187 | . 2 ⊢ (𝜑 → 𝑀(𝑍(Inv‘𝑅)𝐸)(𝑓 ∈ (𝑂 Func 𝑆), 𝑥 ∈ 𝐵 ↦ (𝑢 ∈ ((1st ‘𝑓)‘𝑥) ↦ (𝑦 ∈ 𝐵 ↦ (𝑔 ∈ (𝑦(Hom ‘𝐶)𝑥) ↦ (((𝑥(2nd ‘𝑓)𝑦)‘𝑔)‘𝑢)))))) |
| 30 | 2, 3, 24, 19, 25, 26, 29 | inviso1 17673 | 1 ⊢ (𝜑 → 𝑀 ∈ (𝑍𝐼𝐸)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 ∪ cun 3901 ⊆ wss 3903 〈cop 4583 ↦ cmpt 5173 ran crn 5620 ‘cfv 6482 (class class class)co 7349 ∈ cmpo 7351 1st c1st 7922 2nd c2nd 7923 tpos ctpos 8158 Basecbs 17120 Hom chom 17172 Catccat 17570 Idccid 17571 Homf chomf 17572 oppCatcoppc 17617 Invcinv 17652 Isociso 17653 Func cfunc 17761 ∘func ccofu 17763 Nat cnat 17851 FuncCat cfuc 17852 SetCatcsetc 17982 ×c cxpc 18074 1stF c1stf 18075 2ndF c2ndf 18076 〈,〉F cprf 18077 evalF cevlf 18115 HomFchof 18154 Yoncyon 18155 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2701 ax-rep 5218 ax-sep 5235 ax-nul 5245 ax-pow 5304 ax-pr 5371 ax-un 7671 ax-cnex 11065 ax-resscn 11066 ax-1cn 11067 ax-icn 11068 ax-addcl 11069 ax-addrcl 11070 ax-mulcl 11071 ax-mulrcl 11072 ax-mulcom 11073 ax-addass 11074 ax-mulass 11075 ax-distr 11076 ax-i2m1 11077 ax-1ne0 11078 ax-1rid 11079 ax-rnegex 11080 ax-rrecex 11081 ax-cnre 11082 ax-pre-lttri 11083 ax-pre-lttrn 11084 ax-pre-ltadd 11085 ax-pre-mulgt0 11086 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2533 df-eu 2562 df-clab 2708 df-cleq 2721 df-clel 2803 df-nfc 2878 df-ne 2926 df-nel 3030 df-ral 3045 df-rex 3054 df-rmo 3343 df-reu 3344 df-rab 3395 df-v 3438 df-sbc 3743 df-csb 3852 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-pss 3923 df-nul 4285 df-if 4477 df-pw 4553 df-sn 4578 df-pr 4580 df-tp 4582 df-op 4584 df-uni 4859 df-iun 4943 df-br 5093 df-opab 5155 df-mpt 5174 df-tr 5200 df-id 5514 df-eprel 5519 df-po 5527 df-so 5528 df-fr 5572 df-we 5574 df-xp 5625 df-rel 5626 df-cnv 5627 df-co 5628 df-dm 5629 df-rn 5630 df-res 5631 df-ima 5632 df-pred 6249 df-ord 6310 df-on 6311 df-lim 6312 df-suc 6313 df-iota 6438 df-fun 6484 df-fn 6485 df-f 6486 df-f1 6487 df-fo 6488 df-f1o 6489 df-fv 6490 df-riota 7306 df-ov 7352 df-oprab 7353 df-mpo 7354 df-om 7800 df-1st 7924 df-2nd 7925 df-tpos 8159 df-frecs 8214 df-wrecs 8245 df-recs 8294 df-rdg 8332 df-1o 8388 df-er 8625 df-map 8755 df-pm 8756 df-ixp 8825 df-en 8873 df-dom 8874 df-sdom 8875 df-fin 8876 df-pnf 11151 df-mnf 11152 df-xr 11153 df-ltxr 11154 df-le 11155 df-sub 11349 df-neg 11350 df-nn 12129 df-2 12191 df-3 12192 df-4 12193 df-5 12194 df-6 12195 df-7 12196 df-8 12197 df-9 12198 df-n0 12385 df-z 12472 df-dec 12592 df-uz 12736 df-fz 13411 df-struct 17058 df-sets 17075 df-slot 17093 df-ndx 17105 df-base 17121 df-ress 17142 df-hom 17185 df-cco 17186 df-cat 17574 df-cid 17575 df-homf 17576 df-comf 17577 df-oppc 17618 df-sect 17654 df-inv 17655 df-iso 17656 df-ssc 17717 df-resc 17718 df-subc 17719 df-func 17765 df-cofu 17767 df-nat 17853 df-fuc 17854 df-setc 17983 df-xpc 18078 df-1stf 18079 df-2ndf 18080 df-prf 18081 df-evlf 18119 df-curf 18120 df-hof 18156 df-yon 18157 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |