Details

Time bar (total: 1.7s)

analyze4.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0.1%14
Compiler

Compiled 10 to 5 computations (50% saved)

sample667.0ms (38.7%)

Results
639.0ms8256×body128valid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify6.0ms (0.3%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-rgt-out_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3174
Stop Event
saturated
Counts
1 → 2

prune3.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
Compiler

Compiled 20 to 9 computations (55% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series4.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(hypot.f64 x x)

rewrite27.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
249×log1p-expm1-u_binary64
249×expm1-log1p-u_binary64
230×add-cbrt-cube_binary64
227×add-cube-cbrt_binary64
222×add-log-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
1604
27004
Stop Event
node limit
Counts
1 → 40
Calls

1 calls:

26.0ms
(hypot.f64 x x)

simplify10.0ms (0.6%)

Algorithm
egg-herbie
Rules
38×fma-def_binary64
sub-neg_binary64
+-commutative_binary64
*-commutative_binary64
distribute-lft-in_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22580
32980
43380
55180
67380
78480
89680
912180
Stop Event
saturated
Counts
52 → 43

prune21.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New38543
Fresh000
Picked011
Done000
Total38644
Error
0.0b
Counts
44 → 6
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
2.9b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
35.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 469 to 223 computations (52.5% saved)

localize4.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)

series21.0ms (1.2%)

Counts
2 → 0
Calls

2 calls:

11.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
10.0ms
(sqrt.f64 (hypot.f64 x x))

rewrite31.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
386×log1p-expm1-u_binary64
386×expm1-log1p-u_binary64
339×pow1_binary64
263×unpow-prod-down_binary64
191×log-prod_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
112410
2114210
Stop Event
node limit
Counts
2 → 88
Calls

2 calls:

30.0ms
(sqrt.f64 (hypot.f64 x x))
30.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)

simplify36.0ms (2.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
88 → 88

prune54.0ms (3.1%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh044
Picked011
Done011
Total1307137
Error
0.0b
Counts
137 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
19.1b
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) 2)
2.9b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
35.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 1557 to 826 computations (46.9% saved)

localize5.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)
0.3b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
0.5b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
0.6b
(cbrt.f64 (hypot.f64 x x))

series372.0ms (21.6%)

Counts
3 → 36
Calls

3 calls:

200.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
169.0ms
(cbrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))

rewrite39.0ms (2.3%)

Algorithm
batch-egg-rewrite
Rules
439×log1p-expm1-u_binary64
439×expm1-log1p-u_binary64
333×unpow-prod-down_binary64
224×log-prod_binary64
131×pow2_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0719
114219
2133319
Stop Event
node limit
Counts
3 → 121
Calls

3 calls:

37.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
37.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
37.0ms
(cbrt.f64 (hypot.f64 x x))

simplify42.0ms (2.4%)

Algorithm
egg-herbie
Rules
427×associate-*l*_binary64
423×fma-neg_binary64
337×associate-*r*_binary64
281×fma-def_binary64
276×unswap-sqr_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
027500
167500
2144452
3371332
41203324
54386324
Stop Event
node limit
Counts
157 → 134

prune105.0ms (6.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2821283
Fresh044
Picked011
Done022
Total2828290
Error
0.0b
Counts
290 → 8
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
32.0b
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x x))) 3/2)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
19.1b
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) 2)
2.9b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
35.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 5002 to 2016 computations (59.7% saved)

localize4.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(log1p.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
2.8b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))

series8.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

4.0ms
(log1p.f64 (hypot.f64 x x))
4.0ms
(expm1.f64 (log1p.f64 (hypot.f64 x x)))

rewrite33.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
324×expm1-log1p-u_binary64
323×log1p-expm1-u_binary64
289×add-log-exp_binary64
288×add-exp-log_binary64
283×pow1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0510
17910
290910
Stop Event
node limit
Counts
2 → 79
Calls

2 calls:

31.0ms
(log1p.f64 (hypot.f64 x x))
31.0ms
(expm1.f64 (log1p.f64 (hypot.f64 x x)))

simplify28.0ms (1.6%)

Algorithm
egg-herbie
Rules
525×fma-neg_binary64
248×sub-neg_binary64
168×unswap-sqr_binary64
167×times-frac_binary64
164×associate-*l*_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
055468
1176382
2609365
32447363
Stop Event
node limit
Counts
103 → 103

prune57.0ms (3.3%)

Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1460146
Fresh044
Picked011
Done033
Total1468154
Error
0.0b
Counts
154 → 8
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
32.0b
(pow.f64 (cbrt.f64 (*.f64 x (+.f64 x x))) 3/2)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
19.1b
(pow.f64 (cbrt.f64 (pow.f64 (hypot.f64 x x) 3/2)) 2)
2.9b
(expm1.f64 (log1p.f64 (hypot.f64 x x)))
35.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
27.9b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 1847 to 1041 computations (43.6% saved)

regimes67.0ms (3.9%)

Accuracy

Total 0.1b remaining (75.8%)

Threshold costs 0.1b (75.8%)

Counts
21 → 1
Compiler

Compiled 718 to 488 computations (32% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated

end74.0ms (4.3%)

Compiler

Compiled 70 to 45 computations (35.7% saved)

Profiling

Loading profile data...