Details

Time bar (total: 6.0s)

analyze123.0ms (2.1%)

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)

sample65.0ms (1.1%)

Algorithm
intervals
Results
26.0ms71×body1024valid
11.0ms125×body128valid
8.0ms36×body512valid
5.0msbody2048valid
2.0ms17×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.5b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

2.3b
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
3.7b
(log.f64 (+.f64 N 1))

rewrite64.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
30.9b
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:

8.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)

series112.0ms (1.9%)

Error
0.0b
Counts
2 → 21
Calls

2 calls:

59.0ms
(-.f64 (log.f64 (+.f64 N 1)) (log.f64 N))
33.0ms
(log.f64 (+.f64 N 1))
Compiler

Compiled 578 to 465 computations (19.6% saved)

simplify125.0ms (2.1%)

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 0 (100.0ms)

IterNodesCost
04924853
14924853

prune72.0ms (1.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 802 to 508 computations (36.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite490.0ms (8.2%)

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

4 calls:

69.0ms
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (+.f64 (/.f64 1/2 (*.f64 N N)) (/.f64 1/4 (pow.f64 N 4))))
8.0ms
(/.f64 1/3 (pow.f64 N 3))
5.0ms
(/.f64 1/4 (pow.f64 N 4))
4.0ms
(/.f64 1/2 (*.f64 N N))
Compiler

Compiled 5537 to 4059 computations (26.7% saved)

series171.0ms (2.9%)

Error
0.0b
Counts
4 → 19
Calls

4 calls:

43.0ms
(/.f64 1/4 (pow.f64 N 4))
35.0ms
(-.f64 (+.f64 (/.f64 1 N) (/.f64 1/3 (pow.f64 N 3))) (+.f64 (/.f64 1/2 (*.f64 N N)) (/.f64 1/4 (pow.f64 N 4))))
32.0ms
(/.f64 1/3 (pow.f64 N 3))
30.0ms
(/.f64 1/2 (*.f64 N N))
Compiler

Compiled 870 to 720 computations (17.2% saved)

simplify90.0ms (1.5%)

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
053093761

prune364.0ms (6.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1851186
Fresh022
Picked011
Done000
Total1854189
Error
0b
Counts
189 → 4
Compiler

Compiled 5241 to 3809 computations (27.3% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

9.2b
(sqrt.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)))
9.3b
(-.f64 (sqrt.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N))) (sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N)))))
21.6b
(sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N))))
21.6b
(sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N))))

rewrite605.0ms (10.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
41×*-un-lft-identity_binary64_78
34×sqrt-prod_binary64_94
27×sqrt-div_binary64_95
20×add-sqr-sqrt_binary64_100
13×distribute-lft-out_binary64_29
add-cube-cbrt_binary64_113 frac-add_binary64_86 flip3-+_binary64_81 flip-+_binary64_52 frac-sub_binary64_87
pow1_binary64_139 cancel-sign-sub-inv_binary64_44 distribute-lft-out--_binary64_30
add-log-exp_binary64_117
add-exp-log_binary64_116 add-cbrt-cube_binary64_114 difference-of-squares_binary64_47
pow1/2_binary64_158 sqrt-pow1_binary64_96 rem-sqrt-square_binary64_91 div-inv_binary64_75
times-frac_binary64_84
diff-log_binary64_170 flip3--_binary64_82 sub-neg_binary64_71 flip--_binary64_53
Counts
4 → 91
Calls

4 calls:

59.0ms
(-.f64 (sqrt.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N))) (sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N)))))
35.0ms
(sqrt.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)))
29.0ms
(sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N))))
18.0ms
(sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N))))
Compiler

Compiled 6115 to 4579 computations (25.1% saved)

series201.0ms (3.4%)

Error
0b
Counts
4 → 16
Calls

4 calls:

64.0ms
(sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N))))
41.0ms
(sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N))))
34.0ms
(sqrt.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N)))
29.0ms
(-.f64 (sqrt.f64 (+.f64 (/.f64 1/3 (pow.f64 N 3)) (/.f64 1 N))) (sqrt.f64 (+.f64 (/.f64 1/4 (pow.f64 N 4)) (/.f64 1/2 (*.f64 N N)))))
Compiler

Compiled 1930 to 1556 computations (19.4% saved)

simplify89.0ms (1.5%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049913546
149913546

prune426.0ms (7.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh022
Picked011
Done011
Total1074111
Error
0b
Counts
111 → 4
Compiler

Compiled 6077 to 4602 computations (24.3% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite62.0ms (1%)

Algorithm
rewrite-expression-head
Error
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:

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

Compiled 810 to 553 computations (31.7% saved)

series109.0ms (1.8%)

Error
0b
Counts
2 → 18
Calls

2 calls:

54.0ms
(log.f64 (/.f64 (+.f64 N 1) N))
39.0ms
(/.f64 (+.f64 N 1) N)
Compiler

Compiled 378 to 326 computations (13.8% saved)

simplify69.0ms (1.2%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
053301074

prune70.0ms (1.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New78078
Fresh011
Picked011
Done022
Total78482
Error
0b
Counts
82 → 4
Compiler

Compiled 880 to 617 computations (29.9% saved)

regimes201.0ms (3.4%)

Accuracy

Total 0.0b remaining (42.3%)

Threshold costs 0.0b (42.3%)

Compiler

Compiled 1544 to 1232 computations (20.2% saved)

bsearch2.0ms (0%)

Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
014065
114065

end0.0ms (0%)

sample2.4s (40.3%)

Algorithm
intervals
Results
536.0ms1990×body1024valid
280.0ms4237×body128valid
185.0ms1025×body512valid
108.0ms247×body2048valid
52.0ms501×body256valid
Compiler

Compiled 800 to 640 computations (20% saved)

Profiling

Loading profile data...