Details

Time bar (total: 2.9s)

analyze466.0ms (16%)

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)

sample1.6s (56.2%)

Results
864.0ms2794×body1024valid
289.0ms1359×body512valid
243.0ms3132×body128valid
106.0ms675×body256valid
103.0ms296×body2048valid
1.0msbody2048invalid
Compiler

Compiled 26 to 17 computations (34.6% saved)

simplify6.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

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 41 to 25 computations (39% saved)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series13.0ms (0.4%)

Counts
2 → 24
Calls

2 calls:

11.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))
2.0ms
(expm1.f64 x)

rewrite86.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
103×egg-rr
Counts
2 → 103
Calls

2 calls:

84.0ms
((/.f64 (exp.f64 x) (expm1.f64 x)) (expm1.f64 x))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0511
19811
2125011
3489411
4532111
000
100

simplify57.0ms (1.9%)

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

prune61.0ms (2.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1182120
Fresh011
Picked101
Done000
Total1193122
Error
0.2b
Counts
122 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
0.3b
(*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 1516 to 677 computations (55.3% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 x)
0.3b
(*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
0.3b
(/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x))

series24.0ms (0.8%)

Counts
2 → 24
Calls

2 calls:

14.0ms
(*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
10.0ms
(/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x))

rewrite109.0ms (3.8%)

Algorithm
batch-egg-rewrite
Rules
79×egg-rr
Counts
2 → 79
Calls

2 calls:

108.0ms
((/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)) (*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0918
116218
2193418
3498618
4498118
5502718
000
100

simplify113.0ms (3.9%)

Algorithm
egg-herbie
Rules
830×fma-def_binary64
705×unswap-sqr_binary64
495×associate-*l*_binary64
451×distribute-rgt-neg-in_binary64
446×fma-neg_binary64
Counts
103 → 95
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
034273
191241
2212235
3525233
41222233
52745233
64031233
74853233
84968233
94995233
104816233

prune69.0ms (2.4%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1400140
Fresh022
Picked011
Done000
Total1403143
Error
0.2b
Counts
143 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
0.3b
(*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 2125 to 920 computations (56.7% saved)

localize3.0ms (0.1%)

prune2.0ms (0.1%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done011
Total033
Error
0.2b
Counts
3 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
0.3b
(*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 35 to 23 computations (34.3% saved)

localize3.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
4.4b
(-.f64 (exp.f64 x) 1)

series10.0ms (0.4%)

Counts
2 → 8
Calls

2 calls:

8.0ms
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
2.0ms
(-.f64 (exp.f64 x) 1)

rewrite49.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
77×egg-rr
Counts
2 → 77
Calls

2 calls:

47.0ms
((-.f64 (exp.f64 x) 1) (/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1)))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0611
112511
2156111
3504711
000
100

simplify53.0ms (1.8%)

Algorithm
egg-herbie
Rules
804×unswap-sqr_binary64
534×fma-def_binary64
487×distribute-lft-out_binary64
361×*-commutative_binary64
360×fma-neg_binary64
Counts
85 → 90
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02892
17188
217586
348580
4145880
5239880
6484680
7496180

prune37.0ms (1.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New90090
Fresh000
Picked011
Done022
Total90393
Error
0.2b
Counts
93 → 3
Alt Table
StatusErrorProgram
21.3b
(+.f64 1/2 (/.f64 1 x))
0.3b
(*.f64 (/.f64 (sqrt.f64 (exp.f64 x)) 1) (/.f64 (sqrt.f64 (exp.f64 x)) (expm1.f64 x)))
41.8b
(/.f64 (exp.f64 x) (-.f64 (exp.f64 x) 1))
Compiler

Compiled 1019 to 443 computations (56.5% saved)

regimes52.0ms (1.8%)

Accuracy

Total 0.1b remaining (20.3%)

Threshold costs 0.1b (20.3%)

Counts
27 → 1
Compiler

Compiled 839 to 571 computations (31.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
/-rgt-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
11217
21117

end47.0ms (1.6%)

Compiler

Compiled 49 to 30 computations (38.8% saved)

Profiling

Loading profile data...