Proof of Theorem yoniso
Step | Hyp | Ref
| Expression |
1 | | relfunc 17176 |
. . . 4
⊢ Rel
(𝐶 Func 𝑄) |
2 | | yoniso.y |
. . . . 5
⊢ 𝑌 = (Yon‘𝐶) |
3 | | yoniso.d |
. . . . . . . 8
⊢ 𝐷 = (CatCat‘𝑉) |
4 | | yoniso.b |
. . . . . . . 8
⊢ 𝐵 = (Base‘𝐷) |
5 | | yoniso.v |
. . . . . . . 8
⊢ (𝜑 → 𝑉 ∈ 𝑋) |
6 | 3, 4, 5 | catcbas 17408 |
. . . . . . 7
⊢ (𝜑 → 𝐵 = (𝑉 ∩ Cat)) |
7 | | inss2 4130 |
. . . . . . 7
⊢ (𝑉 ∩ Cat) ⊆
Cat |
8 | 6, 7 | eqsstrdi 3942 |
. . . . . 6
⊢ (𝜑 → 𝐵 ⊆ Cat) |
9 | | yoniso.c |
. . . . . 6
⊢ (𝜑 → 𝐶 ∈ 𝐵) |
10 | 8, 9 | sseldd 3889 |
. . . . 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 ‘𝐶) ⊆ 𝑈) |
16 | 2, 10, 11, 12, 13, 14, 15 | yoncl 17563 |
. . . 4
⊢ (𝜑 → 𝑌 ∈ (𝐶 Func 𝑄)) |
17 | | 1st2nd 7735 |
. . . 4
⊢ ((Rel
(𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → 𝑌 = 〈(1st ‘𝑌), (2nd ‘𝑌)〉) |
18 | 1, 16, 17 | sylancr 591 |
. . 3
⊢ (𝜑 → 𝑌 = 〈(1st ‘𝑌), (2nd ‘𝑌)〉) |
19 | 2, 11, 12, 13, 10, 14, 15 | yonffth 17585 |
. . . . 5
⊢ (𝜑 → 𝑌 ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))) |
20 | 18, 19 | eqeltrrd 2852 |
. . . 4
⊢ (𝜑 → 〈(1st
‘𝑌), (2nd
‘𝑌)〉 ∈
((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))) |
21 | | eqid 2759 |
. . . . . 6
⊢
(Base‘𝐶) =
(Base‘𝐶) |
22 | | yoniso.e |
. . . . . 6
⊢ 𝐸 = (𝑄 ↾s ran (1st
‘𝑌)) |
23 | 11 | oppccat 17035 |
. . . . . . . 8
⊢ (𝐶 ∈ Cat → 𝑂 ∈ Cat) |
24 | 10, 23 | syl 17 |
. . . . . . 7
⊢ (𝜑 → 𝑂 ∈ Cat) |
25 | 12 | setccat 17396 |
. . . . . . . 8
⊢ (𝑈 ∈ 𝑊 → 𝑆 ∈ Cat) |
26 | 14, 25 | syl 17 |
. . . . . . 7
⊢ (𝜑 → 𝑆 ∈ Cat) |
27 | 13, 24, 26 | fuccat 17284 |
. . . . . 6
⊢ (𝜑 → 𝑄 ∈ Cat) |
28 | | fvex 6664 |
. . . . . . . 8
⊢
(1st ‘𝑌) ∈ V |
29 | 28 | rnex 7615 |
. . . . . . 7
⊢ ran
(1st ‘𝑌)
∈ V |
30 | 29 | a1i 11 |
. . . . . 6
⊢ (𝜑 → ran (1st
‘𝑌) ∈
V) |
31 | 13 | fucbas 17274 |
. . . . . . . . 9
⊢ (𝑂 Func 𝑆) = (Base‘𝑄) |
32 | | 1st2ndbr 7738 |
. . . . . . . . . 10
⊢ ((Rel
(𝐶 Func 𝑄) ∧ 𝑌 ∈ (𝐶 Func 𝑄)) → (1st ‘𝑌)(𝐶 Func 𝑄)(2nd ‘𝑌)) |
33 | 1, 16, 32 | sylancr 591 |
. . . . . . . . 9
⊢ (𝜑 → (1st
‘𝑌)(𝐶 Func 𝑄)(2nd ‘𝑌)) |
34 | 21, 31, 33 | funcf1 17180 |
. . . . . . . 8
⊢ (𝜑 → (1st
‘𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆)) |
35 | 34 | ffnd 6492 |
. . . . . . 7
⊢ (𝜑 → (1st
‘𝑌) Fn
(Base‘𝐶)) |
36 | | dffn3 6503 |
. . . . . . 7
⊢
((1st ‘𝑌) Fn (Base‘𝐶) ↔ (1st ‘𝑌):(Base‘𝐶)⟶ran (1st ‘𝑌)) |
37 | 35, 36 | sylib 221 |
. . . . . 6
⊢ (𝜑 → (1st
‘𝑌):(Base‘𝐶)⟶ran (1st
‘𝑌)) |
38 | 21, 22, 27, 30, 37 | ffthres2c 17254 |
. . . . 5
⊢ (𝜑 → ((1st
‘𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd ‘𝑌) ↔ (1st ‘𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd ‘𝑌))) |
39 | | df-br 5026 |
. . . . 5
⊢
((1st ‘𝑌)((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))(2nd ‘𝑌) ↔ 〈(1st ‘𝑌), (2nd ‘𝑌)〉 ∈ ((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄))) |
40 | | df-br 5026 |
. . . . 5
⊢
((1st ‘𝑌)((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))(2nd ‘𝑌) ↔ 〈(1st ‘𝑌), (2nd ‘𝑌)〉 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))) |
41 | 38, 39, 40 | 3bitr3g 317 |
. . . 4
⊢ (𝜑 → (〈(1st
‘𝑌), (2nd
‘𝑌)〉 ∈
((𝐶 Full 𝑄) ∩ (𝐶 Faith 𝑄)) ↔ 〈(1st ‘𝑌), (2nd ‘𝑌)〉 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)))) |
42 | 20, 41 | mpbid 235 |
. . 3
⊢ (𝜑 → 〈(1st
‘𝑌), (2nd
‘𝑌)〉 ∈
((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))) |
43 | 18, 42 | eqeltrd 2851 |
. 2
⊢ (𝜑 → 𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸))) |
44 | | fveq2 6651 |
. . . . . . . . 9
⊢
(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → (1st
‘((1st ‘𝑌)‘𝑥)) = (1st ‘((1st
‘𝑌)‘𝑦))) |
45 | 44 | fveq1d 6653 |
. . . . . . . 8
⊢
(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → ((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥) = ((1st ‘((1st
‘𝑌)‘𝑦))‘𝑥)) |
46 | 45 | fveq2d 6655 |
. . . . . . 7
⊢
(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥))) |
47 | | simpl 487 |
. . . . . . . . . 10
⊢ ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶)) |
48 | 47, 47 | jca 516 |
. . . . . . . . 9
⊢ ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) |
49 | | eleq1w 2833 |
. . . . . . . . . . . . 13
⊢ (𝑦 = 𝑥 → (𝑦 ∈ (Base‘𝐶) ↔ 𝑥 ∈ (Base‘𝐶))) |
50 | 49 | anbi2d 632 |
. . . . . . . . . . . 12
⊢ (𝑦 = 𝑥 → ((𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) ↔ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶)))) |
51 | 50 | anbi2d 632 |
. . . . . . . . . . 11
⊢ (𝑦 = 𝑥 → ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ↔ (𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))))) |
52 | | 2fveq3 6656 |
. . . . . . . . . . . . . 14
⊢ (𝑦 = 𝑥 → (1st
‘((1st ‘𝑌)‘𝑦)) = (1st ‘((1st
‘𝑌)‘𝑥))) |
53 | 52 | fveq1d 6653 |
. . . . . . . . . . . . 13
⊢ (𝑦 = 𝑥 → ((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥) = ((1st ‘((1st
‘𝑌)‘𝑥))‘𝑥)) |
54 | 53 | fveq2d 6655 |
. . . . . . . . . . . 12
⊢ (𝑦 = 𝑥 → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥)) = (𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥))) |
55 | | id 22 |
. . . . . . . . . . . 12
⊢ (𝑦 = 𝑥 → 𝑦 = 𝑥) |
56 | 54, 55 | eqeq12d 2775 |
. . . . . . . . . . 11
⊢ (𝑦 = 𝑥 → ((𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥)) = 𝑦 ↔ (𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥)) |
57 | 51, 56 | imbi12d 349 |
. . . . . . . . . 10
⊢ (𝑦 = 𝑥 → (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥)) = 𝑦) ↔ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥))) |
58 | 10 | adantr 485 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐶 ∈ Cat) |
59 | | simprr 773 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶)) |
60 | | eqid 2759 |
. . . . . . . . . . . . 13
⊢ (Hom
‘𝐶) = (Hom
‘𝐶) |
61 | | simprl 771 |
. . . . . . . . . . . . 13
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶)) |
62 | 2, 21, 58, 59, 60, 61 | yon11 17565 |
. . . . . . . . . . . 12
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥) = (𝑥(Hom ‘𝐶)𝑦)) |
63 | 62 | fveq2d 6655 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥)) = (𝐹‘(𝑥(Hom ‘𝐶)𝑦))) |
64 | | yoniso.1 |
. . . . . . . . . . 11
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘(𝑥(Hom ‘𝐶)𝑦)) = 𝑦) |
65 | 63, 64 | eqtrd 2794 |
. . . . . . . . . 10
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥)) = 𝑦) |
66 | 57, 65 | chvarvv 2006 |
. . . . . . . . 9
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑥 ∈ (Base‘𝐶))) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥) |
67 | 48, 66 | sylan2 596 |
. . . . . . . 8
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥)) = 𝑥) |
68 | 67, 65 | eqeq12d 2775 |
. . . . . . 7
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((𝐹‘((1st
‘((1st ‘𝑌)‘𝑥))‘𝑥)) = (𝐹‘((1st
‘((1st ‘𝑌)‘𝑦))‘𝑥)) ↔ 𝑥 = 𝑦)) |
69 | 46, 68 | syl5ib 247 |
. . . . . 6
⊢ ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → 𝑥 = 𝑦)) |
70 | 69 | ralrimivva 3118 |
. . . . 5
⊢ (𝜑 → ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → 𝑥 = 𝑦)) |
71 | | dff13 6998 |
. . . . 5
⊢
((1st ‘𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) ↔ ((1st ‘𝑌):(Base‘𝐶)⟶(𝑂 Func 𝑆) ∧ ∀𝑥 ∈ (Base‘𝐶)∀𝑦 ∈ (Base‘𝐶)(((1st ‘𝑌)‘𝑥) = ((1st ‘𝑌)‘𝑦) → 𝑥 = 𝑦))) |
72 | 34, 70, 71 | sylanbrc 587 |
. . . 4
⊢ (𝜑 → (1st
‘𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆)) |
73 | | f1f1orn 6606 |
. . . 4
⊢
((1st ‘𝑌):(Base‘𝐶)–1-1→(𝑂 Func 𝑆) → (1st ‘𝑌):(Base‘𝐶)–1-1-onto→ran
(1st ‘𝑌)) |
74 | 72, 73 | syl 17 |
. . 3
⊢ (𝜑 → (1st
‘𝑌):(Base‘𝐶)–1-1-onto→ran
(1st ‘𝑌)) |
75 | 34 | frnd 6498 |
. . . . 5
⊢ (𝜑 → ran (1st
‘𝑌) ⊆ (𝑂 Func 𝑆)) |
76 | 22, 31 | ressbas2 16598 |
. . . . 5
⊢ (ran
(1st ‘𝑌)
⊆ (𝑂 Func 𝑆) → ran (1st
‘𝑌) =
(Base‘𝐸)) |
77 | 75, 76 | syl 17 |
. . . 4
⊢ (𝜑 → ran (1st
‘𝑌) =
(Base‘𝐸)) |
78 | 77 | f1oeq3d 6592 |
. . 3
⊢ (𝜑 → ((1st
‘𝑌):(Base‘𝐶)–1-1-onto→ran
(1st ‘𝑌)
↔ (1st ‘𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸))) |
79 | 74, 78 | mpbid 235 |
. 2
⊢ (𝜑 → (1st
‘𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸)) |
80 | | eqid 2759 |
. . 3
⊢
(Base‘𝐸) =
(Base‘𝐸) |
81 | | yoniso.eb |
. . 3
⊢ (𝜑 → 𝐸 ∈ 𝐵) |
82 | | yoniso.i |
. . 3
⊢ 𝐼 = (Iso‘𝐷) |
83 | 3, 4, 21, 80, 5, 9, 81, 82 | catciso 17418 |
. 2
⊢ (𝜑 → (𝑌 ∈ (𝐶𝐼𝐸) ↔ (𝑌 ∈ ((𝐶 Full 𝐸) ∩ (𝐶 Faith 𝐸)) ∧ (1st ‘𝑌):(Base‘𝐶)–1-1-onto→(Base‘𝐸)))) |
84 | 43, 79, 83 | mpbir2and 713 |
1
⊢ (𝜑 → 𝑌 ∈ (𝐶𝐼𝐸)) |