Details

Time bar (total: 10.0min)

analyze2.8s (0.5%)

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.1s (0.2%)

Results
1.1s8256×body128valid
Compiler

Compiled 19 to 9 computations (52.6% saved)

simplify14.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
associate-*r*_binary64
count-2_binary64
associate-*l*_binary64
distribute-lft-out_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
054
1114
2154
3184

prune6.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 9 computations (55% saved)

localize2.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

series6.0ms (0%)

Counts
1 → 12
Calls

1 calls:

6.0ms
(hypot.f64 x x)

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

simplify149.0ms (0%)

Algorithm
egg-herbie
Rules
590×sqr-pow_binary64
362×unswap-sqr_binary64
308×*-commutative_binary64
297×pow-sqr_binary64
230×cube-prod_binary64
Counts
22 → 15
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
019159
129150
250150
362150
474150
5102150
6213150
7331150
8763150
91595150
101753150
111953150
122278150
132724150
143378150
153840150
164391150

prune16.0ms (0%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New11415
Fresh000
Picked011
Done000
Total11516
Error
0.0b
Counts
16 → 5
Alt Table
StatusErrorProgram
42.7b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
30.3b
(*.f64 (sqrt.f64 2) (neg.f64 x))
32.6b
(*.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)))
Compiler

Compiled 161 to 81 computations (49.7% saved)

localize7.0ms (0%)

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

series26.0ms (0%)

Counts
2 → 12
Calls

2 calls:

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

rewrite18.0ms (0%)

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:

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

simplify717.0ms (0.1%)

Algorithm
egg-herbie
Rules
694×unswap-sqr_binary64
385×associate-/l*_binary64
226×*-commutative_binary64
220×associate-*l*_binary64
219×associate-/r/_binary64
Counts
80 → 78
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
060643
191602
2235589
3793554
41303554
53499554

prune84.0ms (0%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1204124
Fresh033
Picked011
Done011
Total1209129
Error
0.0b
Counts
129 → 9
Alt Table
StatusErrorProgram
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.1b
(hypot.f64 x x)
42.7b
(cbrt.f64 (pow.f64 (hypot.f64 x x) 3))
30.3b
(*.f64 (sqrt.f64 2) (neg.f64 x))
32.6b
(*.f64 (sqrt.f64 2) 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)))))
1.5b
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 4) (cbrt.f64 (hypot.f64 x x)))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 1797 to 457 computations (74.6% saved)

localize8.0ms (0%)

Local error

Found 4 expressions with local error:

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

series874.0ms (0.1%)

Counts
3 → 36
Calls

3 calls:

527.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))
336.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))))

rewrite48.0ms (0%)

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:

19.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)))
2.0ms
(sqrt.f64 (sqrt.f64 (hypot.f64 x x)))

simplify1.4s (0.2%)

Algorithm
egg-herbie
Rules
844×fma-def_binary64
432×associate-*r*_binary64
397×associate-*l*_binary64
273×exp-sum_binary64
212×*-commutative_binary64
Counts
157 → 153
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01401915
12921702
26841614
314231530
434121476

prune174.0ms (0%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2223225
Fresh426
Picked011
Done022
Total2268234
Error
0.0b
Counts
234 → 8
Alt Table
StatusErrorProgram
0.8b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)) (sqrt.f64 (hypot.f64 x x))))
30.3b
(*.f64 (sqrt.f64 2) (neg.f64 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.1b
(hypot.f64 x x)
0.9b
(*.f64 (sqrt.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (*.f64 (sqrt.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (sqrt.f64 (hypot.f64 x x)))))
32.6b
(*.f64 (sqrt.f64 2) x)
1.4b
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x))))) (cbrt.f64 (sqrt.f64 (hypot.f64 x x)))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 x x)) (sqrt.f64 (hypot.f64 x x)))
Compiler

Compiled 4585 to 1104 computations (75.9% saved)

localize11.0ms (0%)

Local error

Found 4 expressions with local error:

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

series1.2s (0.2%)

Counts
4 → 48
Calls

4 calls:

470.0ms
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)) (sqrt.f64 (hypot.f64 x x)))
380.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)
358.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
6.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)) (sqrt.f64 (hypot.f64 x x))))

rewrite55.0ms (0%)

Algorithm
rewrite-expression-head
Rules
87×sqrt-prod_binary64
65×add-sqr-sqrt_binary64
64×cbrt-prod_binary64
36×associate-*l*_binary64
33×cube-prod_binary64
Counts
4 → 167
Calls

4 calls:

16.0ms
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)) (sqrt.f64 (hypot.f64 x x)))
13.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) (*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)) (sqrt.f64 (hypot.f64 x x))))
4.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3))
4.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (hypot.f64 x x))) 3)

simplify9.9min (98.5%)

Algorithm
egg-herbie
Rules
513×*-commutative_binary64
347×fma-def_binary64
257×exp-prod_binary64
223×associate-*r*_binary64
219×sqr-pow_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01803153
14473072
214722738
333312523

Profiling

Loading profile data...