Details

Time bar (total: 13.2s)

analyze858.0ms (6.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
3.1%96.8%0.1%6
15.6%81.2%3.2%7
23.4%72.6%4%8
32.4%56.2%11.4%9
36.3%51.7%12%10
40.7%42.9%16.4%11
42.6%40.3%17.1%12
44.5%36%19.4%13
45.5%34.5%20%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample184.0ms (1.4%)

Algorithm
intervals
Results
81.0ms53×body2048valid
60.0ms94×body1024valid
9.0ms34×body512valid
7.0msbody4096valid
4.0ms56×body128valid
3.0ms17×body256valid
2.0ms21×body128invalid
2.0msbody2048invalid
2.0msbody512invalid
1.0msbody1024invalid
1.0msbody256invalid
0.0msbody128nan
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify182.0ms (1.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
0496622
1496622

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 45.8b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
0.8b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
7.0b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
9.9b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite177.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64_2442
485×add-sqr-sqrt_binary64_2457
366×*-un-lft-identity_binary64_2436
224×add-cube-cbrt_binary64_2468
174×associate-*r*_binary64_2378
168×difference-of-squares_binary64_2405
88×unpow-prod-down_binary64_2512
85×sqr-pow_binary64_2408
84×difference-of-sqr-1_binary64_2406
29×div-inv_binary64_2433
28×distribute-lft-out--_binary64_2390
19×add-exp-log_binary64_2471
18×add-cbrt-cube_binary64_2469
13×associate-/l*_binary64_2383 associate-/r*_binary64_2382
pow1_binary64_2494
cbrt-undiv_binary64_2467 add-log-exp_binary64_2472 div-exp_binary64_2484
prod-exp_binary64_2482 pow-unpow_binary64_2510 cbrt-unprod_binary64_2466 unswap-sqr_binary64_2404 associate-*l*_binary64_2379
associate-/r/_binary64_2384 flip3--_binary64_2440 associate-/l/_binary64_2385 flip--_binary64_2411
distribute-lft-out_binary64_2389 *-commutative_binary64_2369 diff-log_binary64_2525 pow-prod-down_binary64_2504 associate-*r/_binary64_2380 pow-to-exp_binary64_2502 clear-num_binary64_2435 pow-exp_binary64_2501 pow-pow_binary64_2505 div-sub_binary64_2441 frac-2neg_binary64_2447 sub-neg_binary64_2429
Counts
4 → 448
Calls

4 calls:

57.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
23.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
15.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
8.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

series1.9s (14.2%)

Counts
4 → 12
Calls

4 calls:

629.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
579.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
350.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
311.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify155.0ms (1.2%)

Algorithm
egg-herbie
Counts
460 → 460
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
0509714768

prune984.0ms (7.5%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4537460
Fresh000
Picked101
Done000
Total4547461

Merged error: 17.4b

Counts
461 → 7
Compiler

Compiled 13967 to 7341 computations (47.4% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
0.1b
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
0.4b
(*.f64 1/6 i)
16.4b
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))

rewrite66.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64_2442
97×add-sqr-sqrt_binary64_2457
85×add-cube-cbrt_binary64_2468 *-un-lft-identity_binary64_2436
50×associate-*r*_binary64_2378
25×add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469
13×associate-/r*_binary64_2382 pow1_binary64_2494
div-inv_binary64_2433
prod-exp_binary64_2482 cbrt-unprod_binary64_2466 associate-*l*_binary64_2379
cbrt-undiv_binary64_2467 div-exp_binary64_2484
pow-prod-down_binary64_2504 unswap-sqr_binary64_2404
add-log-exp_binary64_2472
*-commutative_binary64_2369 associate-/l*_binary64_2383 associate-*r/_binary64_2380
flip3-+_binary64_2439 flip-+_binary64_2410 associate-/r/_binary64_2384 associate-/l/_binary64_2385
distribute-rgt-in_binary64_2388 clear-num_binary64_2435 frac-2neg_binary64_2447 distribute-lft-in_binary64_2387
Counts
4 → 179
Calls

4 calls:

18.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
9.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
8.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
4.0ms
(*.f64 1/6 i)

series292.0ms (2.2%)

Counts
4 → 12
Calls

4 calls:

91.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
91.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
86.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
24.0ms
(*.f64 1/6 i)

simplify79.0ms (0.6%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
056245462

prune323.0ms (2.4%)

Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New18110191
Fresh066
Picked101
Done000
Total18216198

Merged error: 7.1b

Counts
198 → 16
Compiler

Compiled 5794 to 3185 computations (45% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 50 (*.f64 50/3 i))
0.0b
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
0.5b
(*.f64 50/3 i)
3.1b
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))

rewrite23.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64_2457
10×add-exp-log_binary64_2471 add-cube-cbrt_binary64_2468 add-cbrt-cube_binary64_2469 *-un-lft-identity_binary64_2436 pow1_binary64_2494
associate-*r*_binary64_2378 associate-*l*_binary64_2379
add-log-exp_binary64_2472
associate-*r/_binary64_2380
flip3-+_binary64_2439 prod-exp_binary64_2482 flip-+_binary64_2410 *-commutative_binary64_2369 pow-prod-down_binary64_2504 cbrt-unprod_binary64_2466 unswap-sqr_binary64_2404
distribute-rgt-in_binary64_2388 distribute-lft-in_binary64_2387
sum-log_binary64_2524 +-commutative_binary64_2368
Counts
4 → 73
Calls

4 calls:

6.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))
6.0ms
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
4.0ms
(*.f64 50/3 i)
3.0ms
(+.f64 50 (*.f64 50/3 i))

