Details

Time bar (total: 3.9s)

analyze7.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.4s (35.8%)

Results
1.2s8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify117.0ms (3%)

Algorithm
egg-herbie
Rules
1333×fma-def_binary64
773×distribute-rgt-out_binary64
559×hypot-def_binary64
453×associate-*l*_binary64
451×count-2_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
069
1124
2254
3464
4984
52454
67634
713824
826734
934504
1041444
1144824
1243954
1347664
1449934
1547424

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

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)

rewrite67.0ms (1.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 → 41
Calls

1 calls:

66.0ms
(hypot.f64 x x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
1604
26604
347454
454284

simplify11.0ms (0.3%)

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

Useful iterations: 0 (0.0ms)

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

prune21.0ms (0.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New39544
Fresh000
Picked011
Done000
Total39645
Error
0.0b
Counts
45 → 6
Alt Table
StatusErrorProgram
26.9b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
33.2b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
32.5b
(*.f64 (sqrt.f64 2) x)
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 476 to 228 computations (52.1% saved)

localize4.0ms (0.1%)

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

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

rewrite75.0ms (1.9%)

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 → 89
Calls

2 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0610
110610
2103210
3450910
4554710

simplify6.0ms (0.2%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
000
100

prune62.0ms (1.6%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1321133
Fresh044
Picked011
Done011
Total1327139
Error
0.0b
Counts
139 → 7
Alt Table
StatusErrorProgram
26.9b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
33.2b
(*.f64 (sqrt.f64 x) (pow.f64 (+.f64 x x) 1/2))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
32.5b
(*.f64 (sqrt.f64 2) x)
0.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 1579 to 843 computations (46.6% saved)

localize9.0ms (0.2%)

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.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

series359.0ms (9.3%)

Counts
3 → 36
Calls

3 calls:

178.0ms
(pow.f64 (hypot.f64 x x) 3/4)
173.0ms
(pow.f64 (hypot.f64 x x) 1/4)
8.0ms
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

rewrite75.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
606×log1p-expm1-u_binary64
606×expm1-log1p-u_binary64
304×log-prod_binary64
121×expm1-udef_binary64
121×log1p-udef_binary64
Counts
3 → 66
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
0818
115718
2159518
3496618
4481618

simplify70.0ms (1.8%)

Algorithm
egg-herbie
Rules
765×fma-def_binary64
658×fma-neg_binary64
406×associate-*l*_binary64
367×associate-*r*_binary64
240×unswap-sqr_binary64
Counts
102 → 79
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
031464
174464
2122416
3274320
4632312
51478312
64008312
74950312
84978312

prune192.0ms (5%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1634167
Fresh134
Picked101
Done022
Total1659174
Error
0.0b
Counts
174 → 9
Alt Table
StatusErrorProgram
1.0b
(*.f64 (pow.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x))) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
32.5b
(*.f64 (sqrt.f64 2) x)
26.9b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.6b
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 3)) (pow.f64 (hypot.f64 x x) 3/4))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
1.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)) 3/4))
0.6b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 2770 to 1449 computations (47.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(pow.f64 (hypot.f64 x x) 3/4)
0.3b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
0.6b
(cbrt.f64 (hypot.f64 x x))
0.8b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)

series406.0ms (10.5%)

Counts
3 → 36
Calls

3 calls:

221.0ms
(cbrt.f64 (hypot.f64 x x))
181.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
4.0ms
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) 1/4) (pow.f64 (hypot.f64 x x) 3/4))

rewrite102.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
728×log1p-expm1-u_binary64
728×expm1-log1p-u_binary64
144×expm1-udef_binary64
144×log1p-udef_binary64
95×add-log-exp_binary64
Counts
3 → 76
Calls

3 calls:

101.0ms
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
101.0ms
(cbrt.f64 (hypot.f64 x x))
101.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
122314
2193014
3497714
4495914
5476414

simplify95.0ms (2.5%)

Algorithm
egg-herbie
Rules
708×associate-*l*_binary64
577×associate-*r*_binary64
408×unswap-sqr_binary64
401×fma-def_binary64
250×fma-neg_binary64
Counts
112 → 77
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
028648
175648
2123612
3347276
41065264
54300264
64996264
74869264

prune252.0ms (6.5%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1041105
Fresh066
Picked011
Done022
Total10410114
Error
0.0b
Counts
114 → 10
Alt Table
StatusErrorProgram
1.0b
(*.f64 (pow.f64 (*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 3) (cbrt.f64 (hypot.f64 x x))) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
32.5b
(*.f64 (sqrt.f64 2) x)
26.9b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5) 1/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.6b
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 x x) 1/4) 3)) (pow.f64 (hypot.f64 x x) 3/4))
30.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.1b
(hypot.f64 x x)
15.6b
(pow.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (hypot.f64 x x)) 3/4)
1.3b
(*.f64 (pow.f64 (hypot.f64 x x) 1/4) (pow.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3)) 3/4))
0.6b
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 3) 1/4) (pow.f64 (hypot.f64 x x) 3/4))
0.5b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
Compiler

Compiled 1999 to 1137 computations (43.1% saved)

regimes236.0ms (6.1%)

Accuracy

Total 0.1b remaining (86.9%)

Threshold costs 0.1b (86.9%)

Counts
53 → 1
Compiler

Compiled 3002 to 1938 computations (35.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end268.0ms (7%)

Compiler

Compiled 133 to 83 computations (37.6% saved)

Profiling

Loading profile data...