Details

Time bar (total: 6.0s)

analyze1.4s (23.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
25%75%0%3
25%62.5%12.5%4
25%56.2%18.8%5
28.1%50%21.9%6
29.7%46.9%23.5%7
30.5%45.3%24.3%8
30.8%44.9%24.3%9
31.2%44.5%24.3%10
31.3%44.4%24.3%11
31.4%44.3%24.3%12
31.4%44.2%24.3%13
31.5%44.2%24.3%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample2.8s (46.9%)

Results
1.5s2644×body1024valid
518.0ms1366×body512valid
397.0ms3191×body128valid
220.0ms339×body2048valid
182.0ms716×body256valid
1.0msbody2048invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
expm1-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1128
2138
3118

prune10.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.5b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.5b
(/.f64 (exp.f64 x) (expm1.f64 x))
41.2b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 41 to 25 computations (39% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)
0.5b
(/.f64 (exp.f64 x) (expm1.f64 x))

series21.0ms (0.3%)

Counts
2 → 24
Calls

2 calls:

17.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
3.0ms
(expm1.f64 x)

rewrite113.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
477×log1p-expm1-u_binary64
477×expm1-log1p-u_binary64
334×unpow-prod-down_binary64
258×log-prod_binary64
241×prod-diff_binary64
Counts
2 → 103
Calls

2 calls:

110.0ms
(expm1.f64 x)
110.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
19811
2125011
3489411
4532111
000
100

simplify81.0ms (1.4%)

Algorithm
egg-herbie
Rules
804×unswap-sqr_binary64
534×fma-def_binary64
487×distribute-lft-out_binary64
366×fma-neg_binary64
361×*-commutative_binary64
Counts
127 → 120
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
031180
178176
2182174
3494168
41472168
52433168
64835168
74933168

prune115.0ms (1.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1182120
Fresh101
Picked101
Done000
Total1202122
Error
0.4b
Counts
122 → 2
Alt Table
StatusErrorProgram
27.4b
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))
21.7b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 1496 to 669 computations (55.3% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1 x))

series2.0ms (0%)

Counts
1 → 3
Calls

1 calls:

2.0ms
(+.f64 1/2 (/.f64 1 x))

rewrite98.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
588×log1p-expm1-u_binary64
588×expm1-log1p-u_binary64
241×log-prod_binary64
158×prod-diff_binary64
109×expm1-udef_binary64
Counts
1 → 38
Calls

1 calls:

97.0ms
(+.f64 1/2 (/.f64 1 x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11307
214927
348977
450587
000
100

simplify12.0ms (0.2%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Counts
41 → 40
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
176
266

prune52.0ms (0.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh011
Picked011
Done000
Total38442
Error
0.4b
Counts
42 → 4
Alt Table
StatusErrorProgram
27.4b
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))
22.5b
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 3)
41.6b
(pow.f64 (sqrt.f64 (+.f64 1/2 (/.f64 1 x))) 2)
21.7b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 477 to 399 computations (16.4% saved)

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 1/2 (/.f64 1 x))
0.3b
(cbrt.f64 (+.f64 1/2 (/.f64 1 x)))
0.8b
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 3)

series145.0ms (2.4%)

Counts
2 → 24
Calls

2 calls:

136.0ms
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 3)
9.0ms
(cbrt.f64 (+.f64 1/2 (/.f64 1 x)))

rewrite79.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
743×log1p-expm1-u_binary64
743×expm1-log1p-u_binary64
138×expm1-udef_binary64
138×log1p-udef_binary64
81×add-sqr-sqrt_binary64
Counts
2 → 61
Calls

2 calls:

76.0ms
(cbrt.f64 (+.f64 1/2 (/.f64 1 x)))
76.0ms
(pow.f64 (cbrt.f64 (+.f64 1/2 (/.f64 1 x))) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0916
117716
2190916
3487116
000
100

simplify154.0ms (2.6%)

Algorithm
egg-herbie
Rules
720×times-frac_binary64
577×fma-neg_binary64
366×associate-*l/_binary64
322×associate-/l*_binary64
290×associate-/r*_binary64
Counts
85 → 82
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
051419
1151343
2385319
31344311
44119311
54808311
64984311
74996311
84928311

prune113.0ms (1.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1211122
Fresh112
Picked101
Done011
Total1233126
Error
0.4b
Counts
126 → 3
Alt Table
StatusErrorProgram
27.4b
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))
21.7b
(+.f64 1/2 (/.f64 1 x))
62.3b
(pow.f64 (fma.f64 2/3 (/.f64 (cbrt.f64 1/2) x) (cbrt.f64 1/2)) 3)
Compiler

Compiled 1664 to 1438 computations (13.6% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (expm1.f64 x) 3)
0.0b
(pow.f64 (exp.f64 x) 3)
0.6b
(/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3))
25.1b
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))

series108.0ms (1.8%)

Counts
4 → 40
Calls

4 calls:

66.0ms
(/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3))
18.0ms
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))
14.0ms
(pow.f64 (expm1.f64 x) 3)
10.0ms
(pow.f64 (exp.f64 x) 3)

rewrite99.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
795×log1p-expm1-u_binary64
795×expm1-log1p-u_binary64
125×egg-rr
85×add-sqr-sqrt_binary64
85×prod-diff_binary64
Counts
4 → 125
Calls

4 calls:

95.0ms
(pow.f64 (expm1.f64 x) 3)
95.0ms
(pow.f64 (exp.f64 x) 3)
95.0ms
(/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3))
95.0ms
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0934
118231
2210031
3499831
000
100

simplify85.0ms (1.4%)

Algorithm
egg-herbie
Rules
911×fma-def_binary64
557×unswap-sqr_binary64
503×associate-*l*_binary64
383×associate-*r*_binary64
230×fma-neg_binary64
Counts
165 → 157
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
058441
1151435
2391430
31074399
43175399
54788399
65068399

prune146.0ms (2.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1561157
Fresh101
Picked011
Done011
Total1573160
Error
0.4b
Counts
160 → 3
Alt Table
StatusErrorProgram
27.4b
(cbrt.f64 (/.f64 (pow.f64 (exp.f64 x) 3) (pow.f64 (expm1.f64 x) 3)))
21.7b
(+.f64 1/2 (/.f64 1 x))
48.5b
(cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))
Compiler

Compiled 2079 to 1174 computations (43.5% saved)

regimes199.0ms (3.3%)

Accuracy

Total 0.0b remaining (8.5%)

Threshold costs 0.0b (8.5%)

Counts
53 → 1
Compiler

Compiled 1545 to 1197 computations (22.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0920
11320
21220

end106.0ms (1.8%)

Compiler

Compiled 62 to 45 computations (27.4% saved)

Profiling

Loading profile data...