Details

Time bar (total: 7.0s)

analyze869.0ms (12.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14
Compiler

Compiled 20 to 14 computations (30% saved)

sample93.0ms (1.3%)

Algorithm
intervals
Results
29.0ms191×body128valid
14.0ms24×body2048valid
12.0ms14×body4096valid
7.0ms14×body1024valid
7.0ms256×pre128true
3.0msbody512valid
1.0msbody256valid
Compiler

Compiled 39 to 28 computations (28.2% saved)

simplify38.0ms (0.5%)

Algorithm
egg-herbie
Rules
203×fma-def_binary64
142×fma-neg_binary64
51×distribute-rgt-in_binary64
42×cancel-sign-sub-inv_binary64
28×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12015
23315
35015
46915
59815
615115
721115
826315
930515
1034315
1137915
1239615
1341515
1442815
1546515
1647715
1748615
1844915

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
14.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 51 to 37 computations (27.5% saved)

localize13.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))
0.0b
(hypot.f64 re im)
1.2b
(-.f64 (hypot.f64 re im) re)

series143.0ms (2%)

Counts
3 → 56
Calls

3 calls:

93.0ms
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))
25.0ms
(-.f64 (hypot.f64 re im) re)
24.0ms
(hypot.f64 re im)

rewrite25.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
11×add-cube-cbrt_binary64
prod-diff_binary64
pow1_binary64
Counts
3 → 55
Calls

3 calls:

13.0ms
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))
6.0ms
(-.f64 (hypot.f64 re im) re)
1.0ms
(hypot.f64 re im)

simplify148.0ms (2.1%)

Algorithm
egg-herbie
Rules
994×fma-neg_binary64
747×times-frac_binary64
413×cancel-sign-sub-inv_binary64
173×fma-def_binary64
158×sub-neg_binary64
Counts
111 → 136
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02382332
16112069
220781999
344661989
450151989

prune173.0ms (2.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1315136
Fresh000
Picked011
Done000
Total1316137
Error
0.1b
Counts
137 → 6
Alt Table
StatusErrorProgram
18.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re))))))
14.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re)))))
53.6b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (/.f64 1 re))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (pow.f64 im 3) (sqrt.f64 2)) (sqrt.f64 1/2)) -1/16))))
46.7b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
54.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 3341 to 2190 computations (34.5% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (hypot.f64 re im))
0.0b
(hypot.f64 re im)
0.0b
(sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))))
16.2b
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))

series290.0ms (4.1%)

Counts
3 → 26
Calls

3 calls:

173.0ms
(sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))))
79.0ms
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))
37.0ms
(sqrt.f64 (hypot.f64 re im))

rewrite9.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64
add-sqr-sqrt_binary64
sqrt-prod_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
Counts
3 → 38
Calls

3 calls:

4.0ms
(sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))))
2.0ms
(sqrt.f64 (hypot.f64 re im))
1.0ms
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re))

simplify112.0ms (1.6%)

Algorithm
egg-herbie
Rules
630×fma-def_binary64
337×associate-/l*_binary64
311×times-frac_binary64
291×fma-neg_binary64
289×cancel-sign-sub-inv_binary64
Counts
64 → 99
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02061414
15181316
215851263
349271261
450241261

prune260.0ms (3.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2070207
Fresh044
Picked011
Done011
Total2076213
Error
0.1b
Counts
213 → 6
Alt Table
StatusErrorProgram
18.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re))))))
14.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re)))))
53.6b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (/.f64 1 re))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (pow.f64 im 3) (sqrt.f64 2)) (sqrt.f64 1/2)) -1/16))))
46.7b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
54.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 5690 to 3323 computations (41.6% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))))
0.0b
(hypot.f64 re im)
1.2b
(-.f64 (hypot.f64 re im) re)
4.3b
(exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))

series114.0ms (1.6%)

Counts
2 → 32
Calls

2 calls:

90.0ms
(sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))))
23.0ms
(exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))

rewrite20.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
pow1_binary64
exp-sum_binary64
log-prod_binary64
Counts
2 → 36
Calls

2 calls:

10.0ms
(sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))))
6.0ms
(exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re)))

simplify118.0ms (1.7%)

