Details

Time bar (total: 4.4s)

analyze1.2s (26.6%)

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)

sample813.0ms (18.5%)

Results
782.0ms8256×body128valid
1.0msbody8192exit
Compiler

Compiled 19 to 9 computations (52.6% 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)

series5.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

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

simplify163.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

prune12.0ms (0.3%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New10515
Fresh000
Picked011
Done000
Total10616
Error
0.0b
Counts
16 → 6
Alt Table
StatusErrorProgram
34.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
28.7b
(*.f64 (sqrt.f64 2) x)
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)))
41.2b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
Compiler

Compiled 191 to 91 computations (52.4% 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
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

series13.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

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

rewrite12.0ms (0.3%)

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:

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

simplify77.0ms (1.8%)

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

prune106.0ms (2.4%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1224126
Fresh224
Picked011
Done011
Total1248132
Error
0.0b
Counts
132 → 8
Alt Table
StatusErrorProgram
28.7b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
34.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.7b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.8b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 1828 to 456 computations (75.1% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (hypot.f64 x x))
0.1b
(hypot.f64 x x)
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))

series371.0ms (8.5%)

Counts
2 → 24
Calls

2 calls:

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

rewrite29.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
51×sqrt-pow1_binary64
48×pow1_binary64
42×add-sqr-sqrt_binary64
37×sqrt-prod_binary64
36×pow-prod-up_binary64
Counts
2 → 100
Calls

2 calls:

13.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))

simplify111.0ms (2.5%)

Algorithm
egg-herbie
Rules
666×fma-def_binary64
338×fma-neg_binary64
322×unswap-sqr_binary64
245×exp-prod_binary64
220×exp-sum_binary64
Counts
124 → 126
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01001686
11921428
24101242
37241206
417391160
544301156
649901156
748431156

prune108.0ms (2.5%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2211222
Fresh055
Picked011
Done022
Total2219230
Error
0.0b
Counts
230 → 9
Alt Table
StatusErrorProgram
28.7b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))) (*.f64 (cbrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
1.4b
(*.f64 (*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (*.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
34.4b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.7b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.8b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 4532 to 1046 computations (76.9% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)
0.4b
(*.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))

series240.0ms (5.5%)

Counts
3 → 24
Calls

3 calls:

226.0ms
(cbrt.f64 (hypot.f64 x x))
9.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.4%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64
14×cbrt-prod_binary64
14×pow1_binary64
13×sqrt-prod_binary64
12×associate-*l*_binary64
Counts
3 → 76
Calls

3 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)))))
6.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
1.0ms
(cbrt.f64 (hypot.f64 x x))

simplify722.0ms (16.5%)

Algorithm
egg-herbie
Rules
529×fma-def_binary64
358×fma-neg_binary64
324×*-commutative_binary64
304×unswap-sqr_binary64
234×sqr-pow_binary64
Counts
100 → 107
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01031664
11831476
24721442
37221019
4998993
51919993
63922993
74995993
84845993

prune93.0ms (2.1%)

Pruning

9 alts after pruning (5 fresh and 4 done)

PrunedKeptTotal
New1702172
Fresh235
Picked011
Done033
Total1729181
Error
0.0b
Counts
181 → 9
Alt Table
StatusErrorProgram
1.1b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (fabs.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (cbrt.f64 (hypot.f64 x x))))))
28.7b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (cbrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))))) (*.f64 (cbrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
1.0b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 3))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.7b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
0.8b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 3394 to 749 computations (77.9% saved)

regimes203.0ms (4.6%)

Accuracy

Total 0.1b remaining (76.7%)

Threshold costs 0.1b (76.7%)

Counts
62 → 1
Compiler

Compiled 4522 to 1960 computations (56.7% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end90.0ms (2.1%)

Compiler

Compiled 152 to 61 computations (59.9% saved)

Profiling

Loading profile data...