Description: Cancellation of an embedded floor of a ratio. Generalization of Equation 2.4 in CormenLeisersonRivest p. 33 (where A must be an integer). (Contributed by NM, 9-Nov-2008)
Ref | Expression | ||
---|---|---|---|
Assertion | fldiv2 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nndivre | |
|
2 | fldiv | |
|
3 | 1 2 | stoic3 | |
4 | recn | |
|
5 | nncn | |
|
6 | nnne0 | |
|
7 | 5 6 | jca | |
8 | nncn | |
|
9 | nnne0 | |
|
10 | 8 9 | jca | |
11 | divdiv1 | |
|
12 | 4 7 10 11 | syl3an | |
13 | 12 | fveq2d | |
14 | 3 13 | eqtrd | |