Details

Time bar (total: 2.7s)

analyze20.0ms (0.7%)

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)

sample142.0ms (5.3%)

Algorithm
intervals
Results
40.0ms133×body1024valid
10.0ms57×body512valid
5.0ms15×body2048valid
3.0ms28×body256valid
1.0ms23×body128valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

simplify67.0ms (2.5%)

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.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Local error

Found 2 expressions with local error:

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

series18.0ms (0.7%)

Counts
2 → 16
Calls

2 calls:

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

rewrite20.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity_binary64
37×add-sqr-sqrt_binary64
30×times-frac_binary64
23×add-cube-cbrt_binary64
prod-diff_binary64
Counts
2 → 92
Calls

2 calls:

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

simplify106.0ms (3.9%)

Algorithm
egg-herbie
Rules
436×fma-def_binary64
418×associate-*l*_binary64
364×associate-*r*_binary64
322×times-frac_binary64
220×fma-neg_binary64
Counts
108 → 123
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722760
13822556
211452481
343472481
448812481

prune49.0ms (1.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1212123
Fresh000
Picked011
Done000
Total1213124
Error
0b
Counts
124 → 3
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
58.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
Compiler

Compiled 2842 to 599 computations (78.9% saved)

localize1.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(tanh.f64 x)

series21.0ms (0.8%)

Counts
1 → 12
Calls

1 calls:

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

simplify51.0ms (1.9%)

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

prune11.0ms (0.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New24024
Fresh011
Picked011
Done011
Total24327
Error
0b
Counts
27 → 3
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
58.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
Compiler

Compiled 240 to 149 computations (37.9% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(fma.f64 (pow.f64 x 3) -1/3 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 → 10
Calls

1 calls:

0.0ms
(fma.f64 (pow.f64 x 3) -1/3 x)

simplify58.0ms (2.1%)

Algorithm
egg-herbie
Rules
435×neg-mul-1_binary64
394×associate-*l*_binary64
372×associate-*r*_binary64
317×distribute-rgt-out_binary64
261×exp-prod_binary64
Counts
22 → 16
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020232
135197
287197
3323197
41660197
54537197
65209197

prune9.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New16016
Fresh000
Picked011
Done022
Total16319
Error
0b
Counts
19 → 3
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
58.6b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
1.2b
(fma.f64 (pow.f64 x 3) -1/3 x)
Compiler

Compiled 172 to 123 computations (28.5% saved)

regimes28.0ms (1%)

Accuracy

Total 0.0b remaining (65.7%)

Threshold costs 0.0b (65.7%)

Counts
17 → 1
Compiler

Compiled 368 to 260 computations (29.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end0.0ms (0%)

Compiler

Compiled 3 to 2 computations (33.3% saved)

sample2.1s (77%)

Algorithm
intervals
Results
1.2s3928×body1024valid
340.0ms1958×body512valid
124.0ms365×body2048valid
102.0ms944×body256valid
49.0ms805×body128valid
Compiler

Compiled 43 to 25 computations (41.9% saved)

Profiling

Loading profile data...