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

Theorem yonedalem1 18408
Description: Lemma for yoneda 18419. (Contributed by Mario Carneiro, 28-Jan-2017.)
Hypotheses
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 ‘𝑄) ∪ 𝑈) ⊆ 𝑉)
Assertion
Ref Expression
yonedalem1 (𝜑 → (𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇) ∧ 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇)))

Proof of Theorem yonedalem1
StepHypRef Expression
1 yoneda.z . . 3 𝑍 = (𝐻 ∘func ((⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)))
2 eqid 2760 . . . . 5 ((⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) = ((⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))
3 eqid 2760 . . . . 5 ((oppCat‘𝑄) ×c 𝑄) = ((oppCat‘𝑄) ×c 𝑄)
4 eqid 2760 . . . . . . 7 (𝑄 ×c 𝑂) = (𝑄 ×c 𝑂)
5 yoneda.q . . . . . . . 8 𝑄 = (𝑂 FuncCat 𝑆)
6 yoneda.c . . . . . . . . 9 (𝜑 → 𝐶 ∈ Cat)
7 yoneda.o . . . . . . . . . 10 𝑂 = (oppCat‘𝐶)
87oppccat 17858 . . . . . . . . 9 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
96, 8syl 18 . . . . . . . 8 (𝜑 → 𝑂 ∈ Cat)
10 yoneda.w . . . . . . . . . 10 (𝜑 → 𝑉 ∈ 𝑊)
11 yoneda.v . . . . . . . . . . 11 (𝜑 → (ran (Homf ‘𝑄) ∪ 𝑈) ⊆ 𝑉)
1211unssbd 4139 . . . . . . . . . 10 (𝜑 → 𝑈 ⊆ 𝑉)
1310, 12ssexd 5285 . . . . . . . . 9 (𝜑 → 𝑈 ∈ V)
14 yoneda.s . . . . . . . . . 10 𝑆 = (SetCat‘𝑈)
1514setccat 18222 . . . . . . . . 9 (𝑈 ∈ V → 𝑆 ∈ Cat)
1613, 15syl 18 . . . . . . . 8 (𝜑 → 𝑆 ∈ Cat)
175, 9, 16fuccat 18110 . . . . . . 7 (𝜑 → 𝑄 ∈ Cat)
18 eqid 2760 . . . . . . 7 (𝑄 2ndF 𝑂) = (𝑄 2ndF 𝑂)
194, 17, 9, 182ndfcl 18334 . . . . . 6 (𝜑 → (𝑄 2ndF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑂))
20 eqid 2760 . . . . . . . 8 (oppCat‘𝑄) = (oppCat‘𝑄)
21 relfunc 17999 . . . . . . . . 9 Rel (𝐶 Func 𝑄)
22 yoneda.y . . . . . . . . . 10 𝑌 = (Yon‘𝐶)
23 yoneda.u . . . . . . . . . 10 (𝜑 → ran (Homf ‘𝐶) ⊆ 𝑈)
2422, 6, 7, 14, 5, 13, 23yoncl 18398 . . . . . . . . 9 (𝜑 → 𝑌 ∈ (𝐶 Func 𝑄))
25 1st2ndbr 8036 . . . . . . . . 9 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st ‘𝑌)(𝐶 Func 𝑄)(2nd ‘𝑌))
2621, 24, 25sylancr 599 . . . . . . . 8 (𝜑 → (1st ‘𝑌)(𝐶 Func 𝑄)(2nd ‘𝑌))
277, 20, 26funcoppc 18012 . . . . . . 7 (𝜑 → (1st ‘𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd ‘𝑌))
28 df-br 5103 . . . . . . 7 ((1st ‘𝑌)(𝑂 Func (oppCat‘𝑄))tpos (2nd ‘𝑌) ↔ ⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
2927, 28sylib 221 . . . . . 6 (𝜑 → ⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∈ (𝑂 Func (oppCat‘𝑄)))
3019, 29cofucl 18025 . . . . 5 (𝜑 → (⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func (oppCat‘𝑄)))
31 eqid 2760 . . . . . 6 (𝑄 1stF 𝑂) = (𝑄 1stF 𝑂)
324, 17, 9, 311stfcl 18333 . . . . 5 (𝜑 → (𝑄 1stF 𝑂) ∈ ((𝑄 ×c 𝑂) Func 𝑄))
332, 3, 30, 32prfcl 18339 . . . 4 (𝜑 → ((⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂)) ∈ ((𝑄 ×c 𝑂) Func ((oppCat‘𝑄) ×c 𝑄)))
34 yoneda.h . . . . 5 𝐻 = (HomF‘𝑄)
35 yoneda.t . . . . 5 𝑇 = (SetCat‘𝑉)
3611unssad 4138 . . . . 5 (𝜑 → ran (Homf ‘𝑄) ⊆ 𝑉)
3734, 20, 35, 17, 10, 36hofcl 18395 . . . 4 (𝜑 → 𝐻 ∈ (((oppCat‘𝑄) ×c 𝑄) Func 𝑇))
3833, 37cofucl 18025 . . 3 (𝜑 → (𝐻 ∘func ((⟨(1st ‘𝑌), tpos (2nd ‘𝑌)⟩ ∘func (𝑄 2ndF 𝑂)) ⟨,⟩F (𝑄 1stF 𝑂))) ∈ ((𝑄 ×c 𝑂) Func 𝑇))
391, 38eqeltrid 2864 . 2 (𝜑 → 𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇))
4035, 14, 10, 12funcsetcres2 18230 . . 3 (𝜑 → ((𝑄 ×c 𝑂) Func 𝑆) ⊆ ((𝑄 ×c 𝑂) Func 𝑇))
41 yoneda.e . . . 4 𝐸 = (𝑂 evalF 𝑆)
4241, 5, 9, 16evlfcl 18358 . . 3 (𝜑 → 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑆))
4340, 42sseldd 3931 . 2 (𝜑 → 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇))
4439, 43jca 521 1 (𝜑 → (𝑍 ∈ ((𝑄 ×c 𝑂) Func 𝑇) ∧ 𝐸 ∈ ((𝑄 ×c 𝑂) Func 𝑇)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3450   ∪ cun 3896   ⊆ wss 3898  ⟨cop 4589   class class class wbr 5102  ran crn 5648  Rel wrel 5652  ‘cfv 6527  (class class class)co 7408  1st c1st 7982  2nd c2nd 7983  tpos ctpos 8220  Basecbs 17349  Catccat 17800  Idccid 17801  Homf chomf 17802  oppCatcoppc 17847   Func cfunc 17991   ∘func ccofu 17993   FuncCat cfuc 18082  SetCatcsetc 18212   ×c cxpc 18304   1stF c1stf 18305   2ndF c2ndf 18306   ⟨,⟩F cprf 18307   evalF cevlf 18345  HomFchof 18384  Yoncyon 18385
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 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7734  ax-cnex 11228  ax-resscn 11229  ax-1cn 11230  ax-icn 11231  ax-addcl 11232  ax-addrcl 11233  ax-mulcl 11234  ax-mulrcl 11235  ax-mulcom 11236  ax-addass 11237  ax-mulass 11238  ax-distr 11239  ax-i2m1 11240  ax-1ne0 11241  ax-1rid 11242  ax-rnegex 11243  ax-rrecex 11244  ax-cnre 11245  ax-pre-lttri 11246  ax-pre-lttrn 11247  ax-pre-ltadd 11248  ax-pre-mulgt0 11249
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-tp 4588  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6293  df-ord 6354  df-on 6355  df-lim 6356  df-suc 6357  df-iota 6483  df-fun 6529  df-fn 6530  df-f 6531  df-f1 6532  df-fo 6533  df-f1o 6534  df-fv 6535  df-riota 7365  df-ov 7411  df-oprab 7412  df-mpo 7413  df-om 7861  df-1st 7984  df-2nd 7985  df-tpos 8221  df-frecs 8277  df-wrecs 8308  df-recs 8357  df-rdg 8396  df-1o 8454  df-er 8695  df-map 8827  df-pm 8828  df-ixp 8904  df-en 8952  df-dom 8953  df-sdom 8954  df-fin 8955  df-pnf 11317  df-mnf 11318  df-xr 11319  df-ltxr 11320  df-le 11321  df-sub 11515  df-neg 11516  df-nn 12306  df-2 12375  df-3 12376  df-4 12377  df-5 12378  df-6 12379  df-7 12380  df-8 12381  df-9 12382  df-n0 12577  df-z 12664  df-dec 12785  df-uz 12936  df-fz 13610  df-struct 17287  df-sets 17304  df-slot 17322  df-ndx 17334  df-base 17350  df-ress 17371  df-hom 17414  df-cco 17415  df-cat 17804  df-cid 17805  df-homf 17806  df-comf 17807  df-oppc 17848  df-ssc 17947  df-resc 17948  df-subc 17949  df-func 17995  df-cofu 17997  df-nat 18083  df-fuc 18084  df-setc 18213  df-xpc 18308  df-1stf 18309  df-2ndf 18310  df-prf 18311  df-evlf 18349  df-curf 18350  df-hof 18386  df-yon 18387
This theorem is used by:  yonedalem3b  18415  yonedalem3  18416  yonedainv  18417  yonffthlem  18418  yoneda  18419
  Copyright terms: Public domain W3C validator