Details

Time bar (total: 4.4s)

analyze13.0ms (0.3%)

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

Results
1.1s8256×body128valid
Compiler

Compiled 29 to 23 computations (20.7% saved)

simplify118.0ms (2.7%)

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)

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)

simplify161.0ms (3.7%)

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

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
0.1b
(hypot.f64 x x)
32.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.3b
(*.f64 (sqrt.f64 2) x)
1.3b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
Compiler

Compiled 157 to 73 computations (53.5% saved)

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

series531.0ms (12.2%)

Counts
3 → 36
Calls

3 calls:

289.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
238.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)))

rewrite17.0ms (0.4%)

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:

6.0ms
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
4.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify217.0ms (5%)

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

prune72.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2042206
Fresh022
Picked101
Done011
Total2055210
Error
0.0b
Counts
210 → 5
Alt Table
StatusErrorProgram
0.8b
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
32.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.3b
(*.f64 (sqrt.f64 2) x)
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
Compiler

Compiled 3753 to 821 computations (78.1% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series303.0ms (7%)

Counts
3 → 24
Calls

3 calls:

290.0ms
(*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
9.0ms
(sqrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))

rewrite21.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64
19×sqrt-prod_binary64
15×pow1_binary64
12×associate-*r*_binary64
11×*-un-lft-identity_binary64
Counts
3 → 81
Calls

3 calls:

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

simplify167.0ms (3.8%)

Algorithm
egg-herbie
Rules
879×fma-neg_binary64
360×exp-sum_binary64
306×exp-prod_binary64
302×fma-def_binary64
291×exp-diff_binary64
Counts
105 → 116
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01071916
12181671
25531620
38521599
415301259
531041080
639581080
749451080
850001080

prune55.0ms (1.3%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh033
Picked011
Done011
Total1545159
Error
0.0b
Counts
159 → 5
Alt Table
StatusErrorProgram
0.8b
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
32.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.3b
(*.f64 (sqrt.f64 2) x)
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
Compiler

Compiled 3046 to 678 computations (77.7% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
0.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.6b
(cbrt.f64 (hypot.f64 x x))
0.7b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)

series802.0ms (18.4%)

Counts
3 → 36
Calls

3 calls:

591.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)
206.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))
4.0ms
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
20×sqrt-prod_binary64
20×cbrt-prod_binary64
18×unpow-prod-down_binary64
14×*-un-lft-identity_binary64
Counts
3 → 90
Calls

3 calls:

7.0ms
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
2.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2)
1.0ms
(sqrt.f64 (cbrt.f64 (hypot.f64 x x)))

simplify113.0ms (2.6%)

Algorithm
egg-herbie
Rules
768×fma-def_binary64
538×unswap-sqr_binary64
377×associate-*l*_binary64
330×log-prod_binary64
309×associate-*r*_binary64
Counts
126 → 127
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01242231
12402176
25442108
314951616
429061590
544891590
649721590

prune74.0ms (1.7%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1632165
Fresh022
Picked011
Done022
Total1637170
Error
0b
Counts
170 → 7
Alt Table
StatusErrorProgram
1.7b
(*.f64 (*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (*.f64 (cbrt.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))) (cbrt.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
0.8b
(*.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
32.6b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.3b
(*.f64 (sqrt.f64 2) x)
1.3b
(*.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.5b
(*.f64 (pow.f64 (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))) 5/2) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
Compiler

Compiled 3011 to 1083 computations (64% saved)

regimes192.0ms (4.4%)

Accuracy

Total 0.1b remaining (70.4%)

Threshold costs 0.1b (70.4%)

Counts
43 → 1
Compiler

Compiled 2722 to 1298 computations (52.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end79.0ms (1.8%)

Compiler

Compiled 100 to 47 computations (53% saved)

Profiling

Loading profile data...