Details

Time bar (total: 2.8s)

analyze60.0ms (2.1%)

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)

sample2.2s (79.6%)

Symmetry

(sort a x)

Results
859.0ms1557×body2048valid
618.0ms1760×body1024valid
338.0ms3159×body128valid
254.0ms1152×body512valid
102.0ms628×body256valid
12.0ms136×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify75.0ms (2.7%)

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

simplify69.0ms (2.4%)

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

prune12.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New18119
Fresh000
Picked011
Done000
Total18220
Error
0.0b
Counts
20 → 2
Alt Table
StatusErrorProgram
22.3b
(fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4))))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 279 to 139 computations (50.2% saved)

localize20.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 a x) 4)
0.3b
(pow.f64 (*.f64 a x) 3)
5.3b
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)
11.5b
(fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))

series78.0ms (2.8%)

Counts
4 → 96
Calls

4 calls:

37.0ms
(fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))
16.0ms
(pow.f64 (*.f64 a x) 4)
13.0ms
(pow.f64 (*.f64 a x) 3)
11.0ms
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64
10×pow1_binary64
add-cbrt-cube_binary64
pow-unpow_binary64
*-un-lft-identity_binary64
Counts
4 → 63
Calls

4 calls:

2.0ms
(pow.f64 (*.f64 a x) 3)
2.0ms
(pow.f64 (*.f64 a x) 4)
0.0ms
(fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))
0.0ms
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

simplify85.0ms (3%)

Algorithm
egg-herbie
Rules
538×sqr-pow_binary64
379×distribute-rgt-in_binary64
354×exp-prod_binary64
340×distribute-lft-in_binary64
269×log-prod_binary64
Counts
159 → 88
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0951930
11681716
24991702
313111702
428621702
549731702

prune68.0ms (2.4%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh000
Picked011
Done011
Total88290
Error
0.0b
Counts
90 → 2
Alt Table
StatusErrorProgram
22.3b
(fma.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a) (fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4))))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 2531 to 1342 computations (47% saved)

regimes38.0ms (1.3%)

Accuracy

Total 0.0b remaining (10.5%)

Threshold costs 0.0b (10.5%)

Counts
6 → 1
Compiler

Compiled 405 to 249 computations (38.5% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end50.0ms (1.8%)

Remove

(sort a x)

Compiler

Compiled 56 to 36 computations (35.7% saved)

Profiling

Loading profile data...