Details

Time bar (total: 3.5s)

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

sample1.2s (33.6%)

Results
1.1s8256×body128valid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify11.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2144
3154
4154

prune5.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 9 computations (55% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series9.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

9.0ms
(hypot.f64 x x)

rewrite94.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
438×log1p-udef_binary64
249×log1p-expm1-u_binary64
249×expm1-log1p-u_binary64
229×add-cbrt-cube_binary64
228×add-cube-cbrt_binary64
Counts
1 → 40
Calls

1 calls:

93.0ms
(hypot.f64 x x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
1604
26604
347454
454284
000
100

simplify19.0ms (0.5%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0780
11280
22480
32580
42980
54780
65880
76380
87580
97280
105880

prune38.0ms (1.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New39443
Fresh000
Picked011
Done000
Total39544
Error
0.0b
Counts
44 → 5
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
29.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 437 to 210 computations (51.9% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series42.0ms (1.2%)

Counts
2 → 0
Calls

2 calls:

26.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
16.0ms
(sqrt.f64 (hypot.f64 x x))

rewrite93.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
688×log1p-udef_binary64
386×log1p-expm1-u_binary64
386×expm1-log1p-u_binary64
339×pow1_binary64
273×unpow-prod-down_binary64
Counts
2 → 88
Calls

2 calls:

91.0ms
(sqrt.f64 (hypot.f64 x x))
91.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
110610
2103210
3450910
4554710
000
100

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune103.0ms (2.9%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1301131
Fresh033
Picked011
Done011
Total1306136
Error
0.0b
Counts
136 → 6
Alt Table
StatusErrorProgram
29.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.0b
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) 2)
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 1516 to 823 computations (45.7% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 x x) 1/4)
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) 2)
0.5b
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)

series1.1s (31.8%)

Counts
3 → 36
Calls

3 calls:

390.0ms
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) 2)
378.0ms
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
362.0ms
(pow.f64 (hypot.f64 x x) 1/4)

rewrite86.0ms (2.4%)

Algorithm
batch-egg-rewrite
Rules
535×log1p-expm1-u_binary64
535×expm1-log1p-u_binary64
502×unpow-prod-down_binary64
262×log-prod_binary64
160×pow2_binary64
Counts
3 → 159
Calls

3 calls:

81.0ms
(pow.f64 (hypot.f64 x x) 1/4)
81.0ms
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) 2)
80.0ms
(pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0824
117417
2141217
3522717
000
100

simplify118.0ms (3.3%)

Algorithm
egg-herbie
Rules
845×fma-neg_binary64
483×fma-def_binary64
395×associate-+l+_binary64
393×*-commutative_binary64
342×associate-+r+_binary64
Counts
195 → 173
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
029648
168648
2114564
3379348
41568312
53697312
64996312
74896312

prune187.0ms (5.3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2160216
Fresh033
Picked011
Done022
Total2166222
Error
0.0b
Counts
222 → 6
Alt Table
StatusErrorProgram
29.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.0b
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) 2)
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 3190 to 1855 computations (41.8% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.4b
(*.f64 (sqrt.f64 2) x)

series6.0ms (0.2%)

Counts
1 → 0
Calls

1 calls:

6.0ms
(*.f64 (sqrt.f64 2) x)

rewrite102.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
711×log1p-udef_binary64
386×log1p-expm1-u_binary64
386×expm1-log1p-u_binary64
336×pow1_binary64
245×unpow-prod-down_binary64
Counts
1 → 37
Calls

1 calls:

100.0ms
(*.f64 (sqrt.f64 2) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
1996
210296
348236
459486
000
100

simplify11.0ms (0.3%)

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune31.0ms (0.9%)

Pruning

6 alts after pruning (2 fresh and 4 done)

PrunedKeptTotal
New37037
Fresh022
Picked011
Done033
Total37643
Error
0.0b
Counts
43 → 6
Alt Table
StatusErrorProgram
29.9b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
1.0b
(pow.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 2) 2)
0.1b
(hypot.f64 x x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
33.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
29.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 372 to 308 computations (17.2% saved)

regimes101.0ms (2.9%)

Accuracy

Total 0.1b remaining (76%)

Threshold costs 0.1b (76%)

Counts
13 → 1
Compiler

Compiled 507 to 338 computations (33.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end119.0ms (3.4%)

Compiler

Compiled 49 to 34 computations (30.6% saved)

Profiling

Loading profile data...