Details

Time bar (total: 5.7s)

analyze1.4s (25%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0%100%0%14
Compiler

Compiled 10 to 5 computations (50% saved)

sample1.4s (24.9%)

Results
1.4s8256×body128valid
2.0msbody8192exit
Compiler

Compiled 29 to 14 computations (51.7% saved)

simplify6.0ms (0.1%)

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

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

simplify167.0ms (2.9%)

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

prune8.0ms (0.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12315
Fresh000
Picked011
Done000
Total12416
Error
0.0b
Counts
16 → 4
Alt Table
StatusErrorProgram
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
Compiler

Compiled 157 to 73 computations (53.5% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series564.0ms (9.9%)

Counts
3 → 36
Calls

3 calls:

323.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
236.0ms
(cbrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
29×pow1_binary64
24×add-sqr-sqrt_binary64
23×cbrt-prod_binary64
16×pow1/3_binary64
14×*-un-lft-identity_binary64
Counts
3 → 93
Calls

3 calls:

8.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
5.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify133.0ms (2.4%)

Algorithm
egg-herbie
Rules
589×fma-def_binary64
501×exp-prod_binary64
410×exp-sum_binary64
358×div-exp_binary64
330×fma-neg_binary64
Counts
129 → 123
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01031636
11961516
24281327
311211221
42365953
54247953
64195953
74661953
85307953

prune67.0ms (1.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2033206
Fresh022
Picked101
Done011
Total2046210
Error
0.0b
Counts
210 → 6
Alt Table
StatusErrorProgram
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.4b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 3797 to 835 computations (78% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series555.0ms (9.8%)

Counts
3 → 36
Calls

3 calls:

327.0ms
(*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
224.0ms
(cbrt.f64 (sqrt.f64 (hypot.f64 x x)))
4.0ms
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))

rewrite19.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
14×sqrt-prod_binary64
12×associate-*r*_binary64
12×*-un-lft-identity_binary64
Counts
3 → 75
Calls

3 calls:

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

simplify116.0ms (2%)

Algorithm
egg-herbie
Rules
610×unswap-sqr_binary64
430×exp-sum_binary64
427×fma-def_binary64
385×exp-prod_binary64
285×*-commutative_binary64
Counts
111 → 111
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01132056
12341636
26291544
311431262
419481262
545091230
645931223
748651223

prune47.0ms (0.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1282130
Fresh044
Picked011
Done011
Total1288136
Error
0.0b
Counts
136 → 8
Alt Table
StatusErrorProgram
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
1.7b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.1b
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (hypot.f64 x x)))
30.4b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 2793 to 613 computations (78.1% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series654.0ms (11.5%)

Counts
2 → 24
Calls

2 calls:

332.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (hypot.f64 x x)))
322.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (hypot.f64 x x))))

rewrite29.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt_binary64
46×sqrt-prod_binary64
33×rem-sqrt-square_binary64
30×cbrt-prod_binary64
24×associate-*l*_binary64
Counts
2 → 90
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (hypot.f64 x x))))
9.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (hypot.f64 x x)))

simplify176.0ms (3.1%)

Algorithm
egg-herbie
Rules
566×fma-def_binary64
456×exp-prod_binary64
445×exp-sum_binary64
308×fma-neg_binary64
299×unswap-sqr_binary64
Counts
114 → 126
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01212470
12742265
26482139
310401788
421731719
544941701
641101671
747711671
849781671
948051671

prune69.0ms (1.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1890189
Fresh055
Picked011
Done022
Total1898197
Error
0.0b
Counts
197 → 8
Alt Table
StatusErrorProgram
1.4b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
1.7b
(*.f64 (*.f64 (*.f64 (*.f64 (cbrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
32.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
1.1b
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (hypot.f64 x x)))
30.4b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 5370 to 1039 computations (80.7% saved)

regimes93.0ms (1.6%)

Accuracy

Total 0.1b remaining (74.5%)

Threshold costs 0.1b (74.5%)

Counts
29 → 1
Compiler

Compiled 1834 to 832 computations (54.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end85.0ms (1.5%)

Compiler

Compiled 129 to 55 computations (57.4% saved)

Profiling

Loading profile data...