series235.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

89.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))
82.0ms
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
42.0ms
(+.f64 50 (*.f64 50/3 i))
22.0ms
(*.f64 50/3 i)

simplify51.0ms (0.4%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
057471060

prune106.0ms (0.8%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh01515
Picked011
Done000
Total8417101

Merged error: 7.1b

Counts
101 → 17
Compiler

Compiled 1690 to 1269 computations (24.9% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
0.4b
(*.f64 1/6 i)
1.6b
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 1 n))
11.9b
(*.f64 (/.f64 100 i) (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 1 n)))

rewrite78.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
164×times-frac_binary64_2442
122×add-sqr-sqrt_binary64_2457
93×*-un-lft-identity_binary64_2436
91×add-cube-cbrt_binary64_2468
55×add-exp-log_binary64_2471
50×associate-*r*_binary64_2378
37×add-cbrt-cube_binary64_2469
23×div-exp_binary64_2484
17×associate-*l*_binary64_2379
14×prod-exp_binary64_2482
13×associate-/r*_binary64_2382 pow1_binary64_2494
12×cbrt-undiv_binary64_2467
10×div-inv_binary64_2433 cbrt-unprod_binary64_2466 unswap-sqr_binary64_2404
pow-prod-down_binary64_2504
add-log-exp_binary64_2472
*-commutative_binary64_2369 rec-exp_binary64_2483 associate-/l*_binary64_2383 1-exp_binary64_2477 associate-*r/_binary64_2380
flip3-+_binary64_2439 flip-+_binary64_2410 associate-/r/_binary64_2384 associate-/l/_binary64_2385
distribute-rgt-in_binary64_2388 clear-num_binary64_2435 frac-2neg_binary64_2447 associate-*l/_binary64_2381 frac-times_binary64_2446 distribute-lft-in_binary64_2387
Counts
4 → 208
Calls

4 calls:

29.0ms
(*.f64 (/.f64 100 i) (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 1 n)))
10.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 1 n))
8.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
4.0ms
(*.f64 1/6 i)

series277.0ms (2.1%)

Counts
4 → 12
Calls

4 calls:

101.0ms
(*.f64 (/.f64 100 i) (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 1 n)))
90.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
59.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 1 n))
27.0ms
(*.f64 1/6 i)

simplify102.0ms (0.8%)

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049366290
149366290

prune367.0ms (2.8%)

Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New2182220
Fresh41115
Picked011
Done011
Total22215237

Merged error: 7.1b

Counts
237 → 15
Compiler

Compiled 6377 to 4033 computations (36.8% saved)

regimes194.0ms (1.5%)

Compiler

Compiled 1010 to 747 computations (26% saved)

bsearch292.0ms (2.2%)

Steps
ItersRangePoint
9
1.7348189760282097e-23
3.3746085799148312e-18
3.344734511806178e-18
8
7.446584598917272e-186
4.022749768151908e-183
1.206767779907382e-183
7
-53582.71594587509
-1566.8462726361977
-1587.2666382638245
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063103
163103

end0.0ms (0%)

sample6.2s (47.3%)

Algorithm
intervals
Results
2.9s1794×body2048valid
1.6s2622×body1024valid
338.0ms1130×body512valid
137.0ms1822×body128valid
125.0ms200×body1024invalid
106.0ms603×body256valid
89.0ms29×body4096valid
85.0ms221×body512invalid
49.0ms485×body128invalid
34.0ms149×body256invalid
25.0ms18×body2048invalid
17.0ms361×body128nan
Compiler

Compiled 438 to 315 computations (28.1% saved)

Profiling

Loading profile data...