Description: Value of the representations of M as the sum of S nonnegative integers in a given set A . (Contributed by Thierry Arnoux, 1-Dec-2021)
Ref | Expression | ||
---|---|---|---|
Hypotheses | reprval.a | |
|
reprval.m | |
||
reprval.s | |
||
Assertion | reprval | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | reprval.a | |
|
2 | reprval.m | |
|
3 | reprval.s | |
|
4 | df-repr | |
|
5 | oveq2 | |
|
6 | 5 | oveq2d | |
7 | 5 | sumeq1d | |
8 | 7 | eqeq1d | |
9 | 6 8 | rabeqbidv | |
10 | 9 | mpoeq3dv | |
11 | nnex | |
|
12 | 11 | pwex | |
13 | zex | |
|
14 | 12 13 | mpoex | |
15 | 14 | a1i | |
16 | 4 10 3 15 | fvmptd3 | |
17 | simprl | |
|
18 | 17 | oveq1d | |
19 | simprr | |
|
20 | 19 | eqeq2d | |
21 | 18 20 | rabeqbidv | |
22 | 11 | a1i | |
23 | 22 1 | ssexd | |
24 | 23 1 | elpwd | |
25 | ovex | |
|
26 | 25 | rabex | |
27 | 26 | a1i | |
28 | 16 21 24 2 27 | ovmpod | |