Details

Time bar (total: 3.8s)

analyze410.0ms (10.7%)

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)

sample87.0ms (2.3%)

Algorithm
intervals
Results
11.0ms190×body128valid
7.0ms23×body2048valid
5.0ms16×body4096valid
4.0ms256×pre128true
3.0ms13×body1024valid
2.0ms10×body512valid
0.0msbody256valid
Compiler

Compiled 39 to 28 computations (28.2% saved)

simplify29.0ms (0.8%)

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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 51 to 37 computations (27.5% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series73.0ms (1.9%)

Counts
3 → 56
Calls

3 calls:

46.0ms
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))
14.0ms
(-.f64 (hypot.f64 re im) re)
12.0ms
(hypot.f64 re im)

rewrite12.0ms (0.3%)

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:

6.0ms
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))
3.0ms
(-.f64 (hypot.f64 re im) re)
0.0ms
(hypot.f64 re im)

simplify83.0ms (2.2%)

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

prune87.0ms (2.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1324136
Fresh000
Picked011
Done000
Total1325137
Error
0.2b
Counts
137 → 5
Alt Table
StatusErrorProgram
32.6b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
53.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
51.8b
(*.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))))
14.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
46.4b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
Compiler

Compiled 3295 to 2162 computations (34.4% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (sqrt.f64 2) (sqrt.f64 im))

series8.0ms (0.2%)

Counts
1 → 0
Calls

1 calls:

8.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 im))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
10×sqrt-prod_binary64
associate-*r*_binary64
associate-*l*_binary64
*-un-lft-identity_binary64
Counts
1 → 33
Calls

1 calls:

5.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 im))

simplify60.0ms (1.6%)

Algorithm
egg-herbie
Rules
564×log-div_binary64
346×log-prod_binary64
337×associate-*l*_binary64
288×unswap-sqr_binary64
251×associate-*l/_binary64
Counts
33 → 32
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
044363
176357
2176357
3227357
4307357
5493357
6978357
72532357
84121357
94984357

prune22.0ms (0.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New31132
Fresh033
Picked101
Done011
Total32537
Error
0.2b
Counts
37 → 5
Alt Table
StatusErrorProgram
53.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
32.7b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))))
51.8b
(*.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))))
14.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
46.4b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
Compiler

Compiled 552 to 438 computations (20.7% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)))

series18.0ms (0.5%)

Counts
2 → 0
Calls

2 calls:

9.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)))
9.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
35×sqrt-prod_binary64
18×associate-*l*_binary64
16×rem-sqrt-square_binary64
14×pow1_binary64
Counts
2 → 72
Calls

2 calls:

9.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)))
7.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))

simplify78.0ms (2%)

Algorithm
egg-herbie
Rules
455×log-div_binary64
454×cube-div_binary64
383×associate-*l*_binary64
382×log-prod_binary64
370×cube-prod_binary64
Counts
72 → 80
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
068938
1137877
2370877
3558877
4656877
5901877
62176877
73633877
85039877

prune46.0ms (1.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New80080
Fresh033
Picked011
Done011
Total80585
Error
0.2b
Counts
85 → 5
Alt Table
StatusErrorProgram
53.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
32.7b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))))
51.8b
(*.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))))
14.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
46.4b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
Compiler

Compiled 1485 to 1255 computations (15.5% saved)

localize9.0ms (0.2%)

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.4b
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))

series37.0ms (1%)

Counts
4 → 0
Calls

4 calls:

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

rewrite28.0ms (0.7%)

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:

11.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
5.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))
4.0ms
(*.f64 (sqrt.f64 2) im)
2.0ms
(sqrt.f64 (/.f64 1 re))

simplify93.0ms (2.4%)

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

prune106.0ms (2.8%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1158123
Fresh112
Picked101
Done022
Total11711128
Error
0.1b
Counts
128 → 11
Alt Table
StatusErrorProgram
46.4b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (pow.f64 re -1/2)))
46.5b
(*.f64 1/2 (*.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 re) (cbrt.f64 re))))) (sqrt.f64 (/.f64 1 (cbrt.f64 re)))))
53.6b
(*.f64 1/2 (*.f64 (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) 3)) (sqrt.f64 (/.f64 1 re))))
32.7b
(*.f64 1/2 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im))))
46.3b
(*.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))))
14.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
46.4b
(*.f64 1/2 (*.f64 (sqrt.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))) (sqrt.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))))
46.5b
(*.f64 1/2 (*.f64 (*.f64 (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))))
46.5b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (cbrt.f64 (*.f64 (sqrt.f64 2) im)) (cbrt.f64 (*.f64 (sqrt.f64 2) im))) (cbrt.f64 (*.f64 (sqrt.f64 2) im)))) (sqrt.f64 (/.f64 1 re))))
47.3b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (exp.f64 (log.f64 (*.f64 (sqrt.f64 2) im)))) (sqrt.f64 (/.f64 1 re))))
53.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 2763 to 2340 computations (15.3% saved)

regimes1.0s (26.6%)

Accuracy

Total 7.6b remaining (98.6%)

Threshold costs 0b (0%)

Counts
102 → 2
Compiler

Compiled 14234 to 12288 computations (13.7% saved)

bsearch47.0ms (1.2%)

Steps
ItersRangePoint
10
3.7595623274743217e+24
2.9303186338222314e+37
2.352210546064473e+37
Compiler

Compiled 3 to 2 computations (33.3% saved)

simplify3.0ms (0.1%)

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)

sample1.4s (37.3%)

Algorithm
intervals
Results
358.0ms6072×body128valid
202.0ms686×body2048valid
166.0ms493×body4096valid
117.0ms8000×pre128true
92.0ms416×body1024valid
36.0ms222×body512valid
12.0ms111×body256valid
Compiler

Compiled 301 to 255 computations (15.3% saved)

Profiling

Loading profile data...