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

Theorem yoniso 18459
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 18037 . . . 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 18276 . . . . . . 7 (𝜑 → 𝐵 = (𝑉 ∩ Cat))
7 inss2 4134 . . . . . . 7 (𝑉 ∩ Cat) ⊆ Cat
86, 7eqsstrdi 3952 . . . . . 6 (𝜑 → 𝐵 ⊆ Cat)
9 yoniso.c . . . . . 6 (𝜑 → 𝐶 ∈ 𝐵)
108, 9sseldd 3909 . . . . 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 18436 . . . 4 (𝜑 → 𝑌 ∈ (𝐶 Func 𝑄))
17 1st2nd 8050 . . . 4 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → 𝑌 = ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩)
181, 16, 17sylancr 599 . . 3 (𝜑 → 𝑌 = ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩)
192, 11, 12, 13, 10, 14, 15yonffth 18458 . . . . 5 (𝜑 → 𝑌 ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
2018, 19eqeltrrd 2861 . . . 4 (𝜑 → ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
21 eqid 2760 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
22 yoniso.e . . . . . 6 𝐸 = (𝑄 ↾s ran (1st ‘𝑌))
2311oppccat 17896 . . . . . . . 8 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
2410, 23syl 18 . . . . . . 7 (𝜑 → 𝑂 ∈ Cat)
2512setccat 18260 . . . . . . . 8 (𝑈 ∈ 𝑊 → 𝑆 ∈ Cat)
2614, 25syl 18 . . . . . . 7 (𝜑 → 𝑆 ∈ Cat)
2713, 24, 26fuccat 18148 . . . . . 6 (𝜑 → 𝑄 ∈ Cat)
28 fvex 6898 . . . . . . . 8 (1st ‘𝑌) ∈ V
2928rnex 7922 . . . . . . 7 ran (1st ‘𝑌) ∈ V
3029a1i 11 . . . . . 6 (𝜑 → ran (1st ‘𝑌) ∈ V)
3113fucbas 18138 . . . . . . . . 9 (𝑂 Func 𝑆) = (Base‘𝑄)
32 1st2ndbr 8053 . . . . . . . . . 10 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st ‘𝑌)(𝐶 Func 𝑄)(2nd ‘𝑌))
331, 16, 32sylancr 599 . . . . . . . . 9 (𝜑 → (1st ‘𝑌)(𝐶 Func 𝑄)(2nd ‘𝑌))
3421, 31, 33funcf1 18041 . . . . . . . 8 (𝜑 → (1st ‘𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆))
3534ffnd 6710 . . . . . . 7 (𝜑 → (1st ‘𝑌) Fn (Base‘𝐶))
36 dffn3 6722 . . . . . . 7 ((1st ‘𝑌) Fn (Base‘𝐶) ↔ (1st ‘𝑌):(Base‘𝐶)⟶ran (1st ‘𝑌))
3735, 36sylib 221 . . . . . 6 (𝜑 → (1st ‘𝑌):(Base‘𝐶)⟶ran (1st ‘𝑌))
3821, 22, 27, 30, 37ffthres2c 18117 . . . . 5 (𝜑 → ((1st ‘𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd ‘𝑌) ↔ (1st ‘𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd ‘𝑌)))
39 df-br 5103 . . . . 5 ((1st ‘𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd ‘𝑌) ↔ ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
40 df-br 5103 . . . . 5 ((1st ‘𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd ‘𝑌) ↔ ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
4138, 39, 403bitr3g 316 . . . 4 (𝜑 → (⟨(1st ‘𝑌), (2nd ‘𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)) ↔ ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))))
4220, 41mpbid 235 . . 3 (𝜑 → ⟨(1st ‘𝑌), (2nd ‘𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
4318, 42eqeltrd 2860 . 2 (𝜑 → 𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
44 fveq2 6885 . . . . . . . . 9 (((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → (1st ‘((1st ‘𝑌)‘𝑥)) = (1st ‘((1st ‘𝑌)‘𝑦)))
4544fveq1d 6887 . . . . . . . 8 (((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → ((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥) = ((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥))
4645fveq2d 6889 . . . . . . 7 (((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)))
47 simpl 488 . . . . . . . . . 10 ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶))
4847, 47jca 521 . . . . . . . . 9 ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))
49 eleq1w 2843 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → (𝑦 ∈ (Base‘𝐶) ↔ 𝑥 ∈ (Base‘𝐶)))
5049anbi2d 642 . . . . . . . . . . . 12 (𝑦 = 𝑥 → ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) ↔ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))))
5150anbi2d 642 . . . . . . . . . . 11 (𝑦 = 𝑥 → ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ↔ (𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))))
52 2fveq3 6890 . . . . . . . . . . . . . 14 (𝑦 = 𝑥 → (1st ‘((1st ‘𝑌)‘𝑦)) = (1st ‘((1st ‘𝑌)‘𝑥)))
5352fveq1d 6887 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → ((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥) = ((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥))
5453fveq2d 6889 . . . . . . . . . . . 12 (𝑦 = 𝑥 → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)) = (𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)))
55 id 23 . . . . . . . . . . . 12 (𝑦 = 𝑥 → 𝑦 = 𝑥)
5654, 55eqeq12d 2776 . . . . . . . . . . 11 (𝑦 = 𝑥 → ((𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)) = 𝑦 ↔ (𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥))
5751, 56imbi12d 347 . . . . . . . . . 10 (𝑦 = 𝑥 → (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)) = 𝑦) ↔ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥)))
5810adantr 486 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
59 simprr 785 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
60 eqid 2760 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
61 simprl 783 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
622, 21, 58, 59, 60, 61yon11 18438 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥) = (𝑥(Hom ‘𝐶)𝑦))
6362fveq2d 6889 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)) = (𝐹‘(𝑥(Hom ‘𝐶)𝑦)))
64 yoniso.1 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘(𝑥(Hom ‘𝐶)𝑦)) = 𝑦)
6563, 64eqtrd 2795 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)) = 𝑦)
6657, 65chvarvv 2021 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥)
6748, 66sylan2 605 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥)
6867, 65eqeq12d 2776 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝐹‘((1st ‘((1st ‘𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st ‘((1st ‘𝑌)‘𝑦))‘𝑥)) ↔ 𝑥 = 𝑦))
6946, 68imbitrid 247 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → 𝑥 = 𝑦))
7069ralrimivva 3205 . . . . 5 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → 𝑥 = 𝑦))
71 dff13 7258 . . . . 5 ((1st ‘𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) ↔ ((1st ‘𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → 𝑥 = 𝑦)))
7234, 70, 71sylanbrc 595 . . . 4 (𝜑 → (1st ‘𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆))
73 f1f1orn 6836 . . . 4 ((1st ‘𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) → (1st ‘𝑌):(Base‘𝐶)–1-1-onto→ran (1st ‘𝑌))
7472, 73syl 18 . . 3 (𝜑 → (1st ‘𝑌):(Base‘𝐶)–1-1-onto→ran (1st ‘𝑌))
7534frnd 6718 . . . . 5 (𝜑 → ran (1st ‘𝑌) ⊆ (𝑂 Func 𝑆))
7622, 31ressbas2 17416 . . . . 5 (ran (1st ‘𝑌) ⊆ (𝑂 Func 𝑆) → ran (1st ‘𝑌) = (Base‘𝐸))
7775, 76syl 18 . . . 4 (𝜑 → ran (1st ‘𝑌) = (Base‘𝐸))
7877f1oeq3d 6821 . . 3 (𝜑 → ((1st ‘𝑌):(Base‘𝐶)–1-1-onto→ran (1st ‘𝑌) ↔ (1st ‘𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸)))
7974, 78mpbid 235 . 2 (𝜑 → (1st ‘𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))
80 eqid 2760 . . 3 (Base‘𝐸) = (Base‘𝐸)
81 yoniso.eb . . 3 (𝜑 → 𝐸 ∈ 𝐵)
82 yoniso.i . . 3 𝐼 = (Iso‘𝐷)
833, 4, 21, 80, 5, 9, 81, 82catciso 18286 . 2 (𝜑 → (𝑌 ∈ (𝐶𝐼𝐸) ↔ (𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)) ∧ (1st ‘𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))))
8443, 79, 83mpbir2and 726 1 (𝜑 → 𝑌 ∈ (𝐶𝐼𝐸))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ∀wral 3076  Vcvv 3450   ⊆ wss 3895   ∩ cin 4089  ⟨cop 4589   class class class wbr 5102  ran crn 5651  Rel wrel 5655   Fn wfn 6533  ⟶wf 6534  –1-1→wf1 6535  –1-1-onto→wf1o 6537  ‘cfv 6538  (class class class)co 7420  1st c1st 7999  2nd c2nd 8000  Basecbs 17387   ↾s cress 17408  Hom chom 17439  Catccat 17838  Homf chomf 17840  oppCatcoppc 17885  Isociso 17921   Func cfunc 18029   Full cful 18079   Faith cfth 18080   FuncCat cfuc 18120  SetCatcsetc 18250  CatCatccatc 18273  Yoncyon 18423
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  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-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  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 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-tpos 8243  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-1o 8476  df-er 8717  df-map 8849  df-pm 8850  df-ixp 8926  df-en 8974  df-dom 8975  df-sdom 8976  df-fin 8977  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-nn 12336  df-2 12405  df-3 12406  df-4 12407  df-5 12408  df-6 12409  df-7 12410  df-8 12411  df-9 12412  df-n0 12607  df-z 12694  df-dec 12815  df-uz 12966  df-fz 13640  df-struct 17325  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409  df-hom 17452  df-cco 17453  df-cat 17842  df-cid 17843  df-homf 17844  df-comf 17845  df-oppc 17886  df-sect 17922  df-inv 17923  df-iso 17924  df-ssc 17985  df-resc 17986  df-subc 17987  df-func 18033  df-idfu 18034  df-cofu 18035  df-full 18081  df-fth 18082  df-nat 18121  df-fuc 18122  df-setc 18251  df-catc 18274  df-xpc 18346  df-1stf 18347  df-2ndf 18348  df-prf 18349  df-evlf 18387  df-curf 18388  df-hof 18424  df-yon 18425
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator