Details

Time bar (total: 5.0s)

analyze768.0ms (15.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%75%25%4
0%62.5%37.5%5
0%56.2%43.8%6
0%53.1%46.9%7
0%51.5%48.5%8
0%51.5%48.5%9
0%51.5%48.5%10
0%51.5%48.5%11
0%51.4%48.6%12
0%51.4%48.6%13
0%51.4%48.6%14
Compiler

Compiled 15 to 8 computations (46.7% saved)

sample3.3s (66.5%)

Results
2.0s3927×body1024valid
664.0ms2061×body512valid
252.0ms398×body2048valid
219.0ms1044×body256valid
94.0ms826×body128valid
Compiler

Compiled 29 to 15 computations (48.3% saved)

simplify71.0ms (1.4%)

Algorithm
egg-herbie
Rules
720×fma-def_binary64
658×unswap-sqr_binary64
478×fma-neg_binary64
464×times-frac_binary64
388×associate-/r/_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0822
12022
23422
35822
412522
528822
662422
7157722
8379822
9455322
10502322

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.7b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
6.4b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

series22.0ms (0.4%)

Counts
3 → 24
Calls

3 calls:

17.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
2.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
2.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite26.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity_binary64
39×add-sqr-sqrt_binary64
30×times-frac_binary64
25×add-cube-cbrt_binary64
prod-diff_binary64
Counts
3 → 110
Calls

3 calls:

9.0ms
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
4.0ms
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
3.0ms
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

simplify117.0ms (2.3%)

Algorithm
egg-herbie
Rules
508×fma-def_binary64
473×associate-*l*_binary64
370×fma-neg_binary64
327×times-frac_binary64
203×associate-/l*_binary64
Counts
134 → 152
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01923081
14342840
212822757
342522757
448502757

prune66.0ms (1.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1502152
Fresh000
Picked101
Done000
Total1512153
Error
0b
Counts
153 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
0.9b
(/.f64 2 (/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x)))
Compiler

Compiled 3366 to 728 computations (78.4% saved)

localize1.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

series26.0ms (0.5%)

Counts
1 → 12
Calls

1 calls:

26.0ms
(tanh.f64 x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 12
Calls

1 calls:

1.0ms
(tanh.f64 x)

simplify53.0ms (1.1%)

Algorithm
egg-herbie
Rules
748×times-frac_binary64
602×fma-neg_binary64
330×fma-def_binary64
236×distribute-rgt-in_binary64
234×distribute-lft-in_binary64
Counts
24 → 24
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
049189
1111182
2266178
3751175
43049175
54950175
65000175

prune10.0ms (0.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New24024
Fresh011
Picked011
Done000
Total24226
Error
0b
Counts
26 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
0.9b
(/.f64 2 (/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x)))
Compiler

Compiled 236 to 150 computations (36.4% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sinh.f64 x)
0.0b
(+.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))
0.2b
(/.f64 2 (/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x)))
0.7b
(/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x))

series64.0ms (1.3%)

Counts
3 → 36
Calls

3 calls:

28.0ms
(/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x))
27.0ms
(/.f64 2 (/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x)))
9.0ms
(sinh.f64 x)

rewrite29.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
135×times-frac_binary64
102×*-un-lft-identity_binary64
70×add-sqr-sqrt_binary64
70×add-cube-cbrt_binary64
23×associate-/r*_binary64
Counts
3 → 150
Calls

3 calls:

10.0ms
(/.f64 2 (/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x)))
5.0ms
(/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x))
1.0ms
(sinh.f64 x)

simplify166.0ms (3.3%)

Algorithm
egg-herbie
Rules
562×fma-def_binary64
535×associate-/r/_binary64
468×associate-*l/_binary64
412×associate-/r*_binary64
369×associate-/l/_binary64
Counts
186 → 243
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02634851
15754500
217793920
346523920
449833920

prune120.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2720272
Fresh000
Picked011
Done011
Total2722274
Error
0b
Counts
274 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
0.9b
(/.f64 2 (/.f64 (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (sinh.f64 x)))
Compiler

Compiled 5364 to 1846 computations (65.6% saved)

regimes67.0ms (1.3%)

Accuracy

Total 0.0b remaining (56.3%)

Threshold costs 0.0b (56.3%)

Counts
40 → 1
Compiler

Compiled 936 to 668 computations (28.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end36.0ms (0.7%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

Profiling

Loading profile data...