Description: Sum and difference of half-sum and half-difference. (Contributed by Paul Chapman, 12-Oct-2007)
Ref | Expression | ||
---|---|---|---|
Assertion | halfaddsub | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ppncan | |
|
2 | 1 | 3anidm13 | |
3 | 2times | |
|
4 | 3 | adantr | |
5 | 2 4 | eqtr4d | |
6 | 5 | oveq1d | |
7 | addcl | |
|
8 | subcl | |
|
9 | 2cnne0 | |
|
10 | divdir | |
|
11 | 9 10 | mp3an3 | |
12 | 7 8 11 | syl2anc | |
13 | 2cn | |
|
14 | 2ne0 | |
|
15 | divcan3 | |
|
16 | 13 14 15 | mp3an23 | |
17 | 16 | adantr | |
18 | 6 12 17 | 3eqtr3d | |
19 | pnncan | |
|
20 | 19 | 3anidm23 | |
21 | 2times | |
|
22 | 21 | adantl | |
23 | 20 22 | eqtr4d | |
24 | 23 | oveq1d | |
25 | divsubdir | |
|
26 | 9 25 | mp3an3 | |
27 | 7 8 26 | syl2anc | |
28 | divcan3 | |
|
29 | 13 14 28 | mp3an23 | |
30 | 29 | adantl | |
31 | 24 27 30 | 3eqtr3d | |
32 | 18 31 | jca | |