Details

Time bar (total: 2.2s)

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)

sample660.0ms (30.2%)

Results
632.0ms8256×body128valid
0.0msbody128invalid
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

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

series3.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(hypot.f64 x x)

rewrite27.0ms (1.2%)

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)

simplify11.0ms (0.5%)

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

prune23.0ms (1.1%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New36743
Fresh000
Picked011
Done000
Total36844
Error
0.0b
Counts
44 → 8
Alt Table
StatusErrorProgram
43.6b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
32.0b
(*.f64 (sqrt.f64 2) (neg.f64 x))
31.0b
(*.f64 (sqrt.f64 2) x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
1.6b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
Compiler

Compiled 513 to 251 computations (51.1% 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)

series18.0ms (0.8%)

Counts
2 → 0
Calls

2 calls:

12.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
6.0ms
(sqrt.f64 (hypot.f64 x x))

rewrite34.0ms (1.5%)

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:

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

simplify7.0ms (0.3%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
88 → 88

prune58.0ms (2.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1292131
Fresh156
Picked011
Done011
Total1309139
Error
0.0b
Counts
139 → 9
Alt Table
StatusErrorProgram
43.6b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
0.1b
(hypot.f64 x x)
31.9b
(pow.f64 (*.f64 (pow.f64 x 1/4) (pow.f64 (+.f64 x x) 1/4)) 2)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.4b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
32.0b
(*.f64 (sqrt.f64 2) (neg.f64 x))
31.0b
(*.f64 (sqrt.f64 2) x)
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
Compiler

Compiled 1599 to 854 computations (46.6% saved)

localize8.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(pow.f64 (hypot.f64 x x) 1/4)
0.1b
(hypot.f64 x x)
0.2b
(pow.f64 (hypot.f64 x x) 3/4)
0.4b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

series329.0ms (15.1%)

Counts
3 → 36
Calls

3 calls:

166.0ms
(pow.f64 (hypot.f64 x x) 3/4)
159.0ms
(pow.f64 (hypot.f64 x x) 1/4)
4.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

rewrite40.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
305×log-prod_binary64
121×expm1-udef_binary64
121×log1p-udef_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
116218
2175318
Stop Event
node limit
Counts
3 → 64
Calls

3 calls:

39.0ms
(pow.f64 (hypot.f64 x x) 1/4)
39.0ms
(pow.f64 (hypot.f64 x x) 3/4)
39.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

simplify34.0ms (1.6%)

Algorithm
egg-herbie
Rules
401×associate-*l*_binary64
374×associate-*r*_binary64
322×fma-def_binary64
240×unswap-sqr_binary64
177×distribute-rgt-in_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
031464
174464
2156416
3331320
4821312
51983312
Stop Event
node limit
Counts
100 → 77

prune139.0ms (6.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1585163
Fresh516
Picked101
Done022
Total1648172
Error
0b
Counts
172 → 8
Alt Table
StatusErrorProgram
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.2b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 3/4) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3/4)))
0.7b
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 3)) (pow.f64 (hypot.f64 x x) 3/4))
4.4b
(*.f64 (pow.f64 (pow.f64 (E.f64) (log.f64 (hypot.f64 x x))) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
0.5b
(*.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4)) (pow.f64 (hypot.f64 x x) 3/4))
0.6b
(*.f64 (*.f64 (pow.f64 (hypot.f64 x x) 1/8) (pow.f64 (hypot.f64 x x) 1/8)) (pow.f64 (hypot.f64 x x) 3/4))
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 2722 to 1421 computations (47.8% saved)

localize16.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)
0.2b
(pow.f64 (hypot.f64 x x) 3/4)
0.3b
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4))
0.4b
(*.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4)) (pow.f64 (hypot.f64 x x) 3/4))

series218.0ms (10%)

Counts
2 → 24
Calls

2 calls:

214.0ms
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4))
4.0ms
(*.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4)) (pow.f64 (hypot.f64 x x) 3/4))

rewrite46.0ms (2.1%)

Algorithm
batch-egg-rewrite
Rules
831×log1p-expm1-u_binary64
831×expm1-log1p-u_binary64
105×add-cbrt-cube_binary64
104×add-sqr-sqrt_binary64
104×add-log-exp_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01141
124811
2281111
Stop Event
node limit
Counts
2 → 34
Calls

2 calls:

46.0ms
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4))
46.0ms
(*.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4)) (pow.f64 (hypot.f64 x x) 3/4))

simplify37.0ms (1.7%)

Algorithm
egg-herbie
Rules
517×fma-def_binary64
471×div-sub_binary64
360×fma-neg_binary64
230×associate-*l*_binary64
220×associate-*r*_binary64
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
024272
154272
2110248
3236200
4598196
51397196
63675196
Stop Event
node limit
Counts
58 → 42

prune159.0ms (7.3%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2241225
Fresh145
Picked011
Done022
Total2258233
Error
0b
Counts
233 → 8
Alt Table
StatusErrorProgram
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.2b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2) 3/4) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3/4)))
0.6b
(*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/8) 2) (pow.f64 (hypot.f64 x x) 3/4))
0.7b
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 3)) (pow.f64 (hypot.f64 x x) 3/4))
4.4b
(*.f64 (pow.f64 (pow.f64 (E.f64) (log.f64 (hypot.f64 x x))) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
0.5b
(*.f64 (*.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 1/4) (pow.f64 (pow.f64 (hypot.f64 x x) 3/4) 1/4)) (pow.f64 (hypot.f64 x x) 3/4))
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 5460 to 3173 computations (41.9% saved)

regimes190.0ms (8.7%)

Accuracy

Total 0.1b remaining (76.3%)

Threshold costs 0.1b (76.3%)

Counts
55 → 1
Compiler

Compiled 3038 to 1972 computations (35.1% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated

end106.0ms (4.9%)

Compiler

Compiled 116 to 73 computations (37.1% saved)

Profiling

Loading profile data...