Details

Time bar (total: 3.7s)

analyze93.0ms (2.5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07111
17111
011
111
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)

sample47.0ms (1.3%)

Algorithm
intervals
Results
16.0ms65×body1024valid
11.0ms126×body128valid
5.0ms36×body512valid
5.0ms12×body2048valid
2.0ms17×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify10.0ms (0.3%)

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
Error
31.0b
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.9b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
3.5b
(log.f64 (+.f64 N 1))

rewrite58.0ms (1.6%)

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

2 calls:

7.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
3.0ms
(log.f64 (+.f64 N 1))
Compiler

Compiled 607 to 404 computations (33.4% saved)

series102.0ms (2.8%)

Error
0.1b
Counts
2 → 21
Calls

2 calls:

52.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
29.0ms
(log.f64 (+.f64 N 1))
Compiler

Compiled 578 to 465 computations (19.6% saved)

simplify84.0ms (2.3%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
04924853
14924853

prune52.0ms (1.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New62365
Fresh000
Picked101
Done000
Total63366
Error
0.1b
Counts
66 → 3
Compiler

Compiled 804 to 506 computations (37.1% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
0.4b
(/.f64 1/2 (*.f64 N N))

rewrite58.0ms (1.6%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
20×add-sqr-sqrt_binary64_100
13×times-frac_binary64_84
11×*-un-lft-identity_binary64_78
add-exp-log_binary64_116 add-cbrt-cube_binary64_114 cancel-sign-sub-inv_binary64_44
add-cube-cbrt_binary64_113 difference-of-squares_binary64_47
add-log-exp_binary64_117
div-inv_binary64_75 associate-/l*_binary64_23
pow1_binary64_139 div-exp_binary64_129 cbrt-undiv_binary64_112 distribute-lft-out--_binary64_30
prod-exp_binary64_127 cbrt-unprod_binary64_111 frac-2neg_binary64_89 clear-num_binary64_77 associate-/r*_binary64_22 diff-log_binary64_170 frac-sub_binary64_87 flip3--_binary64_82 sub-neg_binary64_71 flip--_binary64_53
Counts
2 → 48
Calls

2 calls:

12.0ms
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
4.0ms
(/.f64 1/2 (*.f64 N N))
Compiler

Compiled 796 to 514 computations (35.4% saved)

series69.0ms (1.9%)

Error
0.1b
Counts
2 → 9
Calls

2 calls:

38.0ms
(-.f64 (/.f64 1 N) (/.f64 1/2 (*.f64 N N)))
25.0ms
(/.f64 1/2 (*.f64 N N))
Compiler

Compiled 202 to 176 computations (12.9% saved)

simplify87.0ms (2.4%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
04864753
14864753

prune42.0ms (1.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh022
Picked011
Done000
Total56460
Error
0.0b
Counts
60 → 4
Compiler

Compiled 760 to 497 computations (34.6% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite65.0ms (1.8%)

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

2 calls:

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

Compiled 810 to 553 computations (31.7% saved)

series98.0ms (2.7%)

Error
0.0b
Counts
2 → 18
Calls

2 calls:

48.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
38.0ms
(/.f64 (+.f64 N 1) N)
Compiler

Compiled 378 to 326 computations (13.8% saved)

simplify65.0ms (1.8%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
053301074

prune59.0ms (1.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New76278
Fresh112
Picked101
Done011
Total78482
Error
0.0b
Counts
82 → 4
Compiler

Compiled 909 to 641 computations (29.5% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(log.f64 (/.f64 (+.f64 N 1) (sqrt.f64 N)))
0.0b
(log.f64 (sqrt.f64 N))
0.4b
(/.f64 (+.f64 N 1) (sqrt.f64 N))
2.2b
(+.f64 (neg.f64 (log.f64 (sqrt.f64 N))) (log.f64 (/.f64 (+.f64 N 1) (sqrt.f64 N))))

rewrite192.0ms (5.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
100×*-un-lft-identity_binary64_78
72×times-frac_binary64_84
68×log-prod_binary64_164
55×add-cube-cbrt_binary64_113 add-sqr-sqrt_binary64_100
45×sqrt-prod_binary64_94
28×associate-+r+_binary64_10
25×distribute-lft-out_binary64_29
12×pow1_binary64_139
10×add-exp-log_binary64_116
log-pow_binary64_167
add-cbrt-cube_binary64_114 distribute-neg-in_binary64_39 associate-+l+_binary64_11 associate-/r*_binary64_22
add-log-exp_binary64_117
distribute-rgt-neg-in_binary64_36 associate-/l*_binary64_23
div-inv_binary64_75 rem-log-exp_binary64_119
sum-log_binary64_169 flip3-+_binary64_81 flip-+_binary64_52 log-div_binary64_165 div-exp_binary64_129 associate-/l/_binary64_25
neg-log_binary64_171 neg-sub0_binary64_73 associate-+l-_binary64_13 associate-+r-_binary64_12 +-commutative_binary64_8 cbrt-undiv_binary64_112 frac-2neg_binary64_89 clear-num_binary64_77 pow1/2_binary64_158 sqrt-pow1_binary64_96
Counts
4 → 158
Calls

4 calls:

15.0ms
(+.f64 (neg.f64 (log.f64 (sqrt.f64 N))) (log.f64 (/.f64 (+.f64 N 1) (sqrt.f64 N))))
6.0ms
(/.f64 (+.f64 N 1) (sqrt.f64 N))
6.0ms
(log.f64 (/.f64 (+.f64 N 1) (sqrt.f64 N)))
2.0ms
(log.f64 (sqrt.f64 N))
Compiler

Compiled 3267 to 1635 computations (50% saved)

series143.0ms (3.9%)

Error
0.0b
Counts
4 → 18
Calls

4 calls:

80.0ms
(+.f64 (neg.f64 (log.f64 (sqrt.f64 N))) (log.f64 (/.f64 (+.f64 N 1) (sqrt.f64 N))))
20.0ms
(log.f64 (/.f64 (+.f64 N 1) (sqrt.f64 N)))
16.0ms
(/.f64 (+.f64 N 1) (sqrt.f64 N))
14.0ms
(log.f64 (sqrt.f64 N))
Compiler

Compiled 569 to 437 computations (23.2% saved)

simplify95.0ms (2.6%)

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
052032779

prune146.0ms (3.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1760176
Fresh022
Picked011
Done011
Total1764180
Error
0.0b
Counts
180 → 4
Compiler

Compiled 2982 to 1492 computations (50% saved)

regimes151.0ms (4.1%)

Accuracy

Total 0.1b remaining (60.2%)

Threshold costs 0.1b (60.2%)

Compiler

Compiled 1250 to 926 computations (25.9% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07841
17841

end0.0ms (0%)

sample1.9s (52.6%)

Algorithm
intervals
Results
471.0ms1964×body1024valid
248.0ms4216×body128valid
163.0ms1052×body512valid
103.0ms275×body2048valid
49.0ms493×body256valid
Compiler

Compiled 652 to 487 computations (25.3% saved)

Profiling

Loading profile data...