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

Theorem yoniso 16925
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 16522 . . . 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 16747 . . . . . . 7 (𝜑𝐵 = (𝑉 ∩ Cat))
7 inss2 3834 . . . . . . 7 (𝑉 ∩ Cat) ⊆ Cat
86, 7syl6eqss 3655 . . . . . 6 (𝜑𝐵 ⊆ Cat)
9 yoniso.c . . . . . 6 (𝜑𝐶𝐵)
108, 9sseldd 3604 . . . . 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 16902 . . . 4 (𝜑𝑌 ∈ (𝐶 Func 𝑄))
17 1st2nd 7214 . . . 4 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → 𝑌 = ⟨(1st𝑌), (2nd𝑌)⟩)
181, 16, 17sylancr 695 . . 3 (𝜑𝑌 = ⟨(1st𝑌), (2nd𝑌)⟩)
192, 11, 12, 13, 10, 14, 15yonffth 16924 . . . . 5 (𝜑𝑌 ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
2018, 19eqeltrrd 2702 . . . 4 (𝜑 → ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
21 eqid 2622 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
22 yoniso.e . . . . . 6 𝐸 = (𝑄s ran (1st𝑌))
2311oppccat 16382 . . . . . . . 8 (𝐶 ∈ Cat → 𝑂 ∈ Cat)
2410, 23syl 17 . . . . . . 7 (𝜑𝑂 ∈ Cat)
2512setccat 16735 . . . . . . . 8 (𝑈𝑊𝑆 ∈ Cat)
2614, 25syl 17 . . . . . . 7 (𝜑𝑆 ∈ Cat)
2713, 24, 26fuccat 16630 . . . . . 6 (𝜑𝑄 ∈ Cat)
28 fvex 6201 . . . . . . . 8 (1st𝑌) ∈ V
2928rnex 7100 . . . . . . 7 ran (1st𝑌) ∈ V
3029a1i 11 . . . . . 6 (𝜑 → ran (1st𝑌) ∈ V)
3113fucbas 16620 . . . . . . . . 9 (𝑂 Func 𝑆) = (Base‘𝑄)
32 1st2ndbr 7217 . . . . . . . . . 10 ((Rel (𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
331, 16, 32sylancr 695 . . . . . . . . 9 (𝜑 → (1st𝑌)(𝐶 Func 𝑄)(2nd𝑌))
3421, 31, 33funcf1 16526 . . . . . . . 8 (𝜑 → (1st𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆))
35 ffn 6045 . . . . . . . 8 ((1st𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆) → (1st𝑌) Fn (Base‘𝐶))
3634, 35syl 17 . . . . . . 7 (𝜑 → (1st𝑌) Fn (Base‘𝐶))
37 dffn3 6054 . . . . . . 7 ((1st𝑌) Fn (Base‘𝐶) ↔ (1st𝑌):(Base‘𝐶)⟶ran (1st𝑌))
3836, 37sylib 208 . . . . . 6 (𝜑 → (1st𝑌):(Base‘𝐶)⟶ran (1st𝑌))
3921, 22, 27, 30, 38ffthres2c 16600 . . . . 5 (𝜑 → ((1st𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd𝑌) ↔ (1st𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd𝑌)))
40 df-br 4654 . . . . 5 ((1st𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd𝑌) ↔ ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)))
41 df-br 4654 . . . . 5 ((1st𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd𝑌) ↔ ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
4239, 40, 413bitr3g 302 . . . 4 (𝜑 → (⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)) ↔ ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))))
4320, 42mpbid 222 . . 3 (𝜑 → ⟨(1st𝑌), (2nd𝑌)⟩ ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
4418, 43eqeltrd 2701 . 2 (𝜑𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))
45 fveq2 6191 . . . . . . . . 9 (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → (1st ‘((1st𝑌)‘𝑥)) = (1st ‘((1st𝑌)‘𝑦)))
4645fveq1d 6193 . . . . . . . 8 (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → ((1st ‘((1st𝑌)‘𝑥))‘𝑥) = ((1st ‘((1st𝑌)‘𝑦))‘𝑥))
4746fveq2d 6195 . . . . . . 7 (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)))
48 simpl 473 . . . . . . . . . 10 ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶))
4948, 48jca 554 . . . . . . . . 9 ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))
50 eleq1 2689 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → (𝑦 ∈ (Base‘𝐶) ↔ 𝑥 ∈ (Base‘𝐶)))
5150anbi2d 740 . . . . . . . . . . . 12 (𝑦 = 𝑥 → ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) ↔ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))))
5251anbi2d 740 . . . . . . . . . . 11 (𝑦 = 𝑥 → ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ↔ (𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))))
53 fveq2 6191 . . . . . . . . . . . . . . 15 (𝑦 = 𝑥 → ((1st𝑌)‘𝑦) = ((1st𝑌)‘𝑥))
5453fveq2d 6195 . . . . . . . . . . . . . 14 (𝑦 = 𝑥 → (1st ‘((1st𝑌)‘𝑦)) = (1st ‘((1st𝑌)‘𝑥)))
5554fveq1d 6193 . . . . . . . . . . . . 13 (𝑦 = 𝑥 → ((1st ‘((1st𝑌)‘𝑦))‘𝑥) = ((1st ‘((1st𝑌)‘𝑥))‘𝑥))
5655fveq2d 6195 . . . . . . . . . . . 12 (𝑦 = 𝑥 → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)))
57 id 22 . . . . . . . . . . . 12 (𝑦 = 𝑥𝑦 = 𝑥)
5856, 57eqeq12d 2637 . . . . . . . . . . 11 (𝑦 = 𝑥 → ((𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = 𝑦 ↔ (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥))
5952, 58imbi12d 334 . . . . . . . . . 10 (𝑦 = 𝑥 → (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = 𝑦) ↔ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥)))
6010adantr 481 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat)
61 simprr 796 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
62 eqid 2622 . . . . . . . . . . . . 13 (Hom ‘𝐶) = (Hom ‘𝐶)
63 simprl 794 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
642, 21, 60, 61, 62, 63yon11 16904 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘((1st𝑌)‘𝑦))‘𝑥) = (𝑥(Hom ‘𝐶)𝑦))
6564fveq2d 6195 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = (𝐹‘(𝑥(Hom ‘𝐶)𝑦)))
66 yoniso.1 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘(𝑥(Hom ‘𝐶)𝑦)) = 𝑦)
6765, 66eqtrd 2656 . . . . . . . . . 10 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) = 𝑦)
6859, 67chvarv 2263 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥)
6949, 68sylan2 491 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = 𝑥)
7069, 67eqeq12d 2637 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝐹‘((1st ‘((1st𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st ‘((1st𝑌)‘𝑦))‘𝑥)) ↔ 𝑥 = 𝑦))
7147, 70syl5ib 234 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → 𝑥 = 𝑦))
7271ralrimivva 2971 . . . . 5 (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → 𝑥 = 𝑦))
73 dff13 6512 . . . . 5 ((1st𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) ↔ ((1st𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st𝑌)‘𝑥) = ((1st𝑌)‘𝑦) → 𝑥 = 𝑦)))
7434, 72, 73sylanbrc 698 . . . 4 (𝜑 → (1st𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆))
75 f1f1orn 6148 . . . 4 ((1st𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) → (1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌))
7674, 75syl 17 . . 3 (𝜑 → (1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌))
77 frn 6053 . . . . . 6 ((1st𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆) → ran (1st𝑌) ⊆ (𝑂 Func 𝑆))
7834, 77syl 17 . . . . 5 (𝜑 → ran (1st𝑌) ⊆ (𝑂 Func 𝑆))
7922, 31ressbas2 15931 . . . . 5 (ran (1st𝑌) ⊆ (𝑂 Func 𝑆) → ran (1st𝑌) = (Base‘𝐸))
8078, 79syl 17 . . . 4 (𝜑 → ran (1st𝑌) = (Base‘𝐸))
81 f1oeq3 6129 . . . 4 (ran (1st𝑌) = (Base‘𝐸) → ((1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌) ↔ (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸)))
8280, 81syl 17 . . 3 (𝜑 → ((1st𝑌):(Base‘𝐶)–1-1-onto→ran (1st𝑌) ↔ (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸)))
8376, 82mpbid 222 . 2 (𝜑 → (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))
84 eqid 2622 . . 3 (Base‘𝐸) = (Base‘𝐸)
85 yoniso.eb . . 3 (𝜑𝐸𝐵)
86 yoniso.i . . 3 𝐼 = (Iso‘𝐷)
873, 4, 21, 84, 5, 9, 85, 86catciso 16757 . 2 (𝜑 → (𝑌 ∈ (𝐶𝐼𝐸) ↔ (𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)) ∧ (1st𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))))
8844, 83, 87mpbir2and 957 1 (𝜑𝑌 ∈ (𝐶𝐼𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1483  wcel 1990  wral 2912  Vcvv 3200  cin 3573  wss 3574  cop 4183   class class class wbr 4653  ran crn 5115  Rel wrel 5119   Fn wfn 5883  wf 5884  1-1wf1 5885  1-1-ontowf1o 5887  cfv 5888  (class class class)co 6650  1st c1st 7166  2nd c2nd 7167  Basecbs 15857  s cress 15858  Hom chom 15952  Catccat 16325  Homf chomf 16327  oppCatcoppc 16371  Isociso 16406   Func cfunc 16514   Full cful 16562   Faith cfth 16563   FuncCat cfuc 16602  SetCatcsetc 16725  CatCatccatc 16744  Yoncyon 16889
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-rep 4771  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949  ax-cnex 9992  ax-resscn 9993  ax-1cn 9994  ax-icn 9995  ax-addcl 9996  ax-addrcl 9997  ax-mulcl 9998  ax-mulrcl 9999  ax-mulcom 10000  ax-addass 10001  ax-mulass 10002  ax-distr 10003  ax-i2m1 10004  ax-1ne0 10005  ax-1rid 10006  ax-rnegex 10007  ax-rrecex 10008  ax-cnre 10009  ax-pre-lttri 10010  ax-pre-lttrn 10011  ax-pre-ltadd 10012  ax-pre-mulgt0 10013
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-fal 1489  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-pss 3590  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-tp 4182  df-op 4184  df-uni 4437  df-int 4476  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-tr 4753  df-id 5024  df-eprel 5029  df-po 5035  df-so 5036  df-fr 5073  df-we 5075  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-pred 5680  df-ord 5726  df-on 5727  df-lim 5728  df-suc 5729  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-om 7066  df-1st 7168  df-2nd 7169  df-tpos 7352  df-wrecs 7407  df-recs 7468  df-rdg 7506  df-1o 7560  df-oadd 7564  df-er 7742  df-map 7859  df-pm 7860  df-ixp 7909  df-en 7956  df-dom 7957  df-sdom 7958  df-fin 7959  df-pnf 10076  df-mnf 10077  df-xr 10078  df-ltxr 10079  df-le 10080  df-sub 10268  df-neg 10269  df-nn 11021  df-2 11079  df-3 11080  df-4 11081  df-5 11082  df-6 11083  df-7 11084  df-8 11085  df-9 11086  df-n0 11293  df-z 11378  df-dec 11494  df-uz 11688  df-fz 12327  df-struct 15859  df-ndx 15860  df-slot 15861  df-base 15863  df-sets 15864  df-ress 15865  df-hom 15966  df-cco 15967  df-cat 16329  df-cid 16330  df-homf 16331  df-comf 16332  df-oppc 16372  df-sect 16407  df-inv 16408  df-iso 16409  df-ssc 16470  df-resc 16471  df-subc 16472  df-func 16518  df-idfu 16519  df-cofu 16520  df-full 16564  df-fth 16565  df-nat 16603  df-fuc 16604  df-setc 16726  df-catc 16745  df-xpc 16812  df-1stf 16813  df-2ndf 16814  df-prf 16815  df-evlf 16853  df-curf 16854  df-hof 16890  df-yon 16891
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator