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

Theorem yoniso 17919
Description: If the codomain is recoverable from a hom-set, then the Yoneda embedding is injective on objects, and hence is an isomorphism from 𝐶 into a full subcategory of a presheaf category. (Contributed by Mario Carneiro, 30-Jan-2017.)
Hypotheses
Ref Expression
yoniso.y 𝑌 = (Yon‘𝐶)
yoniso.o 𝑂 = (oppCat‘𝐶)
yoniso.s 𝑆 = (SetCat‘𝑈)
yoniso.d 𝐷 = (CatCat‘𝑉)
yoniso.b 𝐵 = (Base‘𝐷)
yoniso.i 𝐼 = (Iso‘𝐷)
yoniso.q 𝑄 = (𝑂 FuncCat 𝑆)
yoniso.e 𝐸 = (𝑄s ran (1st𝑌))
yoniso.v (𝜑𝑉𝑋)
yoniso.c (𝜑𝐶𝐵)
yoniso.u (𝜑𝑈𝑊)
yoniso.h (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
yoniso.eb (𝜑𝐸𝐵)
yoniso.1 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘(𝑥(Hom ‘𝐶)𝑦)) = 𝑦)
Assertion
Ref Expression
yoniso (𝜑𝑌 ∈ (𝐶𝐼𝐸))
Distinct variable groups:   𝑥,𝑦,𝐶   𝑦,𝐹   𝜑,𝑥,𝑦   𝑥,𝑌,𝑦
Allowed substitution hints:   𝐵(𝑥,𝑦)   𝐷(𝑥,𝑦)   𝑄(𝑥,𝑦)   𝑆(𝑥,𝑦)   𝑈(𝑥,𝑦)   𝐸(𝑥,𝑦)   𝐹(𝑥)   𝐼(𝑥,𝑦)   𝑂(𝑥,𝑦)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)   𝑋(𝑥,𝑦)

Proof of Theorem yoniso
StepHypRef Expression
1 relfunc 17493 . . . 4 Rel (𝐶 Func 𝑄)
2 yoniso.y . . . . 5 𝑌 = (Yon‘𝐶)
3 yoniso.d . . . . . . . 8 𝐷 = (CatCat‘𝑉)
4 yoniso.b . . . . . . . 8 𝐵 = (Base‘𝐷)
5 yoniso.v . . . . . . . 8 (𝜑𝑉𝑋)
63, 4, 5catcbas 17732 . . . . . . 7 (𝜑𝐵 = (𝑉 ∩ Cat))
7 inss2 4160 . . . . . . 7 (𝑉 ∩ Cat) ⊆ Cat
86, 7eqsstrdi 3971 . . . . . 6 (𝜑𝐵 ⊆ Cat)
9 yoniso.c . . . . . 6 (𝜑𝐶𝐵)
108, 9sseldd 3918 . . . . 5 (𝜑𝐶 ∈ Cat)
11 yoniso.o . . . . 5 𝑂 = (oppCat‘𝐶)
12 yoniso.s . . . . 5 𝑆 = (SetCat‘𝑈)
13 yoniso.q . . . . 5 𝑄 = (𝑂 FuncCat 𝑆)
14 yoniso.u . . . . 5 (𝜑𝑈𝑊)
15 yoniso.h . . . . 5 (𝜑 → ran (Homf𝐶) ⊆ 𝑈)
162, 10, 11, 12, 13, 14, 15yoncl 17896 . . . 4 (𝜑𝑌 ∈ (𝐶 Func 𝑄))
17 1st2nd 7853 . . . 4 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → 𝑌 = ⟨(1st𝑌), (2nd𝑌)⟩)
181, 16, 17sylancr 586 . . 3 (𝜑𝑌 = ⟨(1st𝑌), (2nd𝑌)⟩)
192, 11, 12, 13, 10, 14, 15yonffth 17918 . . . . 5 (𝜑𝑌 ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
2018, 19eqeltrrd 2840 . . . 4 (𝜑 → ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
21 eqid 2738 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
22 yoniso.e . . . . . 6 𝐸 = (𝑄s ran (1st𝑌))
2311oppccat 17350 . . . . . . . 8 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
2410, 23syl 17 . . . . . . 7 (𝜑𝑂 ∈ Cat)
2512setccat 17716 . . . . . . . 8 (𝑈𝑊𝑆 ∈ Cat)
2614, 25syl 17 . . . . . . 7 (𝜑𝑆 ∈ Cat)
2713, 24, 26fuccat 17604 . . . . . 6 (𝜑𝑄 ∈ Cat)
28 fvex 6769 . . . . . . . 8 (1st𝑌) ∈ V
2928rnex 7733 . . . . . . 7 ran (1st𝑌) ∈ V
3029a1i 11 . . . . . 6 (𝜑 → ran (1st𝑌) ∈ V)
3113fucbas 17593 . . . . . . . . 9 (𝑂 Func 𝑆) = (Base‘𝑄)
32 1st2ndbr 7856 . . . . . . . . . 10 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
331, 16, 32sylancr 586 . . . . . . . . 9 (𝜑 → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3421, 31, 33funcf1 17497 . . . . . . . 8 (𝜑 → (1st𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆))
3534ffnd 6585 . . . . . . 7 (𝜑 → (1st𝑌) Fn (Base‘𝐶))
36 dffn3 6597 . . . . . . 7 ((1st𝑌) Fn (Base‘𝐶) ↔ (1st𝑌):(Base‘𝐶)⟶ran (1st𝑌))
3735, 36sylib 217 . . . . . 6 (𝜑 → (1st𝑌):(Base‘𝐶)⟶ran (1st𝑌))
3821, 22, 27, 30, 37ffthres2c 17572 . . . . 5 (𝜑 → ((1st𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd𝑌) ↔ (1st𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd𝑌)))
39 df-br 5071 . . . . 5 ((1st𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd𝑌) ↔ ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
40 df-br 5071 . . . . 5 ((1st𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd𝑌) ↔ ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
4138, 39, 403bitr3g 312 . . . 4 (𝜑 → (⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)) ↔ ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))))
4220, 41mpbid 231 . . 3 (𝜑 → ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
4318, 42eqeltrd 2839 . 2 (𝜑𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
44 fveq2 6756 . . . . . . . . 9 (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → (1st ‘((1st𝑌)‘𝑥)) = (1st ‘((1st𝑌)‘𝑦)))
4544fveq1d 6758 . . . . . . . 8 (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → ((1st ‘((1st𝑌)‘𝑥))‘𝑥) = ((1st ‘((1st𝑌)‘𝑦))‘𝑥))
4645fveq2d 6760 . . . . . . 7 (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)))
47 simpl 482 . . . . . . . . . 10 ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶))
4847, 47jca 511 . . . . . . . . 9 ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))
49 eleq1w 2821 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → (𝑦 ∈ (Base‘𝐶) ↔ 𝑥 ∈ (Base‘𝐶)))
5049anbi2d 628 . . . . . . . . . . . 12 (𝑦 = 𝑥 → ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) ↔ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))))
5150anbi2d 628 . . . . . . . . . . 11 (𝑦 = 𝑥 → ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ↔ (𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))))
52 2fveq3 6761 . . . . . . . . . . . . . 14 (𝑦 = 𝑥 → (1st ‘((1st𝑌)‘𝑦)) = (1st ‘((1st𝑌)‘𝑥)))
5352fveq1d 6758 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → ((1st ‘((1st𝑌)‘𝑦))‘𝑥) = ((1st ‘((1st𝑌)‘𝑥))‘𝑥))
5453fveq2d 6760 . . . . . . . . . . . 12 (𝑦 = 𝑥 → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)))
55 id 22 . . . . . . . . . . . 12 (𝑦 = 𝑥𝑦 = 𝑥)
5654, 55eqeq12d 2754 . . . . . . . . . . 11 (𝑦 = 𝑥 → ((𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = 𝑦 ↔ (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥))
5751, 56imbi12d 344 . . . . . . . . . 10 (𝑦 = 𝑥 → (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = 𝑦) ↔ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥)))
5810adantr 480 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
59 simprr 769 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
60 eqid 2738 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
61 simprl 767 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
622, 21, 58, 59, 60, 61yon11 17898 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘((1st𝑌)‘𝑦))‘𝑥) = (𝑥(Hom ‘𝐶)𝑦))
6362fveq2d 6760 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = (𝐹‘(𝑥(Hom ‘𝐶)𝑦)))
64 yoniso.1 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘(𝑥(Hom ‘𝐶)𝑦)) = 𝑦)
6563, 64eqtrd 2778 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = 𝑦)
6657, 65chvarvv 2003 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥)
6748, 66sylan2 592 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥)
6867, 65eqeq12d 2754 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) ↔ 𝑥 = 𝑦))
6946, 68syl5ib 243 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → 𝑥 = 𝑦))
7069ralrimivva 3114 . . . . 5 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → 𝑥 = 𝑦))
71 dff13 7109 . . . . 5 ((1st𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) ↔ ((1st𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → 𝑥 = 𝑦)))
7234, 70, 71sylanbrc 582 . . . 4 (𝜑 → (1st𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆))
73 f1f1orn 6711 . . . 4 ((1st𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) → (1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌))
7472, 73syl 17 . . 3 (𝜑 → (1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌))
7534frnd 6592 . . . . 5 (𝜑 → ran (1st𝑌) ⊆ (𝑂 Func 𝑆))
7622, 31ressbas2 16875 . . . . 5 (ran (1st𝑌) ⊆ (𝑂 Func 𝑆) → ran (1st𝑌) = (Base‘𝐸))
7775, 76syl 17 . . . 4 (𝜑 → ran (1st𝑌) = (Base‘𝐸))
7877f1oeq3d 6697 . . 3 (𝜑 → ((1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌) ↔ (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸)))
7974, 78mpbid 231 . 2 (𝜑 → (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))
80 eqid 2738 . . 3 (Base‘𝐸) = (Base‘𝐸)
81 yoniso.eb . . 3 (𝜑𝐸𝐵)
82 yoniso.i . . 3 𝐼 = (Iso‘𝐷)
833, 4, 21, 80, 5, 9, 81, 82catciso 17742 . 2 (𝜑 → (𝑌 ∈ (𝐶𝐼𝐸) ↔ (𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)) ∧ (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))))
8443, 79, 83mpbir2and 709 1 (𝜑𝑌 ∈ (𝐶𝐼𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  wral 3063  Vcvv 3422  cin 3882  wss 3883  cop 4564   class class class wbr 5070  ran crn 5581  Rel wrel 5585   Fn wfn 6413  wf 6414  1-1wf1 6415  1-1-ontowf1o 6417  cfv 6418  (class class class)co 7255  1st c1st 7802  2nd c2nd 7803  Basecbs 16840  s cress 16867  Hom chom 16899  Catccat 17290  Homf chomf 17292  oppCatcoppc 17337  Isociso 17375   Func cfunc 17485   Full cful 17534   Faith cfth 17535   FuncCat cfuc 17574  SetCatcsetc 17706  CatCatccatc 17729  Yoncyon 17883
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-tpos 8013  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-map 8575  df-pm 8576  df-ixp 8644  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-5 11969  df-6 11970  df-7 11971  df-8 11972  df-9 11973  df-n0 12164  df-z 12250  df-dec 12367  df-uz 12512  df-fz 13169  df-struct 16776  df-sets 16793  df-slot 16811  df-ndx 16823  df-base 16841  df-ress 16868  df-hom 16912  df-cco 16913  df-cat 17294  df-cid 17295  df-homf 17296  df-comf 17297  df-oppc 17338  df-sect 17376  df-inv 17377  df-iso 17378  df-ssc 17439  df-resc 17440  df-subc 17441  df-func 17489  df-idfu 17490  df-cofu 17491  df-full 17536  df-fth 17537  df-nat 17575  df-fuc 17576  df-setc 17707  df-catc 17730  df-xpc 17805  df-1stf 17806  df-2ndf 17807  df-prf 17808  df-evlf 17847  df-curf 17848  df-hof 17884  df-yon 17885
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator