Details

Time bar (total: 3.3s)

analyze101.0ms (3.1%)

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)

sample64.0ms (1.9%)

Algorithm
intervals
Results
37.0ms123×body1024valid
11.0ms59×body512valid
4.0ms41×body256valid
2.0msbody2048valid
1.0ms27×body128valid
Compiler

Compiled 30 to 16 computations (46.7% saved)

simplify76.0ms (2.3%)

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.1b
Counts
2 → 1
Alt Table
StatusErrorProgram
58.1b
(/.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
0.5b
(/.f64 (-.f64 (exp.f64 x) (exp.f64 (neg.f64 x))) (+.f64 (exp.f64 x) (exp.f64 (neg.f64 x))))
7.2b
(-.f64 (exp.f64 x) (exp.f64 (neg.f64 x)))

rewrite18.0ms (0.6%)

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:

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

series26.0ms (0.8%)

Counts
2 → 16
Calls

2 calls:

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

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01722760
13822556
211452481
343472481
448812481

prune59.0ms (1.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1713174
Fresh000
Picked101
Done000
Total1723175
Error
0b
Counts
175 → 3
Alt Table
StatusErrorProgram
1.5b
(-.f64 (fma.f64 (pow.f64 x 5) 2/15 x) (fma.f64 1/3 (pow.f64 x 3) (*.f64 (pow.f64 x 7) 17/315)))
0.5b
(/.f64 (sinh.f64 x) (cosh.f64 x))
0.0b
(tanh.f64 x)
Compiler

Compiled 2849 to 618 computations (78.3% saved)

localize2.0ms (0%)

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

Counts
1 → 12
Calls

1 calls:

17.0ms
(tanh.f64 x)

simplify43.0ms (1.3%)

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

prune17.0ms (0.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New36238
Fresh202
Picked101
Done000
Total39241
Error
0b
Counts
41 → 2
Alt Table
StatusErrorProgram
0.5b
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 (+.f64 x x))))
0.3b
(/.f64 (neg.f64 (expm1.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
Compiler

Compiled 244 to 159 computations (34.8% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 x -2))
0.0b
(+.f64 1 (exp.f64 (*.f64 x -2)))
0.3b
(/.f64 (neg.f64 (expm1.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity_binary64
40×times-frac_binary64
30×add-sqr-sqrt_binary64
30×add-cube-cbrt_binary64
15×distribute-lft-neg-in_binary64
Counts
3 → 100
Calls

3 calls:

5.0ms
(/.f64 (neg.f64 (expm1.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
2.0ms
(+.f64 1 (exp.f64 (*.f64 x -2)))
0.0ms
(expm1.f64 (*.f64 x -2))

series27.0ms (0.8%)

Counts
3 → 36
Calls

3 calls:

24.0ms
(/.f64 (neg.f64 (expm1.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
2.0ms
(expm1.f64 (*.f64 x -2))
2.0ms
(+.f64 1 (exp.f64 (*.f64 x -2)))

simplify119.0ms (3.6%)

Algorithm
egg-herbie
Rules
685×div-sub_binary64
614×fma-neg_binary64
361×times-frac_binary64
257×associate-/l*_binary64
227×fma-def_binary64
Counts
136 → 253
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01673028
13752898
210132832
334022802
452172802

prune113.0ms (3.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New2530253
Fresh011
Picked011
Done000
Total2532255
Error
0b
Counts
255 → 2
Alt Table
StatusErrorProgram
0.5b
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 (+.f64 x x))))
0.3b
(/.f64 (neg.f64 (expm1.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
Compiler

Compiled 3574 to 2985 computations (16.5% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (+.f64 x x))
0.0b
(+.f64 1 (exp.f64 (+.f64 x x)))
0.5b
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 (+.f64 x x))))

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×times-frac_binary64
distribute-lft-out_binary64
Counts
3 → 64
Calls

3 calls:

7.0ms
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 (+.f64 x x))))
4.0ms
(+.f64 1 (exp.f64 (+.f64 x x)))
0.0ms
(expm1.f64 (+.f64 x x))

series23.0ms (0.7%)

Counts
3 → 36
Calls

3 calls:

19.0ms
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 (+.f64 x x))))
3.0ms
(expm1.f64 (+.f64 x x))
2.0ms
(+.f64 1 (exp.f64 (+.f64 x x)))

simplify119.0ms (3.6%)

Algorithm
egg-herbie
Rules
490×fma-neg_binary64
362×distribute-rgt-in_binary64
316×fma-def_binary64
300×distribute-lft-in_binary64
221×cancel-sign-sub-inv_binary64
Counts
100 → 181
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01171701
12691520
27091508
321621505
446901505
549911505
649311505

prune60.0ms (1.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1810181
Fresh000
Picked011
Done011
Total1812183
Error
0b
Counts
183 → 2
Alt Table
StatusErrorProgram
0.5b
(/.f64 (expm1.f64 (+.f64 x x)) (+.f64 1 (exp.f64 (+.f64 x x))))
0.3b
(/.f64 (neg.f64 (expm1.f64 (*.f64 x -2))) (+.f64 1 (exp.f64 (*.f64 x -2))))
Compiler

Compiled 2231 to 906 computations (59.4% saved)

regimes110.0ms (3.3%)

Accuracy

Total 0.0b remaining (35.5%)

Threshold costs 0.0b (35.5%)

Compiler

Compiled 2360 to 1343 computations (43.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
053
183
273

end0.0ms (0%)

Compiler

Compiled 3 to 2 computations (33.3% saved)

sample2.1s (64.4%)

Algorithm
intervals
Results
1.2s3901×body1024valid
340.0ms1918×body512valid
152.0ms442×body2048valid
111.0ms963×body256valid
45.0ms776×body128valid
Compiler

Compiled 44 to 29 computations (34.1% saved)

Profiling

Loading profile data...