Details

Time bar (total: 2.8s)

analyze487.0ms (17.6%)

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.7s (60.2%)

Results
853.0ms2694×body1024valid
297.0ms1340×body512valid
266.0ms3230×body128valid
118.0ms306×body2048valid
98.0ms686×body256valid
0.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

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.3b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 25 to 15 computations (40% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series8.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

8.0ms
(/.f64 (exp.f64 x) (expm1.f64 x))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
times-frac_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-/r*_binary64
Counts
1 → 29
Calls

1 calls:

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

simplify66.0ms (2.4%)

Algorithm
egg-herbie
Rules
825×fma-def_binary64
587×div-sub_binary64
548×times-frac_binary64
500×fma-neg_binary64
317×distribute-rgt-in_binary64
Counts
41 → 40
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
066559
1130521
2292519
3609519
41403519
54001519
65294519

prune25.0ms (0.9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New37340
Fresh000
Picked101
Done000
Total38341
Error
0.2b
Counts
41 → 3
Alt Table
StatusErrorProgram
23.1b
(+.f64 1/2 (/.f64 1 x))
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
27.6b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))))
Compiler

Compiled 503 to 182 computations (63.8% saved)

localize4.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

series16.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

8.0ms
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
7.0ms
(/.f64 1 (expm1.f64 x))

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
20×times-frac_binary64
19×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
13×associate-*r*_binary64
Counts
2 → 71
Calls

2 calls:

7.0ms
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
2.0ms
(/.f64 1 (expm1.f64 x))

simplify85.0ms (3.1%)

Algorithm
egg-herbie
Rules
955×fma-neg_binary64
461×fma-def_binary64
435×associate-/l*_binary64
309×associate-/l/_binary64
278×distribute-rgt-in_binary64
Counts
95 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0841002
1180897
2435895
3857895
42060895
54338895
64886895

prune48.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh022
Picked011
Done000
Total1063109
Error
0.2b
Counts
109 → 3
Alt Table
StatusErrorProgram
23.1b
(+.f64 1/2 (/.f64 1 x))
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
27.6b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))))
Compiler

Compiled 1370 to 676 computations (50.7% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series1.0ms (0%)

Counts
1 → 3
Calls

1 calls:

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

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
fma-def_binary64
distribute-lft-out_binary64
add-sqr-sqrt_binary64
Counts
1 → 18
Calls

1 calls:

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

simplify83.0ms (3%)

Algorithm
egg-herbie
Rules
809×fma-def_binary64
425×unswap-sqr_binary64
403×distribute-rgt-in_binary64
330×associate-*r*_binary64
260×fma-neg_binary64
Counts
21 → 28
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
031183
184163
2170162
3357162
4797162
51860162
63117162
74800162
84821162
94911162

prune15.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New27128
Fresh011
Picked101
Done011
Total28331
Error
0.2b
Counts
31 → 3
Alt Table
StatusErrorProgram
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
23.1b
(fma.f64 (sqrt.f64 1/2) (sqrt.f64 1/2) (/.f64 1 x))
27.6b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))))
Compiler

Compiled 350 to 282 computations (19.4% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(fma.f64 (sqrt.f64 1/2) (sqrt.f64 1/2) (/.f64 1 x))

series5.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(fma.f64 (sqrt.f64 1/2) (sqrt.f64 1/2) (/.f64 1 x))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(fma.f64 (sqrt.f64 1/2) (sqrt.f64 1/2) (/.f64 1 x))

simplify103.0ms (3.7%)

Algorithm
egg-herbie
Rules
644×fma-def_binary64
428×unswap-sqr_binary64
419×distribute-rgt-in_binary64
370×fabs-mul_binary64
353×*-commutative_binary64
Counts
22 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020178
127163
251163
3105163
4233163
5595163
61522163
72566163
83548163
94197163
104736163
114904163
124893163

prune11.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New23023
Fresh011
Picked011
Done011
Total23326
Error
0.2b
Counts
26 → 3
Alt Table
StatusErrorProgram
0.3b
(*.f64 (exp.f64 x) (/.f64 1 (expm1.f64 x)))
23.1b
(fma.f64 (sqrt.f64 1/2) (sqrt.f64 1/2) (/.f64 1 x))
27.6b
(cbrt.f64 (/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))))
Compiler

Compiled 276 to 234 computations (15.2% saved)

regimes49.0ms (1.8%)

Accuracy

Total 0.1b remaining (20.4%)

Threshold costs 0.1b (20.4%)

Counts
24 → 1
Compiler

Compiled 761 to 502 computations (34% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11011
2911

end48.0ms (1.7%)

Compiler

Compiled 52 to 35 computations (32.7% saved)

Profiling

Loading profile data...