Details

Time bar (total: 2.3s)

analyze421.0ms (18.5%)

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)

sample43.0ms (1.9%)

Algorithm
intervals
Results
14.0ms10×body2048valid
13.0ms89×body1024valid
4.0ms43×body512valid
3.0ms93×body128valid
1.0ms21×body256valid
Compiler

Compiled 18 to 12 computations (33.3% saved)

simplify9.0ms (0.4%)

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

prune6.0ms (0.3%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.8b
(/.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.7b
(/.f64 (exp.f64 x) (expm1.f64 x))

rewrite4.0ms (0.2%)

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

series16.0ms (0.7%)

Counts
1 → 12
Calls

1 calls:

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

simplify73.0ms (3.2%)

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 → 59
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
066559
1130521
2292519
3609519
41403519
54001519
65294519

prune19.0ms (0.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New56359
Fresh000
Picked011
Done000
Total56460
Error
0.6b
Counts
60 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
41.7b
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))
20.5b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
20.4b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 487 to 180 computations (63% saved)

localize3.0ms (0.1%)

rewrite0.0ms (0%)

Algorithm
rewrite-expression-head
Counts
0 → 0

series0.0ms (0%)

Counts
0 → 0

simplify8.0ms (0.4%)

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune3.0ms (0.1%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New000
Fresh022
Picked011
Done011
Total044
Error
0.6b
Counts
4 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
41.7b
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))
20.5b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
20.4b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 44 to 33 computations (25% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 x 1/12 (/.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 x 1/12 (/.f64 1 x))

series10.0ms (0.5%)

Counts
1 → 12
Calls

1 calls:

10.0ms
(fma.f64 x 1/12 (/.f64 1 x))

simplify89.0ms (3.9%)

Algorithm
egg-herbie
Rules
548×distribute-rgt-in_binary64
507×distribute-lft-in_binary64
453×distribute-rgt-out_binary64
425×associate-/l/_binary64
402×unswap-sqr_binary64
Counts
22 → 34
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
018208
122191
245191
3114191
4324191
51000191
62257191
73233191
83784191
94950191
104875191

prune9.0ms (0.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New34034
Fresh011
Picked011
Done022
Total34438
Error
0.6b
Counts
38 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
41.7b
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))
20.5b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
20.4b
(+.f64 1/2 (/.f64 1 x))
Compiler

Compiled 213 to 165 computations (22.5% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 x (log.f64 (expm1.f64 x)))
0.7b
(log.f64 (expm1.f64 x))
2.1b
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))

rewrite15.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64
27×add-sqr-sqrt_binary64
24×prod-diff_binary64
23×add-cube-cbrt_binary64
17×exp-sum_binary64
Counts
3 → 87
Calls

3 calls:

5.0ms
(-.f64 x (log.f64 (expm1.f64 x)))
5.0ms
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))
1.0ms
(log.f64 (expm1.f64 x))

series306.0ms (13.5%)

Counts
3 → 28
Calls

3 calls:

261.0ms
(log.f64 (expm1.f64 x))
42.0ms
(-.f64 x (log.f64 (expm1.f64 x)))
3.0ms
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))

simplify129.0ms (5.7%)

Algorithm
egg-herbie
Rules
1120×fma-neg_binary64
541×cancel-sign-sub-inv_binary64
376×associate-*l*_binary64
359×fma-def_binary64
318×associate-*r*_binary64
Counts
115 → 195
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01451558
12661192
27551047
328061047
445611047
549931047
648821047

prune34.0ms (1.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1941195
Fresh000
Picked011
Done123
Total1954199
Error
0.6b
Counts
199 → 4
Alt Table
StatusErrorProgram
0.8b
(/.f64 (exp.f64 x) (expm1.f64 x))
41.9b
(+.f64 (*.f64 1/2 (*.f64 (exp.f64 (neg.f64 (log.f64 x))) x)) (exp.f64 (neg.f64 (log.f64 x))))
41.7b
(exp.f64 (-.f64 x (log.f64 (expm1.f64 x))))
20.5b
(+.f64 1/2 (fma.f64 x 1/12 (/.f64 1 x)))
Compiler

Compiled 1842 to 543 computations (70.5% saved)

regimes28.0ms (1.2%)

Accuracy

Total 0.1b remaining (20.2%)

Threshold costs 0.1b (20.2%)

Compiler

Compiled 259 to 180 computations (30.5% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end0.0ms (0%)

Compiler

Compiled 6 to 4 computations (33.3% saved)

sample1.0s (45.4%)

Algorithm
intervals
Results
416.0ms2587×body1024valid
138.0ms1360×body512valid
111.0ms3096×body128valid
58.0ms276×body2048valid
41.0ms681×body256valid
1.0msbody2048invalid
Compiler

Compiled 52 to 35 computations (32.7% saved)

Profiling

Loading profile data...