Details

Time bar (total: 2.4s)

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

sample2.0s (83.3%)

Symmetry

(sort a x)

Results
760.0ms1522×body2048valid
565.0ms1797×body1024valid
282.0ms3188×body128valid
254.0ms1139×body512valid
93.0ms610×body256valid
11.0ms132×body128invalid
Compiler

Compiled 26 to 20 computations (23.1% saved)

simplify21.0ms (0.9%)

Algorithm
egg-herbie
Rules
440×unswap-sqr_binary64
329×associate-*l*_binary64
275×associate-+l+_binary64
252×associate-*r*_binary64
201×associate-/l/_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
076
1166
2236
3356
4706
51756
65566
723316
Stop Event
node limit
Counts
1 → 2

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

rewrite29.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
405×log1p-expm1-u_binary64
405×expm1-log1p-u_binary64
342×pow1_binary64
285×unpow-prod-down_binary64
236×log-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1966
211236
Stop Event
node limit
Counts
1 → 36
Calls

1 calls:

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

simplify34.0ms (1.4%)

Algorithm
egg-herbie
Rules
882×fma-def_binary64
844×distribute-lft-out_binary64
307×*-commutative_binary64
300×unswap-sqr_binary64
172×associate-*l*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
030284
187284
2242278
31040262
43195248
54880248
Stop Event
node limit
Counts
60 → 45

prune18.0ms (0.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New44145
Fresh000
Picked011
Done000
Total44246
Error
0b
Counts
46 → 2
Alt Table
StatusErrorProgram
15.2b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 540 to 244 computations (54.8% saved)

localize5.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)
15.2b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

series22.0ms (0.9%)

Counts
2 → 48
Calls

2 calls:

17.0ms
(pow.f64 (expm1.f64 (*.f64 a x)) 3)
5.0ms
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))

rewrite33.0ms (1.4%)

Algorithm
batch-egg-rewrite
Rules
573×log1p-expm1-u_binary64
573×expm1-log1p-u_binary64
305×log-prod_binary64
166×pow2_binary64
118×expm1-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
115615
2162215
Stop Event
node limit
Counts
2 → 50
Calls

2 calls:

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

simplify43.0ms (1.8%)

Algorithm
egg-herbie
Rules
356×associate-*l*_binary64
345×associate-*r*_binary64
320×distribute-lft-in_binary64
319×distribute-rgt-in_binary64
286×fma-def_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
048664
1139664
2428658
32179648
43341622
Stop Event
node limit
Counts
98 → 68

prune56.0ms (2.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done011
Total1132115
Error
0b
Counts
115 → 2
Alt Table
StatusErrorProgram
15.2b
(cbrt.f64 (pow.f64 (expm1.f64 (*.f64 a x)) 3))
0.0b
(expm1.f64 (*.f64 a x))
Compiler

Compiled 1536 to 802 computations (47.8% saved)

regimes32.0ms (1.3%)

Accuracy

Total 0.0b remaining (16.7%)

Threshold costs 0.0b (16.7%)

Counts
5 → 1
Compiler

Compiled 250 to 169 computations (32.4% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
Stop Event
saturated

end43.0ms (1.8%)

Remove

(sort a x)

Compiler

Compiled 39 to 27 computations (30.8% saved)

Profiling

Loading profile data...