Details

Time bar (total: 13.2s)

analyze777.0ms (5.9%)

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%35.7%19.8%13
45.5%34.4%20.1%14
Compiler

Compiled 16 to 12 computations (25% saved)

sample149.0ms (1.1%)

Algorithm
intervals
Results
63.0ms48×body2048valid
53.0ms98×body1024valid
11.0ms41×body512valid
4.0ms58×body128valid
2.0msbody1024invalid
2.0ms11×body256valid
1.0msbody256invalid
1.0ms11×body128invalid
1.0msbody2048invalid
1.0msbody512invalid
1.0ms11×body128nan
Compiler

Compiled 31 to 25 computations (19.4% saved)

simplify165.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
0503622

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 47.2b

Counts
2 → 1
Compiler

Compiled 30 to 22 computations (26.7% saved)

localize12.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)))
1.3b
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
5.8b
(pow.f64 (+.f64 1 (/.f64 i n)) n)
9.4b
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))

rewrite167.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
584×times-frac_binary64_2812
486×add-sqr-sqrt_binary64_2828
367×*-un-lft-identity_binary64_2806
225×add-cube-cbrt_binary64_2841
174×associate-*r*_binary64_2746
168×difference-of-squares_binary64_2775
88×unpow-prod-down_binary64_2885
85×sqr-pow_binary64_2778
84×difference-of-sqr-1_binary64_2776
29×div-inv_binary64_2803
28×distribute-lft-out--_binary64_2758
19×add-exp-log_binary64_2844
18×add-cbrt-cube_binary64_2842
13×associate-/r*_binary64_2750 associate-/l*_binary64_2751
pow1_binary64_2867
div-exp_binary64_2857 cbrt-undiv_binary64_2840 add-log-exp_binary64_2845
associate-*l*_binary64_2747 cancel-sign-sub-inv_binary64_2772 prod-exp_binary64_2855 pow-unpow_binary64_2883 cbrt-unprod_binary64_2839 unswap-sqr_binary64_2774
associate-/l/_binary64_2753 flip3--_binary64_2810 flip--_binary64_2781 associate-/r/_binary64_2752
pow-exp_binary64_2874 distribute-lft-out_binary64_2757 *-commutative_binary64_2737 div-sub_binary64_2811 pow-pow_binary64_2878 diff-log_binary64_2898 sub-neg_binary64_2799 pow-to-exp_binary64_2875 clear-num_binary64_2805 associate-*r/_binary64_2748 pow-prod-down_binary64_2877 frac-2neg_binary64_2817
Counts
4 → 451
Calls

4 calls:

59.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
20.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
11.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
7.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

series945.0ms (7.1%)

Counts
4 → 12
Calls

4 calls:

317.0ms
(*.f64 100 (/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n)))
292.0ms
(/.f64 (-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1) (/.f64 i n))
178.0ms
(-.f64 (pow.f64 (+.f64 1 (/.f64 i n)) n) 1)
157.0ms
(pow.f64 (+.f64 1 (/.f64 i n)) n)

simplify183.0ms (1.4%)

Algorithm
egg-herbie
Counts
463 → 463
Iterations

Useful iterations: 0 (68.0ms)

IterNodesCost
0495414743
1495414743

prune798.0ms (6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4567463
Fresh000
Picked101
Done000
Total4577464

Merged error: 17.6b

Counts
464 → 7
Compiler

Compiled 13998 to 7345 computations (47.5% saved)

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

rewrite58.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
144×times-frac_binary64_2812
97×add-sqr-sqrt_binary64_2828
85×*-un-lft-identity_binary64_2806 add-cube-cbrt_binary64_2841
50×associate-*r*_binary64_2746
25×add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842
13×associate-/r*_binary64_2750 pow1_binary64_2867
div-inv_binary64_2803
associate-*l*_binary64_2747 prod-exp_binary64_2855 cbrt-unprod_binary64_2839
div-exp_binary64_2857 cbrt-undiv_binary64_2840
pow-prod-down_binary64_2877 unswap-sqr_binary64_2774
add-log-exp_binary64_2845
*-commutative_binary64_2737 associate-*r/_binary64_2748 associate-/l*_binary64_2751
associate-/l/_binary64_2753 flip-+_binary64_2780 flip3-+_binary64_2809 associate-/r/_binary64_2752
distribute-lft-in_binary64_2755 distribute-rgt-in_binary64_2756 clear-num_binary64_2805 frac-2neg_binary64_2817
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)))
10.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
7.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
4.0ms
(*.f64 1/6 i)

series148.0ms (1.1%)

Counts
4 → 12
Calls

4 calls:

48.0ms
(*.f64 100 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n)))
45.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))
45.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 1/6 i)))) (/.f64 i n))
10.0ms
(*.f64 1/6 i)

simplify93.0ms (0.7%)

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049715462
149715462

