Details

Time bar (total: 21.7s)

analyze1.5s (6.8%)

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)

sample310.0ms (1.4%)

Algorithm
intervals
Results
153.0ms55×body2048valid
83.0ms83×body1024valid
23.0ms40×body512valid
7.0ms61×body128valid
5.0msbody1024invalid
4.0msbody4096valid
4.0ms16×body256valid
3.0msbody512invalid
2.0msbody128invalid
1.0msbody256invalid
1.0msbody128nan
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify319.0ms (1.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
0496622
1496622

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 44.6b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize17.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.4b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
6.6b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
9.4b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite350.0ms (1.6%)

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:

125.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
42.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
22.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
16.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

series3.4s (15.5%)

Counts
4 → 12
Calls

4 calls:

1.1s
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
1.0s
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
650.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
548.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify297.0ms (1.4%)

Algorithm
egg-herbie
Counts
460 → 460
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0509714768

prune1.4s (6.4%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New4555460
Fresh000
Picked101
Done000
Total4565461

Merged error: 17.2b

Counts
461 → 5
Compiler

Compiled 13947 to 7324 computations (47.5% saved)

localize22.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.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.3b
(*.f64 1/6 i)
16.6b
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))

rewrite124.0ms (0.6%)

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:

36.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
17.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
15.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
12.0ms
(*.f64 1/6 i)

series547.0ms (2.5%)

Counts
4 → 12
Calls

4 calls:

180.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
165.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
156.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
46.0ms
(*.f64 1/6 i)

simplify145.0ms (0.7%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
056245462

prune521.0ms (2.4%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New18011191
Fresh044
Picked101
Done000
Total18115196

Merged error: 7.6b

Counts
196 → 15
Compiler

Compiled 5863 to 3218 computations (45.1% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite58.0ms (0.3%)

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

4 calls:

14.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))
12.0ms
(*.f64 i (+.f64 1/2 (*.f64 i 1/6)))
11.0ms
(*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))))
7.0ms
(*.f64 i 1/6)

series512.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

167.0ms
(*.f64 100 (+.f64 n (*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))))
159.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 i 1/6))))
143.0ms
(*.f64 i (+.f64 1/2 (*.f64 i 1/6)))
42.0ms
(*.f64 i 1/6)

simplify95.0ms (0.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049431381
149431381

prune209.0ms (1%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New96298
Fresh21214
Picked101
Done000
Total9914113

Merged error: 7.6b

Counts
113 → 14
Compiler

Compiled 2149 to 1537 computations (28.5% saved)

localize29.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.0b
(cbrt.f64 1/6)
1.0b
(cbrt.f64 1/6)
1.0b
(cbrt.f64 1/6)
1.9b
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 (*.f64 i (*.f64 (cbrt.f64 1/6) (cbrt.f64 1/6))) (cbrt.f64 1/6)))))

rewrite33.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64_2471 cbrt-prod_binary64_2464 add-cbrt-cube_binary64_2469 pow1_binary64_2494
add-sqr-sqrt_binary64_2457 add-cube-cbrt_binary64_2468 *-un-lft-identity_binary64_2436
distribute-rgt-in_binary64_2388 add-log-exp_binary64_2472 associate-*r/_binary64_2380 distribute-lft-in_binary64_2387
pow1/3_binary64_2515 prod-exp_binary64_2482 pow-prod-down_binary64_2504 cbrt-unprod_binary64_2466 associate-*l*_binary64_2379
flip3-+_binary64_2439 flip-+_binary64_2410 *-commutative_binary64_2369 associate-*r*_binary64_2378
Counts
4 → 57
Calls

4 calls:

15.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 (*.f64 i (*.f64 (cbrt.f64 1/6) (cbrt.f64 1/6))) (cbrt.f64 1/6)))))
3.0ms
(cbrt.f64 1/6)
3.0ms
(cbrt.f64 1/6)
3.0ms
(cbrt.f64 1/6)

series298.0ms (1.4%)

Counts
4 → 6
Calls

4 calls:

297.0ms
(*.f64 n (*.f64 i (+.f64 1/2 (*.f64 (*.f64 i (*.f64 (cbrt.f64 1/6) (cbrt.f64 1/6))) (cbrt.f64 1/6)))))
0.0ms
(cbrt.f64 1/6)
0.0ms
(cbrt.f64 1/6)
0.0ms
(cbrt.f64 1/6)

simplify136.0ms (0.6%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
04947637
14947637

prune140.0ms (0.6%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New62163
Fresh01313
Picked101
Done000
Total631477

Merged error: 7.6b

Counts
77 → 14
Compiler

Compiled 1361 to 1083 computations (20.4% saved)

regimes283.0ms (1.3%)

Compiler

Compiled 754 to 540 computations (28.4% saved)

bsearch218.0ms (1%)

Steps
ItersRangePoint
5
9.982255063804125
31.383630798498903
13.623857027906789
9
-160423.5480050719
-0.17586239670600753
-0.183119611805929
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04573
14573

end0.0ms (0%)

sample10.7s (49.6%)

Algorithm
intervals
Results
5.0s1779×body2048valid
2.9s2626×body1024valid
610.0ms1155×body512valid
239.0ms1848×body128valid
213.0ms194×body1024invalid
198.0ms40×body4096valid
161.0ms552×body256valid
143.0ms214×body512invalid
77.0ms433×body128invalid
59.0ms148×body256invalid
53.0ms21×body2048invalid
30.0ms357×body128nan
Compiler

Compiled 478 to 342 computations (28.5% saved)

Profiling

Loading profile data...