Details

Time bar (total: 3.6s)

analyze17.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.8s (77.7%)

Results
1.8s3982×body1024valid
521.0ms1956×body512valid
215.0ms433×body2048valid
200.0ms1068×body256valid
89.0ms817×body128valid
0.0msbody128invalid
Compiler

Compiled 30 to 16 computations (46.7% saved)

preprocess35.0ms (1%)

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

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

rewrite75.0ms (2%)

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
0812
118612
2366212
066
11306
221316
066
083
11863
236623
083
Stop Event
iter limit
unsound
iter limit
unsound
unsound
Counts
2 → 25

simplify30.0ms (0.8%)

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

prune32.0ms (0.9%)

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.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))
0.0b
(tanh.f64 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)

series20.0ms (0.6%)

Counts
1 → 12
Calls

3 calls:

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

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

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

prune28.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

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

Compiled 649 to 415 computations (36.1% 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)))

series33.0ms (0.9%)

Counts
2 → 24
Calls

6 calls:

13.0ms
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
x
inf
12.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

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

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.9b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
0.8b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
0.0b
(tanh.f64 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))

series6.0ms (0.2%)

Counts
2 → 24
Calls

6 calls:

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 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
103×prod-diff_binary64
100×add-sqr-sqrt_binary64
95×add-cbrt-cube_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01023
121423
2228323
Stop Event
node limit
Counts
2 → 47

simplify30.0ms (0.8%)

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

prune42.0ms (1.2%)

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.9b
(fma.f64 (pow.f64 x 5) 2/15 (fma.f64 (pow.f64 x 3) -1/3 x))
0.8b
(/.f64 (*.f64 2 (sinh.f64 x)) (*.f64 2 (cosh.f64 x)))
0.0b
(tanh.f64 x)
Compiler

Compiled 907 to 703 computations (22.5% saved)

regimes116.0ms (3.2%)

Accuracy

Total 0.0b remaining (85.8%)

Threshold costs 0.0b (85.8%)

Counts
35 → 1
Compiler

Compiled 716 to 518 computations (27.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
Stop Event
saturated

end46.0ms (1.3%)

Stop Event
done
Compiler

Compiled 31 to 23 computations (25.8% saved)

Profiling

Loading profile data...