Step |
Hyp |
Ref |
Expression |
1 |
|
hofval.m |
⊢ 𝑀 = ( HomF ‘ 𝐶 ) |
2 |
|
hofval.c |
⊢ ( 𝜑 → 𝐶 ∈ Cat ) |
3 |
|
hofval.b |
⊢ 𝐵 = ( Base ‘ 𝐶 ) |
4 |
|
hofval.h |
⊢ 𝐻 = ( Hom ‘ 𝐶 ) |
5 |
|
hofval.o |
⊢ · = ( comp ‘ 𝐶 ) |
6 |
|
df-hof |
⊢ HomF = ( 𝑐 ∈ Cat ↦ 〈 ( Homf ‘ 𝑐 ) , ⦋ ( Base ‘ 𝑐 ) / 𝑏 ⦌ ( 𝑥 ∈ ( 𝑏 × 𝑏 ) , 𝑦 ∈ ( 𝑏 × 𝑏 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) ( Hom ‘ 𝑐 ) ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) ( Hom ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 ) |
7 |
|
simpr |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → 𝑐 = 𝐶 ) |
8 |
7
|
fveq2d |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → ( Homf ‘ 𝑐 ) = ( Homf ‘ 𝐶 ) ) |
9 |
|
fvexd |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → ( Base ‘ 𝑐 ) ∈ V ) |
10 |
7
|
fveq2d |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → ( Base ‘ 𝑐 ) = ( Base ‘ 𝐶 ) ) |
11 |
10 3
|
eqtr4di |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → ( Base ‘ 𝑐 ) = 𝐵 ) |
12 |
|
simpr |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → 𝑏 = 𝐵 ) |
13 |
12
|
sqxpeqd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( 𝑏 × 𝑏 ) = ( 𝐵 × 𝐵 ) ) |
14 |
|
simplr |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → 𝑐 = 𝐶 ) |
15 |
14
|
fveq2d |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( Hom ‘ 𝑐 ) = ( Hom ‘ 𝐶 ) ) |
16 |
15 4
|
eqtr4di |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( Hom ‘ 𝑐 ) = 𝐻 ) |
17 |
16
|
oveqd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( ( 1st ‘ 𝑦 ) ( Hom ‘ 𝑐 ) ( 1st ‘ 𝑥 ) ) = ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) ) |
18 |
16
|
oveqd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( ( 2nd ‘ 𝑥 ) ( Hom ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) = ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ) |
19 |
16
|
fveq1d |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) = ( 𝐻 ‘ 𝑥 ) ) |
20 |
14
|
fveq2d |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( comp ‘ 𝑐 ) = ( comp ‘ 𝐶 ) ) |
21 |
20 5
|
eqtr4di |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( comp ‘ 𝑐 ) = · ) |
22 |
21
|
oveqd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) = ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) ) |
23 |
21
|
oveqd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) = ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ) |
24 |
23
|
oveqd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) = ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ) |
25 |
|
eqidd |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → 𝑓 = 𝑓 ) |
26 |
22 24 25
|
oveq123d |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) = ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) |
27 |
19 26
|
mpteq12dv |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( ℎ ∈ ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) = ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) |
28 |
17 18 27
|
mpoeq123dv |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) ( Hom ‘ 𝑐 ) ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) ( Hom ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) = ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) |
29 |
13 13 28
|
mpoeq123dv |
⊢ ( ( ( 𝜑 ∧ 𝑐 = 𝐶 ) ∧ 𝑏 = 𝐵 ) → ( 𝑥 ∈ ( 𝑏 × 𝑏 ) , 𝑦 ∈ ( 𝑏 × 𝑏 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) ( Hom ‘ 𝑐 ) ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) ( Hom ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) = ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) ) |
30 |
9 11 29
|
csbied2 |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → ⦋ ( Base ‘ 𝑐 ) / 𝑏 ⦌ ( 𝑥 ∈ ( 𝑏 × 𝑏 ) , 𝑦 ∈ ( 𝑏 × 𝑏 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) ( Hom ‘ 𝑐 ) ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) ( Hom ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) = ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) ) |
31 |
8 30
|
opeq12d |
⊢ ( ( 𝜑 ∧ 𝑐 = 𝐶 ) → 〈 ( Homf ‘ 𝑐 ) , ⦋ ( Base ‘ 𝑐 ) / 𝑏 ⦌ ( 𝑥 ∈ ( 𝑏 × 𝑏 ) , 𝑦 ∈ ( 𝑏 × 𝑏 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) ( Hom ‘ 𝑐 ) ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) ( Hom ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( ( Hom ‘ 𝑐 ) ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 ( comp ‘ 𝑐 ) ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 = 〈 ( Homf ‘ 𝐶 ) , ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 ) |
32 |
|
opex |
⊢ 〈 ( Homf ‘ 𝐶 ) , ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 ∈ V |
33 |
32
|
a1i |
⊢ ( 𝜑 → 〈 ( Homf ‘ 𝐶 ) , ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 ∈ V ) |
34 |
6 31 2 33
|
fvmptd2 |
⊢ ( 𝜑 → ( HomF ‘ 𝐶 ) = 〈 ( Homf ‘ 𝐶 ) , ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 ) |
35 |
1 34
|
eqtrid |
⊢ ( 𝜑 → 𝑀 = 〈 ( Homf ‘ 𝐶 ) , ( 𝑥 ∈ ( 𝐵 × 𝐵 ) , 𝑦 ∈ ( 𝐵 × 𝐵 ) ↦ ( 𝑓 ∈ ( ( 1st ‘ 𝑦 ) 𝐻 ( 1st ‘ 𝑥 ) ) , 𝑔 ∈ ( ( 2nd ‘ 𝑥 ) 𝐻 ( 2nd ‘ 𝑦 ) ) ↦ ( ℎ ∈ ( 𝐻 ‘ 𝑥 ) ↦ ( ( 𝑔 ( 𝑥 · ( 2nd ‘ 𝑦 ) ) ℎ ) ( 〈 ( 1st ‘ 𝑦 ) , ( 1st ‘ 𝑥 ) 〉 · ( 2nd ‘ 𝑦 ) ) 𝑓 ) ) ) ) 〉 ) |