Details

Time bar (total: 2.7s)

analyze6.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 8 computations (20% saved)

sample1.1s (40.8%)

Results
1.0s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify34.0ms (1.3%)

Algorithm
egg-herbie
Rules
756×fma-def_binary64
559×hypot-def_binary64
544×distribute-rgt-out_binary64
436×associate-*l*_binary64
434×unswap-sqr_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069
1124
2304
3534
41214
53614
613344
725934
839604
949224
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.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
Compiler

Compiled 20 to 12 computations (40% saved)

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series3.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(hypot.f64 x x)

rewrite28.0ms (1%)

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:

27.0ms
(hypot.f64 x x)

simplify11.0ms (0.4%)

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

prune28.0ms (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
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
31.0b
(*.f64 (sqrt.f64 2) x)
32.0b
(*.f64 (sqrt.f64 2) (neg.f64 x))
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))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
0.1b
(hypot.f64 x x)
43.6b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 513 to 251 computations (51.1% saved)

localize7.0ms (0.3%)

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

Counts
2 → 0
Calls

2 calls:

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

rewrite38.0ms (1.4%)

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:

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

simplify7.0ms (0.2%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
Stop Event
saturated
Counts
88 → 88

prune62.0ms (2.3%)

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
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
31.0b
(*.f64 (sqrt.f64 2) x)
0.4b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
43.6b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
1.4b
(*.f64 (cbrt.f64 (hypot.f64 x x)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
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)
32.0b
(*.f64 (sqrt.f64 2) (neg.f64 x))
Compiler

Compiled 1599 to 854 computations (46.6% saved)

localize8.0ms (0.3%)

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

series328.0ms (12.3%)

Counts
3 → 36
Calls

3 calls:

164.0ms
(pow.f64 (hypot.f64 x x) 3/4)
160.0ms
(pow.f64 (hypot.f64 x x) 1/4)
3.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

rewrite38.0ms (1.4%)

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:

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

simplify33.0ms (1.2%)

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

prune102.0ms (3.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1585163
Fresh516
Picked101
Done022
Total1648172
Error
0b
Counts
172 → 8
Alt Table
StatusErrorProgram
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.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
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.1b
(hypot.f64 x x)
0.7b
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 3)) (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))
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)))
Compiler

Compiled 2722 to 1421 computations (47.8% saved)

localize22.0ms (0.8%)

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

series165.0ms (6.2%)

Counts
2 → 24
Calls

2 calls:

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

rewrite91.0ms (3.4%)

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:

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

simplify34.0ms (1.3%)

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

prune162.0ms (6.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2241225
Fresh145
Picked011
Done022
Total2258233
Error
0b
Counts
233 → 8
Alt Table
StatusErrorProgram
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 (pow.f64 (pow.f64 (hypot.f64 x x) 1/8) 2) (pow.f64 (hypot.f64 x x) 3/4))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
31.7b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
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.1b
(hypot.f64 x x)
0.7b
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 3)) (pow.f64 (hypot.f64 x x) 3/4))
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)))
Compiler

Compiled 5460 to 3173 computations (41.9% saved)

regimes243.0ms (9.1%)

Accuracy

Total 0.1b remaining (76.3%)

Threshold costs 0.1b (76.3%)

Counts
55 → 1
Compiler

Compiled 3038 to 1998 computations (34.2% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
Stop Event
saturated

end104.0ms (3.9%)

Compiler

Compiled 116 to 73 computations (37.1% saved)

Profiling

Loading profile data...