Details

Time bar (total: 3.6s)

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)

sample2.9s (79%)

Results
1.8s3982×body1024valid
550.0ms1956×body512valid
221.0ms433×body2048valid
192.0ms1068×body256valid
85.0ms817×body128valid
0.0msbody128invalid
Compiler

Compiled 30 to 16 computations (46.7% saved)

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

simplify21.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

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
58.2b
Counts
2 → 1
Alt Table
StatusErrorProgram
58.2b
(/.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)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.8b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
6.9b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series14.0ms (0.4%)

Counts
2 → 16
Calls

6 calls:

6.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
x
inf
5.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
0.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
x
-inf

rewrite84.0ms (2.3%)

Algorithm
egg-rewrite-iter-limit
egg-rewrite
batch-egg-rewrite
Rules
99×add-sqr-sqrt_binary64
99×add-sqr-sqrt_binary64
95×*-un-lft-identity_binary64
95×pow1_binary64
95×*-un-lft-identity_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0812
118612
2369012
066
11306
221496
066
083
11863
236903
083
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 25

simplify31.0ms (0.9%)

Algorithm
egg-herbie
Rules
495×fma-neg_binary64
484×fma-def_binary64
421×distribute-rgt-neg-in_binary64
377×cancel-sign-sub-inv_binary64
314×distribute-lft-neg-in_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
036238
1100238
2253234
3793232
42098232
53959232
Stop Event
node limit
Counts
41 → 43

prune31.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New40343
Fresh000
Picked101
Done000
Total41344
Error
0b
Counts
44 → 3
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
0.8b
(/.f64 (*.f64 2 (sinh.f64 x)) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
0.9b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
Compiler

Compiled 631 to 306 computations (51.5% saved)

localize1.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

series22.0ms (0.6%)

Counts
1 → 12
Calls

3 calls:

9.0ms
(tanh.f64 x)
x
-inf
9.0ms
(tanh.f64 x)
x
inf
4.0ms
(tanh.f64 x)
x
0

rewrite32.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
465×pow1_binary64
437×add-log-exp_binary64
435×log1p-expm1-u_binary64
435×expm1-log1p-u_binary64
428×add-exp-log_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
1753
210793
Stop Event
node limit
Counts
1 → 31

simplify38.0ms (1.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
43 → 40

prune22.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh112
Picked011
Done000
Total40343
Error
0b
Counts
43 → 3
Alt Table
StatusErrorProgram
0.8b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
0.0b
(tanh.f64 x)
0.9b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
Compiler

Compiled 440 to 307 computations (30.2% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

series34.0ms (1%)

Counts
2 → 24
Calls

6 calls:

13.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
3.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

rewrite48.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
890×log1p-expm1-u_binary64
890×expm1-log1p-u_binary64
90×add-sqr-sqrt_binary64
88×*-un-lft-identity_binary64
88×pow1_binary64
Iterations

Useful iterations: 1 (0.0ms)

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

simplify34.0ms (1%)

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

prune55.0ms (1.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1050105
Fresh011
Picked011
Done011
Total1053108
Error
0b
Counts
108 → 3
Alt Table
StatusErrorProgram
0.8b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
0.0b
(tanh.f64 x)
0.9b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
Compiler

Compiled 1402 to 823 computations (41.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 (pow.f64 x 3) -1/3 x)
0.0b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))

series7.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

2.0ms
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
x
inf
1.0ms
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
x
-inf
1.0ms
(fma.f64 (pow.f64 x 3) -1/3 x)
x
-inf
1.0ms
(fma.f64 (pow.f64 x 3) -1/3 x)
x
inf
1.0ms
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
x
0

rewrite39.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
835×log1p-expm1-u_binary64
835×expm1-log1p-u_binary64
100×add-sqr-sqrt_binary64
97×add-log-exp_binary64
95×add-cube-cbrt_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121823
2225823
Stop Event
node limit
Counts
2 → 47

simplify31.0ms (0.9%)

Algorithm
egg-herbie
Rules
720×fma-neg_binary64
416×unswap-sqr_binary64
405×cancel-sign-sub-inv_binary64
333×associate-*l*_binary64
304×fma-def_binary64
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
016264
143260
2102228
3309228
4735228
52023228
63560228
Stop Event
node limit
Counts
71 → 57

prune36.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New57057
Fresh000
Picked011
Done022
Total57360
Error
0b
Counts
60 → 3
Alt Table
StatusErrorProgram
0.8b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
0.0b
(tanh.f64 x)
0.9b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
Compiler

Compiled 907 to 703 computations (22.5% saved)

regimes64.0ms (1.8%)

Accuracy

Total 0.0b remaining (85.8%)

Threshold costs 0.0b (85.8%)

Counts
35 → 1
Compiler

Compiled 730 to 528 computations (27.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
Stop Event
saturated

end43.0ms (1.2%)

Stop Event
done
Compiler

Compiled 31 to 23 computations (25.8% saved)

Profiling

Loading profile data...