Algorithm
egg-herbie
Rules
572×fma-def_binary64
421×fma-neg_binary64
337×associate-/l*_binary64
311×times-frac_binary64
242×cancel-sign-sub-inv_binary64
Counts
68 → 100
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02141545
15221490
215871435
349881431
451711431

prune210.0ms (3%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New2040204
Fresh033
Picked011
Done022
Total2046210
Error
0.1b
Counts
210 → 6
Alt Table
StatusErrorProgram
18.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re))))))
14.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re)))))
53.6b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 im (sqrt.f64 2)) (sqrt.f64 (/.f64 1 re))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (pow.f64 im 3) (sqrt.f64 2)) (sqrt.f64 1/2)) -1/16))))
46.7b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
54.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 4845 to 3097 computations (36.1% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (/.f64 1 re))
0.1b
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
0.4b
(*.f64 (sqrt.f64 2) im)
0.5b
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))

series84.0ms (1.2%)

Counts
4 → 0
Calls

4 calls:

53.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
13.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))
11.0ms
(sqrt.f64 (/.f64 1 re))
7.0ms
(*.f64 (sqrt.f64 2) im)

rewrite115.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
33×sqrt-prod_binary64
32×add-sqr-sqrt_binary64
25×*-un-lft-identity_binary64
24×add-cube-cbrt_binary64
22×pow1_binary64
Counts
4 → 114
Calls

4 calls:

66.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))
23.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
8.0ms
(*.f64 (sqrt.f64 2) im)
5.0ms
(sqrt.f64 (/.f64 1 re))

simplify176.0ms (2.5%)

Algorithm
egg-herbie
Rules
468×associate-/l*_binary64
416×*-commutative_binary64
403×unswap-sqr_binary64
271×sqr-pow_binary64
214×associate-*l*_binary64
Counts
114 → 123
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01211600
12391498
27891498
312861498
426201498
530601498
644731498
750121498

prune187.0ms (2.7%)

Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New1167123
Fresh112
Picked101
Done033
Total11811129
Error
0.0b
Counts
129 → 11
Alt Table
StatusErrorProgram
46.7b
(*.f64 1/2 (/.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 re)))
46.7b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 2)) (cbrt.f64 (sqrt.f64 2))) (*.f64 (cbrt.f64 (sqrt.f64 2)) im))) (sqrt.f64 (/.f64 1 re))))
18.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (-.f64 (hypot.f64 re im) re))))))
14.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
46.6b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))) (sqrt.f64 (/.f64 1 re))))
54.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
46.7b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (*.f64 (sqrt.f64 (sqrt.f64 (/.f64 1 re))) (sqrt.f64 (sqrt.f64 (/.f64 1 re))))))
16.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 re)))))
46.8b
(*.f64 1/2 (*.f64 (*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))) (cbrt.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)))) (cbrt.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)))) (sqrt.f64 (/.f64 1 re))))
46.8b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (*.f64 (fabs.f64 (cbrt.f64 (/.f64 1 re))) (sqrt.f64 (cbrt.f64 (/.f64 1 re))))))
46.8b
(*.f64 1/2 (*.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (*.f64 (cbrt.f64 (sqrt.f64 (/.f64 1 re))) (cbrt.f64 (sqrt.f64 (/.f64 1 re))))) (cbrt.f64 (sqrt.f64 (/.f64 1 re)))))
Compiler

Compiled 2747 to 2323 computations (15.4% saved)

regimes1.1s (16%)

Accuracy

Total 7.4b remaining (98.4%)

Threshold costs 0b (0%)

Counts
89 → 2
Compiler

Compiled 12624 to 10769 computations (14.7% saved)

bsearch35.0ms (0.5%)

Steps
ItersRangePoint
9
5.304916424123851e-15
2.358782368906144e-7
2.3291133550561322e-7
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02552
13652
24052
34252
44352
54252

end1.0ms (0%)

Compiler

Compiled 35 to 29 computations (17.1% saved)

sample2.6s (37.1%)

Algorithm
intervals
Results
612.0ms6042×body128valid
342.0ms552×body4096valid
319.0ms639×body2048valid
196.0ms385×body1024valid
194.0ms8000×pre128true
76.0ms249×body512valid
24.0ms133×body256valid
Compiler

Compiled 285 to 238 computations (16.5% saved)

Profiling

Loading profile data...