Details

Time bar (total: 3.8s)

analyze67.0ms (1.8%)

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

Symmetry

(sort a x)

Results
826.0ms1582×body2048valid
594.0ms1824×body1024valid
282.0ms3091×body128valid
259.0ms1144×body512valid
97.0ms615×body256valid
12.0ms134×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

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

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
32.9b
(-.f64 (exp.f64 (*.f64 a x)) 1)
Compiler

Compiled 40 to 27 computations (32.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.1%)

Counts
1 → 24
Calls

1 calls:

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

rewrite75.0ms (2%)

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 → 37
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1956
210806
346626
458836
000
100

simplify60.0ms (1.6%)

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
61 → 44
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
030284
186284
2234278
3888262
42148248
52915248
63566248
75038248

prune21.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh101
Picked011
Done000
Total43346
Error
0.0b
Counts
46 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
44.5b
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))
17.6b
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
Compiler

Compiled 582 to 274 computations (52.9% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (*.f64 a x) 2)

series9.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

9.0ms
(pow.f64 (*.f64 a x) 2)

rewrite77.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
893×log1p-udef_binary64
471×log1p-expm1-u_binary64
471×expm1-log1p-u_binary64
366×unpow-prod-down_binary64
262×log-prod_binary64
Counts
1 → 51
Calls

1 calls:

76.0ms
(pow.f64 (*.f64 a x) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
067
11247
212507
349027
464097
000
100

simplify166.0ms (4.4%)

Algorithm
egg-herbie
Rules
1022×sqr-pow_binary64
785×associate-*l*_binary64
636×*-commutative_binary64
598×fabs-mul_binary64
578×cube-prod_binary64
Counts
75 → 52
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07240
116240
235240
388240
4295240
51349240
61413240
71542240
81721240
91930240
102180240
112322240
122724240
133047240
143626240
153983240
164262240
174371240
184402240
194414240
204876240

prune31.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh011
Picked011
Done011
Total52355
Error
0.0b
Counts
55 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
44.5b
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))
17.6b
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
Compiler

Compiled 892 to 476 computations (46.6% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))
0.1b
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
12.2b
(pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3)
20.6b
(sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

series669.0ms (17.6%)

Counts
4 → 80
Calls

4 calls:

610.0ms
(pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3)
34.0ms
(sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
18.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
7.0ms
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))

rewrite51.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
781×log1p-expm1-u_binary64
781×expm1-log1p-u_binary64
157×log1p-udef_binary64
98×egg-rr
94×add-sqr-sqrt_binary64
Counts
4 → 98
Calls

4 calls:

49.0ms
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))
49.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
49.0ms
(pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3)
49.0ms
(sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01143
122632
2208932
3483632
000
100

simplify90.0ms (2.4%)

Algorithm
egg-herbie
Rules
502×fma-neg_binary64
356×associate-*l*_binary64
348×associate-*r*_binary64
322×distribute-lft-in_binary64
317×distribute-rgt-in_binary64
Counts
178 → 116
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
050968
1140968
2414930
31822920
42833894
54245864
64970864
75200864

prune112.0ms (3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2040204
Fresh000
Picked011
Done022
Total2043207
Error
0.0b
Counts
207 → 3
Alt Table
StatusErrorProgram
0.0b
(expm1.f64 (*.f64 a x))
44.5b
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3)) 1/3))
17.6b
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
Compiler

Compiled 4453 to 2400 computations (46.1% saved)

regimes39.0ms (1%)

Accuracy

Total 0.0b remaining (31.9%)

Threshold costs 0.0b (31.9%)

Counts
7 → 1
Compiler

Compiled 510 to 354 computations (30.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end85.0ms (2.2%)

Remove

(sort a x)

Compiler

Compiled 63 to 43 computations (31.7% saved)

Profiling

Loading profile data...