Details

Time bar (total: 6.2s)

analyze1.8s (29.2%)

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 8 computations (20% saved)

sample1.5s (23.9%)

Results
1.3s8256×body128valid
2.0msbody8192exit
Compiler

Compiled 19 to 15 computations (21.1% saved)

simplify117.0ms (1.9%)

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

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)

simplify159.0ms (2.6%)

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

prune13.0ms (0.2%)

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
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))) (cbrt.f64 (hypot.f64 x x)))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
28.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 191 to 91 computations (52.4% 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)))

series14.0ms (0.2%)

Counts
2 → 12
Calls

2 calls:

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

rewrite11.0ms (0.2%)

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:

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

simplify75.0ms (1.2%)

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

prune54.0ms (0.9%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1233126
Fresh134
Picked011
Done011
Total1248132
Error
0.0b
Counts
132 → 8
Alt Table
StatusErrorProgram
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
2.0b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.8b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
28.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 1806 to 454 computations (74.9% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series1.0s (16.6%)

Counts
4 → 48
Calls

4 calls:

408.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))))
325.0ms
(*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))
287.0ms
(cbrt.f64 (hypot.f64 x x))
4.0ms
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))

rewrite37.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
34×pow1_binary64
27×pow1/3_binary64
26×sqrt-pow1_binary64
23×cbrt-prod_binary64
Counts
4 → 127
Calls

4 calls:

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

simplify167.0ms (2.7%)

Algorithm
egg-herbie
Rules
752×fma-def_binary64
375×fma-neg_binary64
370×exp-prod_binary64
363×exp-sum_binary64
333×sqr-pow_binary64
Counts
175 → 186
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01712868
13582506
28242279
314081915
427511553
545441553
641091553
749711553
849001553

prune103.0ms (1.7%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New2242226
Fresh145
Picked011
Done022
Total2259234
Error
0.0b
Counts
234 → 9
Alt Table
StatusErrorProgram
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
1.1b
(*.f64 (*.f64 (*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)) (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x)))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
1.5b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
38.3b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.8b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
28.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 5729 to 1292 computations (77.4% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series245.0ms (4%)

Counts
2 → 24
Calls

2 calls:

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

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
87×sqrt-prod_binary64
64×add-sqr-sqrt_binary64
27×cube-prod_binary64
27×unpow-prod-down_binary64
24×associate-*r*_binary64
Counts
2 → 114
Calls

2 calls:

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

simplify113.0ms (1.8%)

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

Useful iterations: 4 (0.0ms)

IterNodesCost
01141997
12361755
27951526
314941445
433641372
545901372
648551372

prune161.0ms (2.6%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1663169
Fresh235
Picked101
Done033
Total1699178
Error
0b
Counts
178 → 9
Alt Table
StatusErrorProgram
0.6b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
1.5b
(*.f64 (*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2) (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 5/2)) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
0.8b
(*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
1.3b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (pow.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) 3)) (pow.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) 3))
1.0b
(*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))) (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)))
34.8b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.8b
(*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (hypot.f64 x x))))) (sqrt.f64 (cbrt.f64 (hypot.f64 x x))))
28.4b
(*.f64 (sqrt.f64 2) x)
Compiler

Compiled 3138 to 1029 computations (67.2% saved)

regimes440.0ms (7.1%)

Accuracy

Total 0.1b remaining (81.6%)

Threshold costs 0.1b (81.6%)

Counts
119 → 1
Compiler

Compiled 9098 to 4766 computations (47.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end104.0ms (1.7%)

Compiler

Compiled 143 to 69 computations (51.7% saved)

Profiling

Loading profile data...