Details

Time bar (total: 3.2s)

analyze55.0ms (1.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%31.2%6.3%6
68.7%21.9%9.5%7
68.7%17.2%14.1%8
71.8%11.7%16.5%9
71.8%9%19.2%10
73.4%6%20.6%11
73.4%4.6%22%12
74.1%3.1%22.8%13
74.1%2.3%23.5%14
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample92.0ms (2.9%)

Algorithm
intervals
Symmetry

(sort a x)

Results
25.0ms58×body2048valid
8.0ms45×body1024valid
4.0ms35×body512valid
3.0ms93×body128valid
2.0ms25×body256valid
0.0msbody128invalid
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify64.0ms (2%)

Algorithm
egg-herbie
Rules
571×fma-neg_binary64
455×*-commutative_binary64
440×unswap-sqr_binary64
344×associate-*l*_binary64
274×associate-+l+_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
1166
2236
3356
4706
51606
64326
715646
834906
949546
1049936
1148746

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 24 to 15 computations (37.5% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))

series6.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

6.0ms
(expm1.f64 (*.f64 a x))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(expm1.f64 (*.f64 a x))

simplify61.0ms (1.9%)

Algorithm
egg-herbie
Rules
910×fma-def_binary64
844×distribute-lft-out_binary64
785×fma-neg_binary64
383×*-commutative_binary64
308×unswap-sqr_binary64
Counts
35 → 19
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
040382
196369
2262363
3966347
42376333
53696333
64842333
75375333

prune11.0ms (0.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New17219
Fresh000
Picked011
Done000
Total17320
Error
0.0b
Counts
20 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
35.8b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))
24.1b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
Compiler

Compiled 277 to 133 computations (52% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 1/2 (*.f64 a a))
1.0b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
3.8b
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

series28.0ms (0.9%)

Counts
3 → 60
Calls

3 calls:

14.0ms
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
11.0ms
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)
2.0ms
(*.f64 1/2 (*.f64 a a))

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
10×pow1_binary64
add-sqr-sqrt_binary64
associate-*l*_binary64
Counts
3 → 53
Calls

3 calls:

6.0ms
(*.f64 1/2 (*.f64 a a))
3.0ms
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
0.0ms
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

simplify52.0ms (1.6%)

Algorithm
egg-herbie
Rules
975×distribute-rgt-in_binary64
973×distribute-lft-in_binary64
511×fma-def_binary64
440×associate-*l*_binary64
338×associate-*r*_binary64
Counts
113 → 90
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0861516
11651339
24681329
314151329
455551329

prune48.0ms (1.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New90090
Fresh011
Picked011
Done011
Total90393
Error
0.0b
Counts
93 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
35.8b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))
24.1b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
Compiler

Compiled 1432 to 672 computations (53.1% saved)

localize5.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.1b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))
12.3b
(sqrt.f64 (expm1.f64 (*.f64 a x)))

series36.0ms (1.1%)

Counts
2 → 40
Calls

2 calls:

29.0ms
(sqrt.f64 (expm1.f64 (*.f64 a x)))
6.0ms
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))

rewrite12.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

5.0ms
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))
1.0ms
(sqrt.f64 (expm1.f64 (*.f64 a x)))

simplify97.0ms (3%)

Algorithm
egg-herbie
Rules
501×fma-neg_binary64
462×unswap-sqr_binary64
338×associate-*l*_binary64
279×associate-*r*_binary64
264×difference-of-squares_binary64
Counts
108 → 85
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0761213
11481154
24211125
314791077
43607999
54448993
64981993
75027993

prune58.0ms (1.8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1411142
Fresh000
Picked011
Done022
Total1414145
Error
0b
Counts
145 → 4
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
35.8b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))
24.1b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
35.9b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))
Compiler

Compiled 2394 to 611 computations (74.5% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))
0.2b
(cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))
12.3b
(sqrt.f64 (expm1.f64 (*.f64 a x)))
12.4b
(cbrt.f64 (expm1.f64 (*.f64 a x)))

series923.0ms (28.9%)

Counts
3 → 72
Calls

3 calls:

462.0ms
(cbrt.f64 (expm1.f64 (*.f64 a x)))
453.0ms
(cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))
7.0ms
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))

rewrite11.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
3 → 52
Calls

3 calls:

6.0ms
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))
1.0ms
(cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))
1.0ms
(cbrt.f64 (expm1.f64 (*.f64 a x)))

simplify89.0ms (2.8%)

Algorithm
egg-herbie
Rules
662×fma-def_binary64
564×distribute-lft-out_binary64
478×*-commutative_binary64
264×distribute-rgt-in_binary64
258×distribute-lft-in_binary64
Counts
124 → 106
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01572497
13802304
211111926
325801578
436671517
549051517

prune60.0ms (1.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1440144
Fresh000
Picked011
Done033
Total1444148
Error
0b
Counts
148 → 4
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
35.8b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (sqrt.f64 (expm1.f64 (*.f64 a x))))
24.1b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
35.9b
(*.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))) (*.f64 (cbrt.f64 (expm1.f64 (*.f64 a x))) (cbrt.f64 (sqrt.f64 (expm1.f64 (*.f64 a x))))))
Compiler

Compiled 3697 to 920 computations (75.1% saved)

regimes54.0ms (1.7%)

Accuracy

Total 0.0b remaining (21%)

Threshold costs 0.0b (21%)

Counts
13 → 1
Compiler

Compiled 730 to 489 computations (33% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end5.0ms (0.2%)

Remove

(sort a x)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample1.4s (43.7%)

Algorithm
intervals
Results
475.0ms1449×body2048valid
328.0ms1733×body1024valid
132.0ms3090×body128valid
125.0ms1121×body512valid
41.0ms607×body256valid
5.0ms160×body128invalid
Compiler

Compiled 68 to 39 computations (42.6% saved)

Profiling

Loading profile data...