Details

Time bar (total: 3.7s)

analyze19.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14
Compiler

Compiled 15 to 8 computations (46.7% saved)

sample3.1s (82.8%)

Results
2.0s4044×body1024valid
600.0ms2044×body512valid
227.0ms424×body2048valid
185.0ms950×body256valid
89.0ms794×body128valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

preprocess33.0ms (0.9%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
478×fma-neg_binary64
464×times-frac_binary64
264×associate-*l*_binary64
226×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23522
35922
413322
533622
687822
7256922
011
Stop Event
saturated
node limit
Compiler

Compiled 14 to 7 computations (50% saved)

simplify23.0ms (0.6%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
478×fma-neg_binary64
464×times-frac_binary64
264×associate-*l*_binary64
226×associate-*r*_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23522
35922
413322
533622
687822
7256922
Stop Event
node limit
Counts
1 → 1

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
58.4b
Counts
2 → 1
Alt Table
StatusErrorProgram
58.4b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
Compiler

Compiled 42 to 21 computations (50% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
1.0b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
4.0b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series18.0ms (0.5%)

Counts
3 → 24
Calls

9 calls:

7.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
inf
6.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
-inf
1.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
x
0
1.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
0
1.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
x
0

rewrite107.0ms (2.9%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
97×add-sqr-sqrt_binary64
97×add-sqr-sqrt_binary64
92×log1p-expm1-u_binary64
92×expm1-log1p-u_binary64
92×log1p-expm1-u_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
118618
2366218
066
11306
221316
066
083
11863
236623
083
066
11296
221306
066
Stop Event
iter limit
unsound
iter limit
unsound
iter limit
unsound
unsound
Counts
3 → 37

simplify31.0ms (0.8%)

Algorithm
egg-herbie
Rules
783×fma-def_binary64
695×fma-neg_binary64
507×unswap-sqr_binary64
471×associate-*l*_binary64
377×associate-*r*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
050321
1138317
2352311
31114309
43894309
Stop Event
node limit
Counts
61 → 64

prune36.0ms (1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New62264
Fresh000
Picked101
Done000
Total63265
Error
0b
Counts
65 → 2
Alt Table
StatusErrorProgram
1.0b
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.0b
(tanh.f64 x)
Compiler

Compiled 962 to 421 computations (56.2% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

series20.0ms (0.5%)

Counts
1 → 12
Calls

3 calls:

10.0ms
(tanh.f64 x)
x
inf
9.0ms
(tanh.f64 x)
x
-inf
1.0ms
(tanh.f64 x)
x
0

rewrite29.0ms (0.8%)

Algorithm
batch-egg-rewrite
Rules
435×log1p-expm1-u_binary64
435×expm1-log1p-u_binary64
373×pow1_binary64
202×unpow-prod-down_binary64
186×log-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
1753
210873
Stop Event
node limit
Counts
1 → 52

simplify39.0ms (1%)

Algorithm
egg-herbie
Rules
490×fma-neg_binary64
404×distribute-rgt-neg-in_binary64
367×cancel-sign-sub-inv_binary64
299×distribute-lft-neg-in_binary64
281×fma-def_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
025228
173228
2179224
3535222
41589222
53314222
64744222
Stop Event
node limit
Counts
64 → 61

prune25.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New60161
Fresh101
Picked011
Done000
Total61263
Error
0b
Counts
63 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
1.0b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 625 to 397 computations (36.5% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)
1.0b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))

series37.0ms (1%)

Counts
2 → 24
Calls

6 calls:

14.0ms
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
x
-inf
13.0ms
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
x
inf
5.0ms
(sinh.f64 x)
x
-inf
3.0ms
(sinh.f64 x)
x
inf
1.0ms
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
x
0

rewrite47.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
890×log1p-expm1-u_binary64
890×expm1-log1p-u_binary64
88×egg-rr
84×add-sqr-sqrt_binary64
80×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0814
117711
2239311
Stop Event
node limit
Counts
2 → 88

simplify34.0ms (0.9%)

Algorithm
egg-herbie
Rules
490×fma-neg_binary64
468×fma-def_binary64
406×distribute-rgt-neg-in_binary64
367×cancel-sign-sub-inv_binary64
301×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
037378
1103378
2271366
3807364
42108364
53928364
Stop Event
node limit
Counts
112 → 105

prune49.0ms (1.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh000
Picked011
Done011
Total1052107
Error
0b
Counts
107 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
1.0b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
Compiler

Compiled 1378 to 805 computations (41.6% saved)

regimes43.0ms (1.1%)

Accuracy

Total 0.0b remaining (73.5%)

Threshold costs 0.0b (73.5%)

Counts
29 → 1
Compiler

Compiled 624 to 448 computations (28.2% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
Stop Event
saturated

end33.0ms (0.9%)

Stop Event
done
Compiler

Compiled 19 to 14 computations (26.3% saved)

Profiling

Loading profile data...