Details

Time bar (total: 2.9s)

analyze64.0ms (2.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.2s (73.9%)

Symmetry

(sort a x)

Results
764.0ms1510×body2048valid
662.0ms1770×body1024valid
294.0ms3174×body128valid
276.0ms1154×body512valid
101.0ms648×body256valid
13.0ms147×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify108.0ms (3.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))

series5.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

rewrite71.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
736×log1p-udef_binary64
405×log1p-expm1-u_binary64
405×expm1-log1p-u_binary64
342×pow1_binary64
287×unpow-prod-down_binary64
Counts
1 → 36
Calls

1 calls:

71.0ms
(expm1.f64 (*.f64 a x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1956
210806
346626
458836

simplify56.0ms (1.9%)

Algorithm
egg-herbie
Rules
1324×distribute-lft-out_binary64
882×fma-def_binary64
423×associate-/l/_binary64
368×*-commutative_binary64
362×associate-/r/_binary64
Counts
60 → 44
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
030284
186284
2234278
3888262
42148248
52915248
63566248
75038248

prune20.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New43144
Fresh000
Picked011
Done000
Total43245
Error
0b
Counts
45 → 2
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
24.9b
(+.f64 (*.f64 a x) (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))))
Compiler

Compiled 546 to 250 computations (54.2% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

NewErrorProgram
3.6b
(+.f64 (*.f64 a x) (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))))
14.6b
(*.f64 (pow.f64 a 2) (pow.f64 x 2))

series24.0ms (0.8%)

Counts
2 → 6
Calls

2 calls:

14.0ms
(+.f64 (*.f64 a x) (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))))
10.0ms
(*.f64 (pow.f64 a 2) (pow.f64 x 2))

rewrite58.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
534×log-prod_binary64
467×fma-def_binary64
238×fma-neg_binary64
190×expm1-udef_binary64
190×log1p-udef_binary64
Counts
2 → 88
Calls

2 calls:

56.0ms
(+.f64 (*.f64 a x) (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))))
56.0ms
(*.f64 (pow.f64 a 2) (pow.f64 x 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01121
123821
2261521
3501221

simplify146.0ms (5%)

Algorithm
egg-herbie
Rules
816×fabs-mul_binary64
743×unswap-sqr_binary64
743×cube-prod_binary64
718×sqr-pow_binary64
361×pow-sqr_binary64
Counts
94 → 91
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01060
12360
24860
314160
453960
578360
679160
787960
898460
9109360
10120860
11230060
12226460
13251060
14272260
15303960
16346660
17375860
18394060
19415560
20436860
21464360
22486460

prune74.0ms (2.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh000
Picked011
Done011
Total91293
Error
0b
Counts
93 → 2
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
24.9b
(+.f64 (*.f64 a x) (*.f64 1/2 (*.f64 (pow.f64 a 2) (pow.f64 x 2))))
Compiler

Compiled 1538 to 827 computations (46.2% saved)

regimes83.0ms (2.8%)

Accuracy

Total 0.0b remaining (1.1%)

Threshold costs 0.0b (1.1%)

Counts
20 → 1
Compiler

Compiled 1290 to 784 computations (39.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end41.0ms (1.4%)

Remove

(sort a x)

Compiler

Compiled 45 to 31 computations (31.1% saved)

Profiling

Loading profile data...