Details

Time bar (total: 3.3s)

analyze575.0ms (17.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
12.5%75%12.5%4
18.7%62.5%18.8%5
21.9%56.2%21.9%6
23.4%53.1%23.5%7
24.2%51.5%24.3%8
24.6%51.1%24.3%9
24.6%51.1%24.3%10
24.7%51%24.3%11
24.7%51%24.3%12
24.8%50.9%24.3%13
24.8%50.9%24.3%14
Compiler

Compiled 9 to 6 computations (33.3% saved)

sample1.7s (51.9%)

Results
879.0ms2705×body1024valid
307.0ms1412×body512valid
268.0ms3176×body128valid
112.0ms303×body2048valid
104.0ms660×body256valid
0.0msbody2048invalid
Compiler

Compiled 17 to 11 computations (35.3% 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.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.5b
(/.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.5b
(/.f64 (exp.f64 x) (expm1.f64 x))

series9.0ms (0.3%)

Counts
1 → 12
Calls

1 calls:

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

simplify69.0ms (2.1%)

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

prune20.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New38240
Fresh000
Picked011
Done000
Total38341
Error
0.4b
Counts
41 → 3
Alt Table
StatusErrorProgram
29.3b
(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))))
21.8b
(+.f64 1/2 (/.f64 1 x))
0.5b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 493 to 174 computations (64.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.4b
Counts
3 → 3
Alt Table
StatusErrorProgram
29.3b
(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))))
21.8b
(+.f64 1/2 (/.f64 1 x))
0.5b
(/.f64 (exp.f64 x) (expm1.f64 x))
Compiler

Compiled 50 to 27 computations (46% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (expm1.f64 x) (expm1.f64 x))
0.1b
(*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))
0.5b
(/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x)))
27.0b
(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))))

series63.0ms (1.9%)

Counts
4 → 48
Calls

4 calls:

40.0ms
(/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x)))
11.0ms
(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))))
8.0ms
(*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))
4.0ms
(*.f64 (expm1.f64 x) (expm1.f64 x))

rewrite50.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
50×add-cbrt-cube_binary64
35×add-exp-log_binary64
30×pow1_binary64
22×cbrt-unprod_binary64
22×prod-exp_binary64
Counts
4 → 107
Calls

4 calls:

17.0ms
(/.f64 (*.f64 (*.f64 (exp.f64 x) (exp.f64 x)) (exp.f64 x)) (*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x)))
15.0ms
(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))))
5.0ms
(*.f64 (*.f64 (expm1.f64 x) (expm1.f64 x)) (expm1.f64 x))
3.0ms
(*.f64 (expm1.f64 x) (expm1.f64 x))

simplify86.0ms (2.6%)

Algorithm
egg-herbie
Rules
737×fma-def_binary64
452×associate-*l/_binary64
359×associate-*r/_binary64
279×associate-/l/_binary64
174×distribute-rgt-in_binary64
Counts
155 → 174
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01582195
13471715
213311542
345871542
450901542

prune85.0ms (2.6%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1731174
Fresh000
Picked011
Done112
Total1743177
Error
0.4b
Counts
177 → 3
Alt Table
StatusErrorProgram
50.4b
(cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))
0.5b
(/.f64 (exp.f64 x) (expm1.f64 x))
29.3b
(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 3789 to 1053 computations (72.2% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 3/2 (*.f64 x x))
0.1b
(/.f64 1 (pow.f64 x 3))
9.3b
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))
27.1b
(cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))

series16.0ms (0.5%)

Counts
4 → 36
Calls

4 calls:

6.0ms
(cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))
5.0ms
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))
3.0ms
(/.f64 1 (pow.f64 x 3))
3.0ms
(/.f64 3/2 (*.f64 x x))

rewrite69.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
79×*-un-lft-identity_binary64
78×times-frac_binary64
54×add-sqr-sqrt_binary64
54×add-cube-cbrt_binary64
40×fma-def_binary64
Counts
4 → 178
Calls

4 calls:

26.0ms
(cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))
20.0ms
(+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))
7.0ms
(/.f64 1 (pow.f64 x 3))
4.0ms
(/.f64 3/2 (*.f64 x x))

simplify143.0ms (4.4%)

Algorithm
egg-herbie
Rules
480×fma-def_binary64
372×unswap-sqr_binary64
356×associate-/l/_binary64
224×distribute-rgt-in_binary64
217×fma-neg_binary64
Counts
214 → 195
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01852668
14012553
215512501
345362445
447012435
549472435
649542435

prune135.0ms (4.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1932195
Fresh000
Picked011
Done022
Total1935198
Error
0.4b
Counts
198 → 5
Alt Table
StatusErrorProgram
29.3b
(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))))
62.5b
(+.f64 (*.f64 8/9 (*.f64 (/.f64 1 x) (pow.f64 3/8 1/3))) (+.f64 (*.f64 44/81 (*.f64 (/.f64 1 (pow.f64 x 2)) (pow.f64 3/8 1/3))) (pow.f64 3/8 1/3)))
50.4b
(cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))
0.5b
(/.f64 (exp.f64 x) (expm1.f64 x))
50.6b
(*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))) (cbrt.f64 (cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8)))) (cbrt.f64 (cbrt.f64 (+.f64 (+.f64 (/.f64 1 x) (+.f64 (/.f64 1 (pow.f64 x 3)) (/.f64 3/2 (*.f64 x x)))) 3/8))))
Compiler

Compiled 5045 to 3754 computations (25.6% saved)

regimes106.0ms (3.2%)

Accuracy

Total 0.1b remaining (20.8%)

Threshold costs 0.1b (20.8%)

Counts
39 → 1
Compiler

Compiled 2000 to 1432 computations (28.4% saved)

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
058
158

end100.0ms (3.1%)

Compiler

Compiled 142 to 106 computations (25.4% saved)

Profiling

Loading profile data...