Details

Time bar (total: 2.7s)

analyze57.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.1s (77.4%)

Symmetry

(sort a x)

Results
730.0ms1503×body2048valid
574.0ms1767×body1024valid
280.0ms3210×body128valid
262.0ms1145×body512valid
98.0ms631×body256valid
17.0ms166×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify74.0ms (2.8%)

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

simplify63.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

3 alts after pruning (2 fresh and 1 done)

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

Compiled 269 to 135 computations (49.8% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.2b
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
17.4b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

series28.0ms (1%)

Counts
2 → 48
Calls

2 calls:

22.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
6.0ms
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
cube-prod_binary64
Counts
2 → 48
Calls

2 calls:

2.0ms
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
1.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)

simplify82.0ms (3.1%)

Algorithm
egg-herbie
Rules
674×associate-*l*_binary64
587×associate-*r*_binary64
337×log-prod_binary64
288×fma-def_binary64
278×exp-prod_binary64
Counts
96 → 70
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0941262
12021199
26291177
330981171
447911171
549621171

prune46.0ms (1.7%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done011
Total89392
Error
0.0b
Counts
92 → 3
Alt Table
StatusErrorProgram
24.3b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
0.0b
(expm1.f64 (*.f64 a x))
17.4b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
Compiler

Compiled 1316 to 699 computations (46.9% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
1.2b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
4.6b
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

series24.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
9.0ms
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

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)

simplify44.0ms (1.6%)

Algorithm
egg-herbie
Rules
973×distribute-rgt-in_binary64
971×distribute-lft-in_binary64
506×fma-def_binary64
279×associate-*l*_binary64
220×associate-*r*_binary64
Counts
80 → 64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0541210
11031069
23161069
310481069
450781069

prune27.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh000
Picked011
Done022
Total64367
Error
0.0b
Counts
67 → 3
Alt Table
StatusErrorProgram
24.3b
(*.f64 x (fma.f64 x (*.f64 1/2 (*.f64 a a)) a))
0.0b
(expm1.f64 (*.f64 a x))
17.4b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
Compiler

Compiled 1042 to 468 computations (55.1% saved)

regimes39.0ms (1.4%)

Accuracy

Total 0.0b remaining (18.6%)

Threshold costs 0.0b (18.6%)

Counts
8 → 1
Compiler

Compiled 400 to 249 computations (37.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end74.0ms (2.8%)

Remove

(sort a x)

Compiler

Compiled 51 to 34 computations (33.3% saved)

Profiling

Loading profile data...