Details

Time bar (total: 10.7s)

analyze408.0ms (3.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14
Compiler

Compiled 16 to 13 computations (18.8% saved)

sample39.0ms (0.4%)

Algorithm
intervals
Results
13.0ms207×body128valid
6.0ms18×body2048valid
4.0ms11×body4096valid
3.0ms13×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify108.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02323
12323

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
38.6b
Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize17.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
2.0b
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.1b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite97.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
38.4b
Rules
pow1_binary64_2526
*-un-lft-identity_binary64_2465
add-log-exp_binary64_2504 add-sqr-sqrt_binary64_2487
add-cube-cbrt_binary64_2500 sqrt-div_binary64_2482 sqrt-prod_binary64_2481
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 sqrt-pow1_binary64_2483 flip3-+_binary64_2468 flip-+_binary64_2439
pow1/2_binary64_2545 associate-*r/_binary64_2407
rem-sqrt-square_binary64_2478 sum-log_binary64_2556 distribute-lft-out_binary64_2416 +-commutative_binary64_2395 pow-prod-down_binary64_2536
Counts
3 → 40
Calls

3 calls:

9.0ms
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
7.0ms
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 1030 to 354 computations (65.6% saved)

series341.0ms (3.2%)

Error
5.6b
Counts
3 → 37
Calls

3 calls:

127.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
87.0ms
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
83.0ms
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
Compiler

Compiled 1405 to 1211 computations (13.8% saved)

simplify72.0ms (0.7%)

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
050131215

prune102.0ms (1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New71677
Fresh000
Picked101
Done000
Total72678
Error
5.3b
Counts
78 → 6
Compiler

Compiled 1431 to 739 computations (48.4% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.4b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
29.8b
(sqrt.f64 (*.f64 2 (*.f64 im im)))
30.1b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite203.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
5.3b
Rules
51×add-sqr-sqrt_binary64_2487
50×sqrt-prod_binary64_2481
38×*-un-lft-identity_binary64_2465
36×times-frac_binary64_2471
26×add-cube-cbrt_binary64_2500
12×difference-of-squares_binary64_2434
11×pow1_binary64_2526
associate-/r*_binary64_2409
add-log-exp_binary64_2504 add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 distribute-lft-out--_binary64_2417
sqrt-pow1_binary64_2483 sqrt-div_binary64_2482 associate-/l*_binary64_2410
pow-prod-down_binary64_2536 cancel-sign-sub-inv_binary64_2431
pow1/2_binary64_2545 flip3--_binary64_2469 flip--_binary64_2440 associate-/r/_binary64_2411
flip3-+_binary64_2468 flip-+_binary64_2439 rem-sqrt-square_binary64_2478 diff-log_binary64_2557 sub-neg_binary64_2458 div-exp_binary64_2516 cbrt-undiv_binary64_2499 sqrt-undiv_binary64_2486 frac-2neg_binary64_2476 clear-num_binary64_2464 div-inv_binary64_2462
Counts
4 → 108
Calls

4 calls:

15.0ms
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
11.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
8.0ms
(sqrt.f64 (*.f64 2 (*.f64 im im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 3656 to 1176 computations (67.8% saved)

series461.0ms (4.3%)

Error
1.6b
Counts
4 → 43
Calls

4 calls:

144.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
143.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
98.0ms
(/.f64 (sqrt.f64 (*.f64 2 (*.f64 im im))) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
31.0ms
(sqrt.f64 (*.f64 2 (*.f64 im im)))
Compiler

Compiled 2126 to 1656 computations (22.1% saved)

simplify106.0ms (1%)

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049474034
149474034

prune197.0ms (1.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1465151
Fresh055
Picked101
Done000
Total14710157
Error
1.6b
Counts
157 → 10
Compiler

Compiled 4281 to 1677 computations (60.8% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.4b
(*.f64 (sqrt.f64 2) (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
0.4b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.1b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite252.0ms (2.4%)

Algorithm
rewrite-expression-head
Error
1.6b
Rules
91×add-sqr-sqrt_binary64_2487
61×sqrt-prod_binary64_2481
58×*-un-lft-identity_binary64_2465 times-frac_binary64_2471
42×add-cube-cbrt_binary64_2500
33×associate-*r*_binary64_2405
16×difference-of-squares_binary64_2434
11×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
associate-/r*_binary64_2409
distribute-lft-out--_binary64_2417
pow1_binary64_2526
add-log-exp_binary64_2504 sqrt-div_binary64_2482 unswap-sqr_binary64_2433 associate-*l*_binary64_2406
associate-/r/_binary64_2411
flip3--_binary64_2469 flip--_binary64_2440 cancel-sign-sub-inv_binary64_2431 associate-/l*_binary64_2410
div-exp_binary64_2516 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 cbrt-undiv_binary64_2499 div-inv_binary64_2462
pow1/2_binary64_2545 sqrt-pow1_binary64_2483 flip3-+_binary64_2468 flip-+_binary64_2439 rem-sqrt-square_binary64_2478 diff-log_binary64_2557 sub-neg_binary64_2458 pow-prod-down_binary64_2536 associate-*r/_binary64_2407 *-commutative_binary64_2396 frac-2neg_binary64_2476 clear-num_binary64_2464
Counts
4 → 144
Calls

4 calls:

21.0ms
(*.f64 (sqrt.f64 2) (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
15.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
11.0ms
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
7.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 4875 to 1272 computations (73.9% saved)

series583.0ms (5.5%)

Error
0.1b
Counts
4 → 51
Calls

4 calls:

150.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
145.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
118.0ms
(*.f64 (sqrt.f64 2) (/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
112.0ms
(/.f64 (fabs.f64 im) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
Compiler

Compiled 2654 to 2127 computations (19.9% saved)

simplify108.0ms (1%)

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049865055
149865055

prune269.0ms (2.5%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1923195
Fresh279
Picked101
Done000
Total19510205
Error
0.1b
Counts
205 → 10
Compiler

Compiled 5470 to 1854 computations (66.1% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)) (fabs.f64 im))
0.4b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
0.6b
(/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)) (fabs.f64 im)))
30.1b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite621.0ms (5.8%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
402×times-frac_binary64_2471
305×add-sqr-sqrt_binary64_2487
275×sqrt-prod_binary64_2481
252×*-un-lft-identity_binary64_2465
200×add-cube-cbrt_binary64_2500
52×difference-of-squares_binary64_2434
34×associate-/r*_binary64_2409
26×distribute-lft-out--_binary64_2417
15×associate-/l*_binary64_2410
11×add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501
div-inv_binary64_2462
add-log-exp_binary64_2504
pow1_binary64_2526
sqrt-div_binary64_2482 div-exp_binary64_2516 cbrt-undiv_binary64_2499
cancel-sign-sub-inv_binary64_2431
frac-2neg_binary64_2476 clear-num_binary64_2464 flip3--_binary64_2469 flip--_binary64_2440 associate-/l/_binary64_2412
pow1/2_binary64_2545 sqrt-pow1_binary64_2483 flip3-+_binary64_2468 flip-+_binary64_2439 rem-sqrt-square_binary64_2478 associate-/r/_binary64_2411 diff-log_binary64_2557 sub-neg_binary64_2458
Counts
4 → 323
Calls

4 calls:

22.0ms
(/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)) (fabs.f64 im)))
11.0ms
(/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)) (fabs.f64 im))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
Compiler

Compiled 12437 to 3554 computations (71.4% saved)

series609.0ms (5.7%)

Error
0.1b
Counts
4 → 52
Calls

4 calls:

187.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
126.0ms
(/.f64 (sqrt.f64 2) (/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)) (fabs.f64 im)))
122.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
120.0ms
(/.f64 (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)) (fabs.f64 im))
Compiler

Compiled 2740 to 2199 computations (19.7% saved)

simplify195.0ms (1.8%)

Algorithm
egg-herbie
Counts
375 → 375
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
0498815671
1498815671

prune557.0ms (5.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New3741375
Fresh099
Picked011
Done000
Total37411385
Error
0.1b
Counts
385 → 11
Compiler

Compiled 12272 to 3581 computations (70.8% saved)

regimes2.2s (20.3%)

Accuracy

Total 23.6b remaining (98.5%)

Threshold costs 0b (0%)

Compiler

Compiled 13654 to 9476 computations (30.6% saved)

bsearch107.0ms (1%)

Steps
ItersRangePoint
8
9.74913098744252e-49
1.9515848507345425e-44
1.6694765103601103e-44
6
3.0921839565878166e-173
1.4175822570343806e-172
1.395509735790332e-172
10
-6.254818025880814e-284
-1.153505436316687e-299
-2.0685955733607066e-292
4
-7.32518311386275e-51
-3.795880253604541e-51
-4.986259634894712e-51
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
077128
177128

end0.0ms (0%)

sample3.0s (27.9%)

Algorithm
intervals
Results
339.0ms6094×body128valid
177.0ms652×body2048valid
176.0ms510×body4096valid
86.0ms407×body1024valid
34.0ms214×body512valid
13.0ms123×body256valid
Compiler

Compiled 1877 to 1311 computations (30.2% saved)

Profiling

Loading profile data...