Description: Example usage of decpmul . This proof is significantly longer than 235t711 . There is more unnecessary carrying compared to 235t711 . Although saving 5 visual steps, using mulcomli early on increases the compressed proof length. (Contributed by Steven Nguyen, 10-Dec-2022) (New usage is discouraged.) (Proof modification is discouraged.)
Ref | Expression | ||
---|---|---|---|
Assertion | ex-decpmul |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 2nn0 | ||
2 | 3nn0 | ||
3 | 1 2 | deccl | |
4 | 5nn0 | ||
5 | 7nn0 | ||
6 | 1nn0 | ||
7 | 5 6 | deccl | |
8 | eqid | ||
9 | 6nn0 | ||
10 | 6 9 | deccl | |
11 | eqid | ||
12 | 4nn0 | ||
13 | 7cn | ||
14 | 2cn | ||
15 | 7t2e14 | ||
16 | 13 14 15 | mulcomli | |
17 | 4p2e6 | ||
18 | 6 12 1 16 17 | decaddi | |
19 | 3cn | ||
20 | 7t3e21 | ||
21 | 13 19 20 | mulcomli | |
22 | 5 1 2 11 6 1 18 21 | decmul1c | |
23 | 1p2e3 | ||
24 | 10 6 1 22 23 | decaddi | |
25 | 3 | nn0cni | |
26 | 25 | mulid1i | |
27 | 3 5 6 8 2 1 24 26 | decmul2c | |
28 | 2 4 | deccl | |
29 | 7 | nn0cni | |
30 | 5cn | ||
31 | 7t5e35 | ||
32 | 30 | mulid2i | |
33 | 4 5 6 8 31 32 | decmul1 | |
34 | 29 30 33 | mulcomli | |
35 | 28 | nn0cni | |
36 | eqid | ||
37 | 5p2e7 | ||
38 | 2 4 1 36 37 | decaddi | |
39 | 35 14 38 | addcomli | |
40 | 5p3e8 | ||
41 | 30 19 40 | addcomli | |
42 | 1 2 28 4 26 34 39 41 | decadd | |
43 | 30 | mulid1i | |
44 | 4 | dec0h | |
45 | 43 44 | eqtri | |
46 | 10 2 | deccl | |
47 | 46 2 | deccl | |
48 | 0nn0 | ||
49 | 2 5 | deccl | |
50 | 8nn0 | ||
51 | eqid | ||
52 | eqid | ||
53 | eqid | ||
54 | eqid | ||
55 | eqid | ||
56 | 3p3e6 | ||
57 | 10 2 2 55 56 | decaddi | |
58 | 6p1e7 | ||
59 | 10 9 6 57 58 | decaddi | |
60 | 7p3e10 | ||
61 | 13 19 60 | addcomli | |
62 | 46 2 2 5 53 54 59 61 | decaddc2 | |
63 | 8cn | ||
64 | 63 | addid2i | |
65 | 47 48 49 50 51 52 62 64 | decadd | |
66 | 3 4 7 6 27 42 45 65 48 4 | decpmul |