Details

Time bar (total: 4.7s)

analyze685.0ms (14.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.1%24.5%13
31.5%43.8%24.8%14
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample3.3s (69.7%)

Results
2.1s2828×body1024valid
427.0ms1342×body512valid
345.0ms3102×body128valid
184.0ms313×body2048valid
143.0ms671×body256valid
0.0msbody128invalid
Compiler

Compiled 41 to 35 computations (14.6% saved)

simplify43.0ms (0.9%)

Algorithm
egg-herbie
Rules
667×div-sub_binary64
601×associate-/l*_binary64
488×associate-/r*_binary64
380×fma-def_binary64
279×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01113
12513
23413
35913
412311
53188
610568
743508
849878

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
41.6b
(sqrt.f64 (/.f64 (-.f64 (exp.f64 (*.f64 2 x)) 1) (-.f64 (exp.f64 x) 1)))
Compiler

Compiled 56 to 46 computations (17.9% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(exp.f64 x)
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
0.0b
(+.f64 1 (exp.f64 x))

series9.0ms (0.2%)

Counts
3 → 12
Calls

3 calls:

5.0ms
(sqrt.f64 (+.f64 1 (exp.f64 x)))
2.0ms
(+.f64 1 (exp.f64 x))
2.0ms
(exp.f64 x)

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
add-log-exp_binary64
add-cube-cbrt_binary64
sqrt-prod_binary64
Counts
3 → 51
Calls

3 calls:

4.0ms
(+.f64 1 (exp.f64 x))
3.0ms
(sqrt.f64 (+.f64 1 (exp.f64 x)))
1.0ms
(exp.f64 x)

simplify85.0ms (1.8%)

Algorithm
egg-herbie
Rules
733×times-frac_binary64
283×fma-neg_binary64
258×fma-def_binary64
228×distribute-rgt-in_binary64
200×associate-+l+_binary64
Counts
63 → 77
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0101640
1239594
2636570
32350554
44990554
54947554
64977554

prune47.0ms (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New76177
Fresh101
Picked011
Done000
Total77279
Error
0b
Counts
79 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
0.0b
(sqrt.f64 (/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x))))
Compiler

Compiled 883 to 630 computations (28.7% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x))))
0.0b
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x)))

series28.0ms (0.6%)

Counts
2 → 24
Calls

2 calls:

16.0ms
(sqrt.f64 (/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x))))
12.0ms
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x)))

rewrite41.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
201×times-frac_binary64
132×add-sqr-sqrt_binary64
129×*-un-lft-identity_binary64
129×add-cube-cbrt_binary64
126×distribute-lft-neg-in_binary64
Counts
2 → 254
Calls

2 calls:

8.0ms
(sqrt.f64 (/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x))))
5.0ms
(/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x)))

simplify252.0ms (5.3%)

Algorithm
egg-herbie
Rules
639×fma-def_binary64
635×associate-/l*_binary64
298×associate-/r/_binary64
294×div-sub_binary64
280×associate-/l/_binary64
Counts
278 → 341
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
03608231
16357873
219087608
344617604
449517604

prune123.0ms (2.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3410341
Fresh000
Picked011
Done011
Total3412343
Error
0b
Counts
343 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (+.f64 1 (exp.f64 x)))
0.0b
(sqrt.f64 (/.f64 (neg.f64 (expm1.f64 (+.f64 x x))) (neg.f64 (expm1.f64 x))))
Compiler

Compiled 7236 to 1413 computations (80.5% saved)

regimes43.0ms (0.9%)

Accuracy

Total 0.0b remaining (6.7%)

Threshold costs 0.0b (6.7%)

Counts
10 → 1
Compiler

Compiled 365 to 304 computations (16.7% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
068
198
288

end45.0ms (1%)

Compiler

Compiled 29 to 23 computations (20.7% saved)

Profiling

Loading profile data...