Details

Time bar (total: 2.7s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%0%50%4
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample46.0ms (1.7%)

Algorithm
intervals
Results
18.0ms78×body1024valid
8.0ms120×body128valid
7.0ms13×body256valid
5.0ms37×body512valid
3.0msbody2048valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify97.0ms (3.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.3b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

1.5b
(log.f64 (+.f64 N 1))
2.5b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))

rewrite14.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity_binary64_78
11×log-prod_binary64_164
add-sqr-sqrt_binary64_100 pow1_binary64_139
add-cube-cbrt_binary64_113 log-pow_binary64_167
distribute-lft-out--_binary64_30 associate--l+_binary64_15 log-div_binary64_165 cancel-sign-sub-inv_binary64_44
associate--r+_binary64_14 add-exp-log_binary64_116
add-cbrt-cube_binary64_114 add-log-exp_binary64_117 flip-+_binary64_52 distribute-lft-out_binary64_29 associate--l-_binary64_16 flip3-+_binary64_81
flip3--_binary64_82 diff-log_binary64_170 flip--_binary64_53 rem-log-exp_binary64_119 difference-of-squares_binary64_47 sub-neg_binary64_71
Counts
2 → 44
Calls

2 calls:

8.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
3.0ms
(log.f64 (+.f64 N 1))

series42.0ms (1.6%)

Counts
2 → 6
Calls

2 calls:

29.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
13.0ms
(log.f64 (+.f64 N 1))

simplify92.0ms (3.4%)

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
04943668
14943668

prune52.0ms (1.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New47350
Fresh000
Picked101
Done000
Total48351

Merged error: 0.0b

Counts
51 → 3
Compiler

Compiled 652 to 425 computations (34.8% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

0.2b
(/.f64 1/3 (pow.f64 N 3))
0.5b
(/.f64 1/2 (*.f64 N N))
11.6b
(-.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)) (/.f64 1/2 (*.f64 N N)))

rewrite58.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
43×times-frac_binary64_84
39×*-un-lft-identity_binary64_78
36×add-sqr-sqrt_binary64_100
32×add-cube-cbrt_binary64_113
13×associate-/r*_binary64_22 add-exp-log_binary64_116
12×unpow-prod-down_binary64_157 cube-prod_binary64_106
10×add-cbrt-cube_binary64_114
add-log-exp_binary64_117
cancel-sign-sub-inv_binary64_44
associate-/l*_binary64_23
div-exp_binary64_129
cube-mult_binary64_108 sqr-pow_binary64_50 div-inv_binary64_75 unpow3_binary64_144
cbrt-undiv_binary64_112 frac-sub_binary64_87 distribute-lft-out--_binary64_30 pow1_binary64_139
diff-log_binary64_170 frac-2neg_binary64_89 difference-of-squares_binary64_47 clear-num_binary64_77 distribute-lft-out_binary64_29
pow-exp_binary64_146 pow-to-exp_binary64_147 frac-add_binary64_86 cbrt-unprod_binary64_111 prod-exp_binary64_127 flip-+_binary64_52 flip3--_binary64_82 associate--l+_binary64_15 flip--_binary64_53 sub-neg_binary64_71 sum-log_binary64_169 flip3-+_binary64_81
Counts
3 → 114
Calls

3 calls:

36.0ms
(-.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)) (/.f64 1/2 (*.f64 N N)))
6.0ms
(/.f64 1/3 (pow.f64 N 3))
4.0ms
(/.f64 1/2 (*.f64 N N))

series56.0ms (2.1%)

Counts
3 → 9
Calls

3 calls:

24.0ms
(/.f64 1/3 (pow.f64 N 3))
17.0ms
(/.f64 1/2 (*.f64 N N))
15.0ms
(-.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)) (/.f64 1/2 (*.f64 N N)))

