Details

Time bar (total: 2.6s)

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)

sample820.0ms (31.9%)

Results
793.0ms8256×body128valid
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify6.0ms (0.2%)

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

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

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series6.0ms (0.2%)

Counts
1 → 12
Calls

1 calls:

6.0ms
(hypot.f64 x x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 10
Calls

1 calls:

0.0ms
(hypot.f64 x x)

simplify162.0ms (6.3%)

Algorithm
egg-herbie
Rules
1032×sqr-pow_binary64
715×pow-sqr_binary64
575×cube-prod_binary64
481×fabs-mul_binary64
362×unswap-sqr_binary64
Counts
22 → 15
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019159
129150
246150
352150
461150
588150
6119150
7178150
8376150
9696150
10701150
11875150
121086150
131314150
141571150
151876150
162224150
172699150
183317150
193513150
203687150
213801150
223848150
233900150
244778150
254863150
264688150

prune9.0ms (0.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New11415
Fresh000
Picked011
Done000
Total11516
Error
0.0b
Counts
16 → 5
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
32.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 177 to 81 computations (54.2% saved)

localize4.0ms (0.1%)

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
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

series42.0ms (1.6%)

Counts
2 → 12
Calls

2 calls:

38.0ms
(sqrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

rewrite9.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
21×sqrt-prod_binary64
18×pow1_binary64
11×*-un-lft-identity_binary64
11×add-cube-cbrt_binary64
Counts
2 → 68
Calls

2 calls:

5.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
1.0ms
(sqrt.f64 (hypot.f64 x x))

simplify76.0ms (3%)

Algorithm
egg-herbie
Rules
950×fma-def_binary64
446×unswap-sqr_binary64
308×sqr-pow_binary64
263×associate-+l+_binary64
259×associate-/l*_binary64
Counts
80 → 79
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
054643
179602
2190589
3392554
4718554
51343554
62541540
74570540
85161540

prune59.0ms (2.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1233126
Fresh123
Picked011
Done011
Total1247131
Error
0.0b
Counts
131 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
17.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
32.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 1750 to 440 computations (74.9% saved)

localize6.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.1b
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.7b
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)

series404.0ms (15.7%)

Counts
3 → 36
Calls

3 calls:

211.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))
190.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
4.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))

rewrite25.0ms (1%)

Algorithm
rewrite-expression-head
Rules
97×sqrt-prod_binary64
69×add-sqr-sqrt_binary64
27×cube-prod_binary64
27×unpow-prod-down_binary64
24×associate-*r*_binary64
Counts
3 → 135
Calls

3 calls:

10.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
3.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
3.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify118.0ms (4.6%)

Algorithm
egg-herbie
Rules
569×unswap-sqr_binary64
453×exp-prod_binary64
451×sqr-pow_binary64
387×log-prod_binary64
386×*-commutative_binary64
Counts
171 → 131
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01172417
12382133
27971880
314961751
433661674
545921674
648571674

prune78.0ms (3%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1910191
Fresh044
Picked011
Done022
Total1917198
Error
0.0b
Counts
198 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
17.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
32.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 3547 to 1148 computations (67.6% saved)

localize7.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series373.0ms (14.5%)

Counts
4 → 36
Calls

4 calls:

182.0ms
(cbrt.f64 (hypot.f64 x x))
180.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
7.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
4.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))

rewrite19.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64
19×sqrt-prod_binary64
18×cbrt-prod_binary64
16×pow1_binary64
14×*-un-lft-identity_binary64
Counts
4 → 96
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
5.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify108.0ms (4.2%)

Algorithm
egg-herbie
Rules
415×fma-def_binary64
380×fma-neg_binary64
331×unswap-sqr_binary64
288×sqr-pow_binary64
251×*-commutative_binary64
Counts
132 → 136
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01132082
12061889
25051828
37911342
411451310
523081310
645841310
748751310

prune57.0ms (2.2%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1560156
Fresh033
Picked011
Done033
Total1567163
Error
0.0b
Counts
163 → 7
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
17.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.9b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
32.7b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 3058 to 677 computations (77.9% saved)

regimes103.0ms (4%)

Accuracy

Total 0.1b remaining (76.9%)

Threshold costs 0.1b (76.9%)

Counts
31 → 1
Compiler

Compiled 1782 to 876 computations (50.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end67.0ms (2.6%)

Compiler

Compiled 84 to 40 computations (52.4% saved)

Profiling

Loading profile data...