Details

Time bar (total: 2.7s)

analyze1.0ms (0%)

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 9 to 7 computations (22.2% saved)

sample2.0s (73%)

Results
898.0ms2101×body1024valid
515.0ms4323×body128valid
298.0ms1057×body512valid
150.0ms255×body2048valid
108.0ms520×body256valid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify9.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-def_binary64
32×fma-neg_binary64
15×cancel-sign-sub-inv_binary64
12×sub-neg_binary64
10×distribute-rgt-in_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0711
1128
2178
3248
4338
5508
6878
71238
81648
92008
102268
112288
Stop Event
saturated
Counts
1 → 2

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
31.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
31.1b
(-.f64 (log1p.f64 N) (log.f64 N))
Compiler

Compiled 25 to 16 computations (36% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 N)
2.7b
(-.f64 (log1p.f64 N) (log.f64 N))

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(-.f64 (log1p.f64 N) (log.f64 N))
2.0ms
(log1p.f64 N)

rewrite40.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
541×expm1-log1p-u_binary64
540×log1p-expm1-u_binary64
394×prod-diff_binary64
252×log-prod_binary64
168×fma-def_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
110611
2143111
Stop Event
node limit
Counts
2 → 106
Calls

2 calls:

38.0ms
(log1p.f64 N)
38.0ms
(-.f64 (log1p.f64 N) (log.f64 N))

simplify24.0ms (0.9%)

Algorithm
egg-herbie
Rules
565×fma-def_binary64
324×fma-neg_binary64
270×associate--l+_binary64
260×cancel-sign-sub-inv_binary64
249×associate-+l-_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
056376
1164350
2474346
31508335
Stop Event
node limit
Counts
130 → 139

prune62.0ms (2.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1372139
Fresh000
Picked101
Done000
Total1382140
Error
0.0b
Counts
140 → 2
Alt Table
StatusErrorProgram
30.7b
(+.f64 (/.f64 1 N) (/.f64 -1/2 (*.f64 N N)))
31.0b
(log.f64 (/.f64 (+.f64 N 1) N))
Compiler

Compiled 1962 to 840 computations (57.2% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

2.0ms
(/.f64 -1/2 (*.f64 N N))
2.0ms
(+.f64 (/.f64 1 N) (/.f64 -1/2 (*.f64 N N)))

rewrite43.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
801×prod-diff_binary64
304×fma-def_binary64
164×fma-neg_binary64
151×expm1-udef_binary64
151×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0820
118418
2261618
Stop Event
node limit
Counts
2 → 88
Calls

2 calls:

42.0ms
(+.f64 (/.f64 1 N) (/.f64 -1/2 (*.f64 N N)))
41.0ms
(/.f64 -1/2 (*.f64 N N))

simplify19.0ms (0.7%)

Algorithm
egg-herbie
Rules
732×times-frac_binary64
530×associate-/r*_binary64
492×associate-/l/_binary64
303×associate-/l*_binary64
284×associate-*l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
012216
126216
246216
3100216
4264216
5937216
Stop Event
node limit
Counts
112 → 93

prune45.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh011
Picked011
Done000
Total92395
Error
0.0b
Counts
95 → 3
Alt Table
StatusErrorProgram
30.7b
(+.f64 (/.f64 1 N) (/.f64 -1/2 (*.f64 N N)))
31.0b
(log.f64 (/.f64 (+.f64 N 1) N))
51.4b
(*.f64 (*.f64 N (+.f64 N -1/2)) (pow.f64 N -3))
Compiler

Compiled 1296 to 928 computations (28.4% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 N 1) N)
2.8b
(log.f64 (/.f64 (+.f64 N 1) N))

series4.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite42.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
635×log1p-expm1-u_binary64
635×expm1-log1p-u_binary64
115×fma-def_binary64
108×log1p-udef_binary64
107×expm1-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0616
112715
2168415
Stop Event
node limit
Counts
2 → 88
Calls

2 calls:

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

simplify25.0ms (0.9%)

Algorithm
egg-herbie
Rules
736×fma-neg_binary64
511×cancel-sign-sub-inv_binary64
415×times-frac_binary64
223×fma-def_binary64
191×sub-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
035255
196253
2237253
3689250
42177250
Stop Event
node limit
Counts
112 → 104

prune70.0ms (2.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh011
Picked101
Done011
Total1043107
Error
0.0b
Counts
107 → 3
Alt Table
StatusErrorProgram
30.7b
(+.f64 (/.f64 1 N) (/.f64 -1/2 (*.f64 N N)))
31.0b
(neg.f64 (log.f64 (/.f64 (/.f64 N (+.f64 N 1)) 1)))
51.4b
(*.f64 (*.f64 N (+.f64 N -1/2)) (pow.f64 N -3))
Compiler

Compiled 1295 to 705 computations (45.6% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 N (+.f64 N 1))
2.8b
(log.f64 (/.f64 (/.f64 N (+.f64 N 1)) 1))

series5.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(log.f64 (/.f64 (/.f64 N (+.f64 N 1)) 1))
2.0ms
(/.f64 N (+.f64 N 1))

rewrite39.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
668×log1p-expm1-u_binary64
668×expm1-log1p-u_binary64
118×fma-neg_binary64
117×fma-def_binary64
111×log1p-udef_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0716
115715
2187715
Stop Event
node limit
Counts
2 → 87
Calls

2 calls:

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

simplify34.0ms (1.3%)

Algorithm
egg-herbie
Rules
464×fma-def_binary64
416×times-frac_binary64
391×sub-neg_binary64
293×cancel-sign-sub-inv_binary64
238×fma-neg_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
044322
1119318
2335313
31047309
44121309
Stop Event
node limit
Counts
111 → 114

prune51.0ms (1.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1140114
Fresh011
Picked011
Done011
Total1143117
Error
0.0b
Counts
117 → 3
Alt Table
StatusErrorProgram
30.7b
(+.f64 (/.f64 1 N) (/.f64 -1/2 (*.f64 N N)))
31.0b
(neg.f64 (log.f64 (/.f64 (/.f64 N (+.f64 N 1)) 1)))
51.4b
(*.f64 (*.f64 N (+.f64 N -1/2)) (pow.f64 N -3))
Compiler

Compiled 1628 to 970 computations (40.4% saved)

regimes130.0ms (4.8%)

Accuracy

Total 0.1b remaining (37.9%)

Threshold costs 0.1b (37.9%)

Counts
61 → 2
Compiler

Compiled 1152 to 862 computations (25.2% saved)

bsearch1.0ms (0%)

Compiler

Compiled 8 to 6 computations (25% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02038
12938
23438
33738
43838
Stop Event
saturated

end61.0ms (2.2%)

Compiler

Compiled 82 to 62 computations (24.4% saved)

Profiling

Loading profile data...