Details

Time bar (total: 4.3s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
100%0%0%2
Compiler

Compiled 10 to 5 computations (50% saved)

sample964.0ms (22.2%)

Results
806.0ms8256×body128valid
Compiler

Compiled 29 to 14 computations (51.7% saved)

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

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)

simplify261.0ms (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

prune24.0ms (0.6%)

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.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)))
36.9b
(cbrt.f64 (*.f64 (*.f64 (hypot.f64 x x) (hypot.f64 x x)) (hypot.f64 x x)))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
30.9b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
Compiler

Compiled 203 to 91 computations (55.2% saved)

localize8.0ms (0.2%)

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

series29.0ms (0.7%)

Counts
2 → 12
Calls

2 calls:

20.0ms
(sqrt.f64 (hypot.f64 x x))
8.0ms
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))

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

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

prune137.0ms (3.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1188126
Fresh224
Picked101
Done011
Total12111132
Error
0.0b
Counts
132 → 11
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.6b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
30.9b
(*.f64 (sqrt.f64 2) 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)))))
1.3b
(*.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))) (sqrt.f64 (hypot.f64 x x))))
36.9b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
2.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))))
0.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
1.9b
(*.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)))))
Compiler

Compiled 1974 to 500 computations (74.7% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series1.0s (23.8%)

Counts
3 → 36
Calls

3 calls:

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

rewrite61.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
55×sqrt-pow1_binary64
51×pow1_binary64
47×sqrt-prod_binary64
47×add-sqr-sqrt_binary64
36×pow-prod-up_binary64
Counts
3 → 121
Calls

3 calls:

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

simplify183.0ms (4.2%)

Algorithm
egg-herbie
Rules
784×fma-def_binary64
340×unswap-sqr_binary64
272×exp-sum_binary64
265×distribute-rgt-in_binary64
219×fma-neg_binary64
Counts
157 → 153
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01161915
12241702
24451614
38431530
420211476
547411476
649491476

prune222.0ms (5.1%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2260226
Fresh099
Picked011
Done011
Total22611237
Error
0.0b
Counts
237 → 11
Alt Table
StatusErrorProgram
0.9b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (cbrt.f64 (hypot.f64 x x)) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.6b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
30.9b
(*.f64 (sqrt.f64 2) 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)))))
1.3b
(*.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))) (sqrt.f64 (hypot.f64 x x))))
36.9b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
2.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))))
0.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))))
0.1b
(hypot.f64 x x)
1.9b
(*.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)))))
Compiler

Compiled 4728 to 1151 computations (75.7% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series15.0ms (0.3%)

Counts
2 → 12
Calls

2 calls:

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

rewrite60.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
83×sqrt-prod_binary64
83×sqrt-pow1_binary64
78×add-sqr-sqrt_binary64
63×pow1_binary64
43×pow1/2_binary64
Counts
2 → 137
Calls

2 calls:

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

simplify194.0ms (4.5%)

Algorithm
egg-herbie
Rules
790×fma-def_binary64
529×unswap-sqr_binary64
412×log-prod_binary64
373×associate-*l*_binary64
353×*-commutative_binary64
Counts
149 → 141
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0881283
11251208
23521182
310361116
421701116
537511065
644361065
749061065

prune133.0ms (3.1%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New2411242
Fresh268
Picked011
Done022
Total24310253
Error
0.0b
Counts
253 → 10
Alt Table
StatusErrorProgram
0.6b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))))
30.9b
(*.f64 (sqrt.f64 2) 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)))))
1.3b
(*.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))) (sqrt.f64 (hypot.f64 x x))))
1.6b
(*.f64 (pow.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) 4) (cbrt.f64 (hypot.f64 x x)))
0.1b
(hypot.f64 x x)
36.9b
(cbrt.f64 (*.f64 (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x))) (*.f64 (*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
2.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (expm1.f64 (log1p.f64 (sqrt.f64 (hypot.f64 x x)))))
32.3b
(neg.f64 (*.f64 (sqrt.f64 2) x))
0.7b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (sqrt.f64 (hypot.f64 x x)))))
Compiler

Compiled 4784 to 1200 computations (74.9% saved)

regimes642.0ms (14.8%)

Accuracy

Total 0.1b remaining (81.3%)

Threshold costs 0.1b (81.3%)

Counts
98 → 1
Compiler

Compiled 5538 to 3020 computations (45.5% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end189.0ms (4.4%)

Compiler

Compiled 152 to 62 computations (59.2% saved)

Profiling

Loading profile data...