simplify65.0ms (2.4%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049551941
149551941

prune134.0ms (4.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1230123
Fresh022
Picked011
Done000
Total1233126

Merged error: 0.0b

Counts
126 → 3
Compiler

Compiled 2554 to 1762 computations (31% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(/.f64 (+.f64 N 1) N)
2.7b
(log.f64 (/.f64 (+.f64 N 1) N))

rewrite16.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity_binary64_78
24×times-frac_binary64_84
19×add-sqr-sqrt_binary64_100 add-cube-cbrt_binary64_113
16×log-prod_binary64_164
add-exp-log_binary64_116 distribute-lft-out_binary64_29
add-cbrt-cube_binary64_114 associate-/l*_binary64_23
associate-/r*_binary64_22 pow1_binary64_139
add-log-exp_binary64_117 div-exp_binary64_129 div-inv_binary64_75 rem-log-exp_binary64_119 associate-/l/_binary64_25
cbrt-undiv_binary64_112 flip-+_binary64_52 frac-2neg_binary64_89 log-div_binary64_165 clear-num_binary64_77 log-pow_binary64_167 flip3-+_binary64_81
Counts
2 → 60
Calls

2 calls:

5.0ms
(/.f64 (+.f64 N 1) N)
5.0ms
(log.f64 (/.f64 (+.f64 N 1) N))

series51.0ms (1.9%)

Counts
2 → 6
Calls

2 calls:

29.0ms
(/.f64 (+.f64 N 1) N)
22.0ms
(log.f64 (/.f64 (+.f64 N 1) N))

simplify57.0ms (2.1%)

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05161940

prune50.0ms (1.8%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New65166
Fresh011
Picked011
Done011
Total65469

Merged error: 0.0b

Counts
69 → 4
Compiler

Compiled 809 to 547 computations (32.4% saved)

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N)))
0.3b
(*.f64 (sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N))) (sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N))))
2.7b
(log.f64 (/.f64 (+.f64 N 1) N))
2.7b
(log.f64 (/.f64 (+.f64 N 1) N))

rewrite30.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt_binary64_100
43×*-un-lft-identity_binary64_78
32×log-prod_binary64_164
30×sqrt-prod_binary64_94
29×add-cube-cbrt_binary64_113 pow1_binary64_139
24×times-frac_binary64_84
12×add-exp-log_binary64_116
11×swap-sqr_binary64_45
sqrt-pow1_binary64_96 log-pow_binary64_167 pow1/2_binary64_158
associate-*l*_binary64_19 associate-*r*_binary64_18
add-cbrt-cube_binary64_114 distribute-lft-out_binary64_29
pow-prod-up_binary64_148
add-log-exp_binary64_117 rem-log-exp_binary64_119 unswap-sqr_binary64_46
pow-sqr_binary64_51 rem-sqrt-square_binary64_91 pow-prod-down_binary64_149
div-exp_binary64_129 div-inv_binary64_75 log-div_binary64_165
pow2_binary64_159 *-commutative_binary64_9 sqr-abs_binary64_93 cbrt-unprod_binary64_111 prod-exp_binary64_127 sqrt-unprod_binary64_98 rem-square-sqrt_binary64_90 pow-plus_binary64_141
Counts
4 → 123
Calls

4 calls:

8.0ms
(*.f64 (sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N))) (sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N))))
5.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
5.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
2.0ms
(sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N)))

series111.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

42.0ms
(sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N)))
27.0ms
(*.f64 (sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N))) (sqrt.f64 (log.f64 (/.f64 (+.f64 N 1) N))))
22.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
20.0ms
(log.f64 (/.f64 (+.f64 N 1) N))

simplify73.0ms (2.7%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049502042
149502042

prune134.0ms (4.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1341135
Fresh011
Picked101
Done022
Total1354139

Merged error: 0.0b

Counts
139 → 4
Compiler

Compiled 2433 to 1771 computations (27.2% saved)

regimes72.0ms (2.6%)

Compiler

Compiled 540 to 446 computations (17.4% saved)

bsearch1.0ms (0%)

Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify4.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05047
15047

end0.0ms (0%)

sample1.4s (52.9%)

Algorithm
intervals
Results
450.0ms1961×body1024valid
250.0ms4364×body128valid
143.0ms966×body512valid
93.0ms245×body2048valid
45.0ms464×body256valid
Compiler

Compiled 301 to 248 computations (17.6% saved)

Profiling

Loading profile data...