prune293.0ms (2.2%)

Pruning

17 alts after pruning (17 fresh and 0 done)

PrunedKeptTotal
New18011191
Fresh066
Picked101
Done000
Total18117198

Merged error: 8.1b

Counts
198 → 17
Compiler

Compiled 5909 to 3249 computations (45% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(*.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)))))

rewrite20.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64_2828
associate-*l*_binary64_2747 add-exp-log_binary64_2844 add-cbrt-cube_binary64_2842 *-un-lft-identity_binary64_2806 add-cube-cbrt_binary64_2841 associate-*r*_binary64_2746 pow1_binary64_2867
associate-*r/_binary64_2748
*-commutative_binary64_2737 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 add-log-exp_binary64_2845 pow-prod-down_binary64_2877 unswap-sqr_binary64_2774
distribute-lft-in_binary64_2755 distribute-rgt-in_binary64_2756 flip-+_binary64_2780 flip3-+_binary64_2809
Counts
3 → 62
Calls

3 calls:

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

series87.0ms (0.7%)

Counts
3 → 9
Calls

3 calls:

40.0ms
(*.f64 n (+.f64 100 (*.f64 i (+.f64 50 (*.f64 50/3 i)))))
36.0ms
(*.f64 i (+.f64 50 (*.f64 50/3 i)))
10.0ms
(*.f64 50/3 i)

simplify74.0ms (0.6%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
05005915

prune84.0ms (0.6%)

Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New71071
Fresh01616
Picked011
Done000
Total711788

Merged error: 8.1b

Counts
88 → 17
Compiler

Compiled 1582 to 1160 computations (26.7% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))
0.3b
(*.f64 i 1/6)
2.1b
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)
3.2b
(/.f64 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i) (/.f64 1 n))

rewrite74.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
430×times-frac_binary64_2812
214×add-sqr-sqrt_binary64_2828
211×*-un-lft-identity_binary64_2806 add-cube-cbrt_binary64_2841
35×add-exp-log_binary64_2844
30×div-inv_binary64_2803
25×add-cbrt-cube_binary64_2842
17×div-exp_binary64_2857
16×associate-/r*_binary64_2750 associate-/l*_binary64_2751
11×pow1_binary64_2867
cbrt-undiv_binary64_2840
associate-*r*_binary64_2746
associate-*l*_binary64_2747 prod-exp_binary64_2855 cbrt-unprod_binary64_2839 add-log-exp_binary64_2845 pow-prod-down_binary64_2877
associate-/l/_binary64_2753
1-exp_binary64_2850 rec-exp_binary64_2856 *-commutative_binary64_2737 flip-+_binary64_2780 flip3-+_binary64_2809 clear-num_binary64_2805 associate-*r/_binary64_2748 unswap-sqr_binary64_2774 frac-2neg_binary64_2817
distribute-lft-in_binary64_2755 distribute-rgt-in_binary64_2756 associate-/r/_binary64_2752
Counts
4 → 289
Calls

4 calls:

14.0ms
(/.f64 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i) (/.f64 1 n))
7.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))
5.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)
4.0ms
(*.f64 i 1/6)

series124.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

47.0ms
(*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))
44.0ms
(/.f64 (/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i) (/.f64 1 n))
21.0ms
(/.f64 (+.f64 i (*.f64 (*.f64 i i) (+.f64 1/2 (*.f64 i 1/6)))) i)
10.0ms
(*.f64 i 1/6)

simplify149.0ms (1.1%)

Algorithm
egg-herbie
Counts
301 → 301
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
0494512081
1494512081

prune558.0ms (4.2%)

Pruning

18 alts after pruning (17 fresh and 1 done)

PrunedKeptTotal
New2974301
Fresh21315
Picked101
Done011
Total30018318

Merged error: 8.1b

Counts
318 → 18
Compiler

Compiled 9950 to 5989 computations (39.8% saved)

regimes1.2s (9.2%)

Compiler

Compiled 13541 to 9255 computations (31.7% saved)

bsearch100.0ms (0.8%)

Steps
ItersRangePoint
5
3.841522714324763e-07
1.0751989982496457e-06
1.0526062084788294e-06
8
-1.2471203750733142e+20
-20162399870516788.0
-20604699981894388.0
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05172
15172

end0.0ms (0%)

sample6.9s (52.4%)

Algorithm
intervals
Results
2.1s1713×body2048valid
1.4s2667×body1024valid
298.0ms1204×body512valid
116.0ms1784×body128valid
99.0ms164×body1024invalid
85.0ms601×body256valid
83.0ms228×body512invalid
64.0ms31×body4096valid
45.0ms462×body128invalid
32.0ms146×body256invalid
19.0ms20×body2048invalid
15.0ms315×body128nan
Compiler

Compiled 3427 to 2335 computations (31.9% saved)

Profiling

Loading profile data...