Description: Value of the binomial coefficient, N choose K . Definition of binomial coefficient in Gleason p. 295. As suggested by Gleason, we define it to be 0 when 0 <_ K <_ N does not hold. See bcval2 for the value in the standard domain. (Contributed by NM, 10-Jul-2005) (Revised by Mario Carneiro, 7-Nov-2013)
Ref | Expression | ||
---|---|---|---|
Assertion | bcval | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq2 | |
|
2 | 1 | eleq2d | |
3 | fveq2 | |
|
4 | fvoveq1 | |
|
5 | 4 | oveq1d | |
6 | 3 5 | oveq12d | |
7 | 2 6 | ifbieq1d | |
8 | eleq1 | |
|
9 | oveq2 | |
|
10 | 9 | fveq2d | |
11 | fveq2 | |
|
12 | 10 11 | oveq12d | |
13 | 12 | oveq2d | |
14 | 8 13 | ifbieq1d | |
15 | df-bc | |
|
16 | ovex | |
|
17 | c0ex | |
|
18 | 16 17 | ifex | |
19 | 7 14 15 18 | ovmpo | |