Details

Time bar (total: 2.8s)

analyze100.0ms (3.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)

sample67.0ms (2.4%)

Algorithm
intervals
Results
42.0ms132×body1024valid
9.0ms57×body512valid
4.0ms35×body256valid
3.0msbody2048valid
1.0ms24×body128valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

simplify73.0ms (2.6%)

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
59.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
59.0b
(/.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.2%)

Local error

Found 2 expressions with local error:

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

rewrite21.0ms (0.7%)

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

series28.0ms (1%)

Counts
2 → 16
Calls

2 calls:

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

simplify122.0ms (4.3%)

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 → 174
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01722760
13822556
211452481
343472481
448812481

prune49.0ms (1.7%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1722174
Fresh000
Picked101
Done000
Total1732175
Error
0b
Counts
175 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
1.1b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x))
Compiler

Compiled 2825 to 600 computations (78.8% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(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)

series18.0ms (0.6%)

Counts
1 → 12
Calls

1 calls:

18.0ms
(tanh.f64 x)

simplify45.0ms (1.6%)

Algorithm
egg-herbie
Rules
761×times-frac_binary64
520×fma-neg_binary64
330×fma-def_binary64
234×distribute-rgt-in_binary64
232×distribute-lft-in_binary64
Counts
24 → 38
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
046189
1111182
2264178
3747175
43029175
55001175

prune11.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh011
Picked011
Done000
Total38240
Error
0b
Counts
40 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
1.1b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x))
Compiler

Compiled 221 to 143 computations (35.3% saved)

localize13.0ms (0.5%)

Local error

Found 2 expressions with local error:

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

rewrite2.0ms (0.1%)

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
2 → 20
Calls

2 calls:

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

series49.0ms (1.7%)

Counts
2 → 24
Calls

2 calls:

37.0ms
(fma.f64 (pow.f64 x 5) 2/15 x)
12.0ms
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x))

simplify64.0ms (2.2%)

Algorithm
egg-herbie
Rules
612×associate-*l*_binary64
578×associate-*r*_binary64
480×distribute-lft-in_binary64
480×distribute-rgt-in_binary64
291×fma-def_binary64
Counts
44 → 77
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
037584
166520
2153518
3599518
43542518
54943518

prune27.0ms (0.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New77077
Fresh000
Picked011
Done011
Total77279
Error
0b
Counts
79 → 2
Alt Table
StatusErrorProgram
0.0b
(tanh.f64 x)
1.1b
(fma.f64 (pow.f64 x 3) -1/3 (fma.f64 (pow.f64 x 5) 2/15 x))
Compiler

Compiled 688 to 523 computations (24% saved)

regimes24.0ms (0.8%)

Accuracy

Total 0.0b remaining (72.4%)

Threshold costs 0.0b (72.4%)

Compiler

Compiled 264 to 182 computations (31.1% saved)

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
033
133

end1.0ms (0%)

Compiler

Compiled 3 to 2 computations (33.3% saved)

sample2.1s (74.3%)

Algorithm
intervals
Results
1.2s3859×body1024valid
346.0ms1972×body512valid
142.0ms392×body2048valid
111.0ms984×body256valid
45.0ms793×body128valid
Compiler

Compiled 34 to 22 computations (35.3% saved)

Profiling

Loading profile data...