Details

Time bar (total: 6.5s)

analyze243.0ms (3.7%)

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)

sample39.0ms (0.6%)

Algorithm
intervals
Results
26.0ms256×body128valid
Compiler

Compiled 20 to 16 computations (20% saved)

simplify152.0ms (2.3%)

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

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

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)

rewrite21.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cube-cbrt_binary64
pow1_binary64
add-sqr-sqrt_binary64
add-cbrt-cube_binary64
log1p-expm1-u_binary64
Counts
1 → 31
Calls

1 calls:

18.0ms
(hypot.f64 x x)

series54.0ms (0.8%)

Counts
1 → 12
Calls

1 calls:

54.0ms
(hypot.f64 x x)

simplify232.0ms (3.5%)

Algorithm
egg-herbie
Rules
1233×sqr-pow_binary64
530×pow-sqr_binary64
482×cube-prod_binary64
435×fabs-mul_binary64
374×unswap-sqr_binary64
Counts
43 → 52
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
027236
145227
267227
382227
4111227
5191227
6397227
7727227
8762227
9925227
101102227
111345227
121674227
132076227
142488227
153029227
163317227
173480227
183590227
193637227
203686227
214300227
224946227
234680227

prune28.0ms (0.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47552
Fresh000
Picked011
Done000
Total47653
Error
0.0b
Counts
53 → 6
Alt Table
StatusErrorProgram
32.8b
(*.f64 (sqrt.f64 2) x)
0.1b
(hypot.f64 x x)
5.7b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
1.4b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 3)
30.1b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 282 to 124 computations (56% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(hypot.f64 x x)
0.2b
(sqrt.f64 (hypot.f64 x x))
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)

rewrite51.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
14×add-cube-cbrt_binary64
add-sqr-sqrt_binary64
pow1_binary64
add-cbrt-cube_binary64
log1p-expm1-u_binary64
Counts
2 → 75
Calls

2 calls:

25.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
21.0ms
(sqrt.f64 (hypot.f64 x x))

series48.0ms (0.7%)

Counts
2 → 0
Calls

2 calls:

30.0ms
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
18.0ms
(sqrt.f64 (hypot.f64 x x))

simplify117.0ms (1.8%)

Algorithm
egg-herbie
Rules
1003×fma-def_binary64
852×exp-sum_binary64
568×distribute-rgt-in_binary64
490×distribute-lft-in_binary64
392×exp-prod_binary64
Counts
75 → 110
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
057423
181398
2178398
3686349
41433347
54019347
65622347

prune70.0ms (1.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1611162
Fresh134
Picked011
Done011
Total1626168
Error
0.0b
Counts
168 → 6
Alt Table
StatusErrorProgram
32.8b
(*.f64 (sqrt.f64 2) x)
1.3b
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (cbrt.f64 (hypot.f64 x x)) 2))
0.1b
(hypot.f64 x x)
5.7b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
30.1b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 1122 to 514 computations (54.2% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.6b
(cbrt.f64 (hypot.f64 x x))
0.6b
(cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2))

rewrite72.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
22×add-cube-cbrt_binary64
11×add-sqr-sqrt_binary64
11×pow1/3_binary64
log1p-expm1-u_binary64
expm1-log1p-u_binary64
Counts
3 → 101
Calls

3 calls:

23.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)
21.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2))
20.0ms
(cbrt.f64 (hypot.f64 x x))

series2.1s (32.5%)

Counts
3 → 36
Calls

3 calls:

741.0ms
(cbrt.f64 (hypot.f64 x x))
705.0ms
(cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2))
680.0ms
(pow.f64 (cbrt.f64 (hypot.f64 x x)) 2)

simplify239.0ms (3.7%)

Algorithm
egg-herbie
Rules
501×distribute-rgt-in_binary64
427×exp-prod_binary64
419×log-prod_binary64
380×distribute-lft-in_binary64
309×*-commutative_binary64
Counts
137 → 222
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0971560
11721195
22991101
31085917
42171917
54260913
64852913
74966913
84859913

prune143.0ms (2.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2841285
Fresh033
Picked101
Done022
Total2856291
Error
0.0b
Counts
291 → 6
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 2))
32.8b
(*.f64 (sqrt.f64 2) x)
5.7b
(exp.f64 (log.f64 (hypot.f64 x x)))
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
30.1b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 2993 to 1451 computations (51.5% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
0.6b
(cbrt.f64 (hypot.f64 x x))
0.6b
(cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-cube-cbrt_binary64
pow-to-exp_binary64
unpow2_binary64
add-exp-log_binary64
sqr-pow_binary64
Counts
1 → 40
Calls

1 calls:

23.0ms
(pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)

series767.0ms (11.7%)

Counts
1 → 12
Calls

1 calls:

767.0ms
(pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 2)

simplify151.0ms (2.3%)

Algorithm
egg-herbie
Rules
762×fma-def_binary64
548×unswap-sqr_binary64
442×exp-prod_binary64
293×distribute-rgt-in_binary64
286×log-prod_binary64
Counts
52 → 87
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
059564
1112494
2197453
3740346
41891344
54275344
64887344
74979344
84842344

prune158.0ms (2.4%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New3521353
Fresh123
Picked011
Done022
Total3536359
Error
0.0b
Counts
359 → 6
Alt Table
StatusErrorProgram
0.1b
(hypot.f64 x x)
1.4b
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (hypot.f64 x x))) 2) 2))
32.8b
(*.f64 (sqrt.f64 2) x)
3.2b
(*.f64 (cbrt.f64 (pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)) (pow.f64 (expm1.f64 (log1p.f64 (cbrt.f64 (hypot.f64 x x)))) 2))
0.6b
(pow.f64 (sqrt.f64 (hypot.f64 x x)) 2)
30.1b
(neg.f64 (*.f64 (sqrt.f64 2) x))
Compiler

Compiled 3586 to 1847 computations (48.5% saved)

regimes313.0ms (4.8%)

Accuracy

Total 0.1b remaining (69%)

Threshold costs 0.1b (69%)

Compiler

Compiled 2286 to 1590 computations (30.4% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
034
134

end1.0ms (0%)

Compiler

Compiled 4 to 2 computations (50% saved)

sample1.4s (21.9%)

Algorithm
intervals
Results
944.0ms8000×body128valid
Compiler

Compiled 72 to 52 computations (27.8% saved)

Profiling

Loading profile data...