Details

Time bar (total: 2.9s)

analyze58.0ms (2%)

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 (73.2%)

Symmetry

(sort a x)

Results
784.0ms1479×body2048valid
593.0ms1713×body1024valid
289.0ms3235×body128valid
263.0ms1214×body512valid
92.0ms615×body256valid
13.0ms142×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify72.0ms (2.5%)

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

simplify67.0ms (2.3%)

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

prune13.0ms (0.5%)

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
19.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
25.6b
(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 297 to 153 computations (48.5% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
0.1b
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
19.1b
(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)

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

prune47.0ms (1.6%)

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
19.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
25.6b
(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 1344 to 717 computations (46.7% saved)

localize13.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 a x) 4)
0.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))))
7.5b
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)
11.8b
(fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))

series77.0ms (2.7%)

Counts
4 → 96
Calls

4 calls:

31.0ms
(fma.f64 1/6 (pow.f64 (*.f64 a x) 3) (*.f64 1/24 (pow.f64 (*.f64 a x) 4)))
17.0ms
(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))))
17.0ms
(pow.f64 (*.f64 a x) 4)
12.0ms
(fma.f64 x (*.f64 1/2 (*.f64 a a)) a)

rewrite5.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
4 → 49
Calls

4 calls:

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)
0.0ms
(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))))

simplify84.0ms (2.9%)

Algorithm
egg-herbie
Rules
581×exp-prod_binary64
519×associate-*l*_binary64
435×associate-*r*_binary64
337×distribute-rgt-out_binary64
324×swap-sqr_binary64
Counts
145 → 96
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0962650
11762274
24752252
325362220
452842220

prune76.0ms (2.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New96096
Fresh000
Picked011
Done022
Total96399
Error
0.0b
Counts
99 → 3
Alt Table
StatusErrorProgram
19.1b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
25.6b
(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 2855 to 1556 computations (45.5% saved)

regimes61.0ms (2.1%)

Accuracy

Total 0.0b remaining (22.9%)

Threshold costs 0.0b (22.9%)

Counts
12 → 1
Compiler

Compiled 880 to 569 computations (35.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end59.0ms (2%)

Remove

(sort a x)

Compiler

Compiled 65 to 43 computations (33.8% saved)

Profiling

Loading profile data...