Details

Time bar (total: 3.8s)

analyze440.0ms (11.6%)

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)

sample80.0ms (2.1%)

Algorithm
intervals
Results
14.0ms200×body128valid
6.0ms20×body2048valid
5.0ms14×body4096valid
4.0ms256×pre128true
3.0ms13×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 39 to 28 computations (28.2% saved)

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

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
11.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.7b
(*.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.0b
(-.f64 (hypot.f64 re im) re)
0.2b
(sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re)))

series75.0ms (2%)

Counts
3 → 56
Calls

3 calls:

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

rewrite13.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:

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

simplify89.0ms (2.3%)

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 → 135
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02382332
16112069
220781999
344661989
450151989

prune86.0ms (2.3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1314135
Fresh000
Picked011
Done000
Total1315136
Error
0.1b
Counts
136 → 5
Alt Table
StatusErrorProgram
28.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
11.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
54.8b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (sqrt.f64 2) im) (sqrt.f64 (/.f64 1 re))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (sqrt.f64 2) (pow.f64 im 3)) (sqrt.f64 1/2)) -1/16))))
49.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 3281 to 2149 computations (34.5% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series10.0ms (0.3%)

Counts
1 → 0
Calls

1 calls:

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

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

simplify63.0ms (1.7%)

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

prune21.0ms (0.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New32032
Fresh033
Picked011
Done011
Total32537
Error
0.1b
Counts
37 → 5
Alt Table
StatusErrorProgram
28.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
11.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
54.8b
(*.f64 1/2 (fma.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (sqrt.f64 2) im) (sqrt.f64 (/.f64 1 re))) (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 re 5))) (*.f64 (/.f64 (*.f64 (sqrt.f64 2) (pow.f64 im 3)) (sqrt.f64 1/2)) -1/16))))
49.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
Compiler

Compiled 533 to 420 computations (21.2% saved)

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

series41.0ms (1.1%)

Counts
4 → 0
Calls

4 calls:

26.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
6.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im))
6.0ms
(sqrt.f64 (/.f64 1 re))
3.0ms
(*.f64 (sqrt.f64 2) im)

rewrite30.0ms (0.8%)

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:

12.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 (/.f64 1 re)))
7.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))

simplify109.0ms (2.9%)

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

prune98.0ms (2.6%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1167123
Fresh112
Picked101
Done022
Total11810128
Error
0.0b
Counts
128 → 10
Alt Table
StatusErrorProgram
51.9b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (/.f64 1 re)) (sqrt.f64 (/.f64 1 re))) (sqrt.f64 (/.f64 1 re))))))
49.2b
(*.f64 1/2 (*.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (sqrt.f64 2) im) (sqrt.f64 (/.f64 1 re)))))
28.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
11.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
49.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)))) (sqrt.f64 (/.f64 1 re))))
49.2b
(*.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))))))
49.2b
(*.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)))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
49.1b
(*.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))))
49.2b
(*.f64 1/2 (/.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 2) im)) (sqrt.f64 re)))
Compiler

Compiled 2888 to 2443 computations (15.4% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))) (sqrt.f64 (/.f64 1 re)))
0.2b
(*.f64 (sqrt.f64 (sqrt.f64 2)) im)
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))
0.6b
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im)))

series40.0ms (1.1%)

Counts
4 → 36
Calls

4 calls:

26.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))) (sqrt.f64 (/.f64 1 re)))
6.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im)))
5.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) im)
3.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))

rewrite47.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
37×sqrt-prod_binary64
34×add-cbrt-cube_binary64
34×add-exp-log_binary64
34×pow1_binary64
27×add-sqr-sqrt_binary64
Counts
4 → 120
Calls

4 calls:

15.0ms
(*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))) (sqrt.f64 (/.f64 1 re)))
10.0ms
(*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im)))
8.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))
6.0ms
(*.f64 (sqrt.f64 (sqrt.f64 2)) im)

simplify99.0ms (2.6%)

Algorithm
egg-herbie
Rules
746×associate-/l*_binary64
609×*-commutative_binary64
357×associate-/r*_binary64
331×associate-*l*_binary64
320×unswap-sqr_binary64
Counts
156 → 166
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01402349
13012120
211332120
319392120
443462120
552052120

prune120.0ms (3.2%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1642166
Fresh437
Picked101
Done022
Total1697176
Error
0b
Counts
176 → 7
Alt Table
StatusErrorProgram
28.8b
(*.f64 1/2 (*.f64 (sqrt.f64 2) (sqrt.f64 im)))
11.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
49.1b
(*.f64 1/2 (/.f64 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im))) (sqrt.f64 1)) (sqrt.f64 re)))
49.2b
(*.f64 1/2 (*.f64 (*.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)) (*.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 im)))) (sqrt.f64 (/.f64 1 re))))
49.2b
(*.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)))))
55.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
49.1b
(*.f64 1/2 (*.f64 (sqrt.f64 1/2) (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (*.f64 (sqrt.f64 (sqrt.f64 2)) im)) (sqrt.f64 (/.f64 1 re)))))
Compiler

Compiled 4302 to 3802 computations (11.6% saved)

regimes836.0ms (22.1%)

Accuracy

Total 6.2b remaining (98.2%)

Threshold costs 0b (0%)

Counts
98 → 2
Compiler

Compiled 14122 to 12323 computations (12.7% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
sub-neg_binary64
*-rgt-identity_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03163
14363
24863
35063
45163
54963

end1.0ms (0%)

Compiler

Compiled 42 to 32 computations (23.8% saved)

sample1.4s (37.2%)

Algorithm
intervals
Results
368.0ms6054×body128valid
188.0ms646×body2048valid
180.0ms524×body4096valid
112.0ms8000×pre128true
95.0ms407×body1024valid
42.0ms248×body512valid
14.0ms121×body256valid
Compiler

Compiled 193 to 157 computations (18.7% saved)

Profiling

Loading profile data...