Step | Hyp | Ref
| Expression |
1 | | hofval.m |
. 2
⊢ 𝑀 =
(HomF‘𝐶) |
2 | | df-hof 16713 |
. . . 4
⊢
HomF = (𝑐 ∈ Cat ↦
〈(Homf ‘𝑐), ⦋(Base‘𝑐) / 𝑏⦌(𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ (𝑏 × 𝑏) ↦ (𝑓 ∈ ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) ↦ (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓))))〉) |
3 | 2 | a1i 11 |
. . 3
⊢ (𝜑 → HomF =
(𝑐 ∈ Cat ↦
〈(Homf ‘𝑐), ⦋(Base‘𝑐) / 𝑏⦌(𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ (𝑏 × 𝑏) ↦ (𝑓 ∈ ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) ↦ (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓))))〉)) |
4 | | simpr 476 |
. . . . 5
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → 𝑐 = 𝐶) |
5 | 4 | fveq2d 6107 |
. . . 4
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → (Homf
‘𝑐) =
(Homf ‘𝐶)) |
6 | | fvex 6113 |
. . . . . 6
⊢
(Base‘𝑐)
∈ V |
7 | 6 | a1i 11 |
. . . . 5
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → (Base‘𝑐) ∈ V) |
8 | 4 | fveq2d 6107 |
. . . . . 6
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → (Base‘𝑐) = (Base‘𝐶)) |
9 | | hofval.b |
. . . . . 6
⊢ 𝐵 = (Base‘𝐶) |
10 | 8, 9 | syl6eqr 2662 |
. . . . 5
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → (Base‘𝑐) = 𝐵) |
11 | | simpr 476 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → 𝑏 = 𝐵) |
12 | 11 | sqxpeqd 5065 |
. . . . . 6
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (𝑏 × 𝑏) = (𝐵 × 𝐵)) |
13 | | simplr 788 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → 𝑐 = 𝐶) |
14 | 13 | fveq2d 6107 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = (Hom ‘𝐶)) |
15 | | hofval.h |
. . . . . . . . 9
⊢ 𝐻 = (Hom ‘𝐶) |
16 | 14, 15 | syl6eqr 2662 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (Hom ‘𝑐) = 𝐻) |
17 | 16 | oveqd 6566 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)) = ((1st ‘𝑦)𝐻(1st ‘𝑥))) |
18 | 16 | oveqd 6566 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) = ((2nd ‘𝑥)𝐻(2nd ‘𝑦))) |
19 | 16 | fveq1d 6105 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → ((Hom ‘𝑐)‘𝑥) = (𝐻‘𝑥)) |
20 | 13 | fveq2d 6107 |
. . . . . . . . . . 11
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (comp‘𝑐) = (comp‘𝐶)) |
21 | | hofval.o |
. . . . . . . . . . 11
⊢ · =
(comp‘𝐶) |
22 | 20, 21 | syl6eqr 2662 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (comp‘𝑐) = · ) |
23 | 22 | oveqd 6566 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦)) = (〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))) |
24 | 22 | oveqd 6566 |
. . . . . . . . . 10
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (𝑥(comp‘𝑐)(2nd ‘𝑦)) = (𝑥 · (2nd
‘𝑦))) |
25 | 24 | oveqd 6566 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ) = (𝑔(𝑥 · (2nd
‘𝑦))ℎ)) |
26 | | eqidd 2611 |
. . . . . . . . 9
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → 𝑓 = 𝑓) |
27 | 23, 25, 26 | oveq123d 6570 |
. . . . . . . 8
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓) = ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓)) |
28 | 19, 27 | mpteq12dv 4663 |
. . . . . . 7
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓)) = (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))) |
29 | 17, 18, 28 | mpt2eq123dv 6615 |
. . . . . 6
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (𝑓 ∈ ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) ↦ (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓))) = (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓)))) |
30 | 12, 12, 29 | mpt2eq123dv 6615 |
. . . . 5
⊢ (((𝜑 ∧ 𝑐 = 𝐶) ∧ 𝑏 = 𝐵) → (𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ (𝑏 × 𝑏) ↦ (𝑓 ∈ ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) ↦ (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓)))) = (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))) |
31 | 7, 10, 30 | csbied2 3527 |
. . . 4
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → ⦋(Base‘𝑐) / 𝑏⦌(𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ (𝑏 × 𝑏) ↦ (𝑓 ∈ ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) ↦ (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓)))) = (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))) |
32 | 5, 31 | opeq12d 4348 |
. . 3
⊢ ((𝜑 ∧ 𝑐 = 𝐶) → 〈(Homf
‘𝑐),
⦋(Base‘𝑐) / 𝑏⦌(𝑥 ∈ (𝑏 × 𝑏), 𝑦 ∈ (𝑏 × 𝑏) ↦ (𝑓 ∈ ((1st ‘𝑦)(Hom ‘𝑐)(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)(Hom ‘𝑐)(2nd ‘𝑦)) ↦ (ℎ ∈ ((Hom ‘𝑐)‘𝑥) ↦ ((𝑔(𝑥(comp‘𝑐)(2nd ‘𝑦))ℎ)(〈(1st ‘𝑦), (1st ‘𝑥)〉(comp‘𝑐)(2nd ‘𝑦))𝑓))))〉 = 〈(Homf
‘𝐶), (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))〉) |
33 | | hofval.c |
. . 3
⊢ (𝜑 → 𝐶 ∈ Cat) |
34 | | opex 4859 |
. . . 4
⊢
〈(Homf ‘𝐶), (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))〉 ∈ V |
35 | 34 | a1i 11 |
. . 3
⊢ (𝜑 →
〈(Homf ‘𝐶), (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))〉 ∈ V) |
36 | 3, 32, 33, 35 | fvmptd 6197 |
. 2
⊢ (𝜑 →
(HomF‘𝐶) = 〈(Homf
‘𝐶), (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))〉) |
37 | 1, 36 | syl5eq 2656 |
1
⊢ (𝜑 → 𝑀 = 〈(Homf
‘𝐶), (𝑥 ∈ (𝐵 × 𝐵), 𝑦 ∈ (𝐵 × 𝐵) ↦ (𝑓 ∈ ((1st ‘𝑦)𝐻(1st ‘𝑥)), 𝑔 ∈ ((2nd ‘𝑥)𝐻(2nd ‘𝑦)) ↦ (ℎ ∈ (𝐻‘𝑥) ↦ ((𝑔(𝑥 · (2nd
‘𝑦))ℎ)(〈(1st
‘𝑦), (1st
‘𝑥)〉 ·
(2nd ‘𝑦))𝑓))))〉) |