Details

Time bar (total: 4.8s)

analyze111.0ms (2.3%)

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)

sample3.8s (78.8%)

Symmetry

(sort a x)

Results
1.5s1586×body2048valid
1.0s1747×body1024valid
487.0ms3185×body128valid
446.0ms1106×body512valid
171.0ms632×body256valid
26.0ms172×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify105.0ms (2.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

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

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(expm1.f64 (*.f64 a x))

series9.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

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

rewrite94.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 → 36
Calls

1 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1956
210806
346626
458836
000
100

simplify94.0ms (2%)

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

prune36.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
19.6b
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 538 to 244 computations (54.6% saved)

localize11.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
0.3b
(pow.f64 (*.f64 a x) 2)

series42.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

29.0ms
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
13.0ms
(pow.f64 (*.f64 a x) 2)

rewrite73.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
721×log1p-expm1-u_binary64
721×expm1-log1p-u_binary64
416×prod-diff_binary64
86×add-sqr-sqrt_binary64
82×add-cube-cbrt_binary64
Counts
2 → 46
Calls

2 calls:

71.0ms
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
71.0ms
(pow.f64 (*.f64 a x) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0921
118521
2190421
3512521
000
100

simplify244.0ms (5.1%)

Algorithm
egg-herbie
Rules
743×unswap-sqr_binary64
738×fma-def_binary64
718×sqr-pow_binary64
653×fabs-mul_binary64
584×cube-prod_binary64
Counts
94 → 52
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
011606
126606
255588
3156552
4588552
51035552
61210552
71316552
81450552
91560552
101707552
112799552
122800552
133046552
143266552
153584552
164011552
174303552
184485552
194700552
204950552

prune50.0ms (1%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0b
Counts
54 → 2
Alt Table
StatusErrorProgram
19.6b
(fma.f64 a x (*.f64 1/2 (pow.f64 (*.f64 a x) 2)))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 763 to 412 computations (46% saved)

regimes55.0ms (1.1%)

Accuracy

Total 0.0b remaining (20%)

Threshold costs 0.0b (20%)

Counts
4 → 1
Compiler

Compiled 205 to 139 computations (32.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end83.0ms (1.7%)

Remove

(sort a x)

Compiler

Compiled 42 to 28 computations (33.3% saved)

Profiling

Loading profile data...