Details

Time bar (total: 5.3s)

analyze333.0ms (6.3%)

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

Algorithm
intervals
Results
10.0ms183×body128valid
9.0ms27×body2048valid
7.0ms22×body4096valid
2.0ms11×body1024valid
2.0ms10×body512valid
0.0msbody256valid
Compiler

Compiled 31 to 27 computations (12.9% saved)

simplify195.0ms (3.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02323
12323

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 40.7b

Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite29.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_2472 pow1_binary64_2494
*-un-lft-identity_binary64_2436
add-sqr-sqrt_binary64_2457
add-cube-cbrt_binary64_2468
flip3-+_binary64_2439 flip-+_binary64_2410 add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469 sqrt-prod_binary64_2451 sqrt-div_binary64_2452
sqrt-pow1_binary64_2453
pow1/2_binary64_2513 associate-*r/_binary64_2380 sum-log_binary64_2524 +-commutative_binary64_2368
distribute-lft-out_binary64_2389 pow-prod-down_binary64_2504 rem-sqrt-square_binary64_2449
Counts
4 → 51
Calls

4 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)
5.0ms
(+.f64 (*.f64 re re) (*.f64 im im))
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series356.0ms (6.8%)

Counts
4 → 12
Calls

4 calls:

223.0ms
(sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
51.0ms
(+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
45.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
36.0ms
(+.f64 (*.f64 re re) (*.f64 im im))

simplify57.0ms (1.1%)

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
051131040

prune84.0ms (1.6%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New56763
Fresh000
Picked011
Done000
Total56864

Merged error: 18.3b

Counts
64 → 8
Compiler

Compiled 1331 to 616 computations (53.7% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
30.6b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
31.2b
(sqrt.f64 (*.f64 (*.f64 im im) 2))

rewrite48.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64_2457 sqrt-prod_binary64_2451
37×*-un-lft-identity_binary64_2436
36×times-frac_binary64_2442
25×add-cube-cbrt_binary64_2468
12×difference-of-squares_binary64_2405
11×pow1_binary64_2494
associate-/r*_binary64_2382
distribute-lft-out--_binary64_2390 add-log-exp_binary64_2472 add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469
associate-/l*_binary64_2383 sqrt-div_binary64_2452 sqrt-pow1_binary64_2453
pow-prod-down_binary64_2504
associate-/r/_binary64_2384 pow1/2_binary64_2513 flip3--_binary64_2440 flip--_binary64_2411
flip3-+_binary64_2439 cbrt-undiv_binary64_2467 flip-+_binary64_2410 div-inv_binary64_2433 diff-log_binary64_2525 div-exp_binary64_2484 sqrt-undiv_binary64_2456 clear-num_binary64_2435 rem-sqrt-square_binary64_2449 frac-2neg_binary64_2447 sub-neg_binary64_2429
Counts
4 → 105
Calls

4 calls:

15.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
5.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2))
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series330.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

177.0ms
(/.f64 (sqrt.f64 (*.f64 (*.f64 im im) 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
61.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
48.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
44.0ms
(sqrt.f64 (*.f64 (*.f64 im im) 2))

simplify108.0ms (2.1%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
049233604
149233604

prune137.0ms (2.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1116117
Fresh336
Picked101
Done101
Total1169125

Merged error: 10.3b

Counts
125 → 9
Compiler

Compiled 3647 to 1330 computations (63.5% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (fabs.f64 im) (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
0.3b
(/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
30.6b
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

rewrite85.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
156×sqrt-prod_binary64_2451
142×add-sqr-sqrt_binary64_2457
112×times-frac_binary64_2442
99×*-un-lft-identity_binary64_2436
71×add-cube-cbrt_binary64_2468
60×associate-*r*_binary64_2378
28×difference-of-squares_binary64_2405
14×distribute-lft-out--_binary64_2390
11×add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469
associate-/r*_binary64_2382
pow1_binary64_2494
associate-/l*_binary64_2383 add-log-exp_binary64_2472 sqrt-div_binary64_2452
unswap-sqr_binary64_2404
associate-/r/_binary64_2384
flip3--_binary64_2440 associate-*l*_binary64_2379 flip--_binary64_2411
prod-exp_binary64_2482 cbrt-undiv_binary64_2467 div-inv_binary64_2433 div-exp_binary64_2484 cbrt-unprod_binary64_2466
flip3-+_binary64_2439 flip-+_binary64_2410 *-commutative_binary64_2369 diff-log_binary64_2525 pow-prod-down_binary64_2504 pow1/2_binary64_2513 associate-*r/_binary64_2380 sqrt-undiv_binary64_2456 clear-num_binary64_2435 rem-sqrt-square_binary64_2449 frac-2neg_binary64_2447 sqrt-pow1_binary64_2453 sub-neg_binary64_2429
Counts
4 → 195
Calls

4 calls:

27.0ms
(*.f64 (fabs.f64 im) (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
13.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

series458.0ms (8.7%)

Counts
4 → 12
Calls

4 calls:

204.0ms
(*.f64 (fabs.f64 im) (/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
158.0ms
(/.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
52.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
43.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

simplify97.0ms (1.8%)

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049826416
149826416

prune244.0ms (4.6%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2034207
Fresh358
Picked101
Done000
Total2079216

Merged error: 2.9b

Counts
216 → 9
Compiler

Compiled 6581 to 2360 computations (64.1% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
0.3b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 im)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
0.5b
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
30.6b
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

rewrite103.0ms (2%)

Algorithm
rewrite-expression-head
Rules
308×sqrt-prod_binary64_2451
182×add-sqr-sqrt_binary64_2457
162×times-frac_binary64_2442
141×*-un-lft-identity_binary64_2436
101×add-cube-cbrt_binary64_2468
87×associate-*r*_binary64_2378
40×difference-of-squares_binary64_2405
20×distribute-lft-out--_binary64_2390
18×add-exp-log_binary64_2471 add-cbrt-cube_binary64_2469
10×pow1_binary64_2494
associate-/l*_binary64_2383 associate-/r*_binary64_2382
prod-exp_binary64_2482 add-log-exp_binary64_2472 cbrt-unprod_binary64_2466 sqrt-div_binary64_2452
associate-/r/_binary64_2384
cbrt-undiv_binary64_2467 pow-prod-down_binary64_2504 div-exp_binary64_2484 flip3--_binary64_2440 flip--_binary64_2411
div-inv_binary64_2433
flip3-+_binary64_2439 flip-+_binary64_2410 *-commutative_binary64_2369 diff-log_binary64_2525 pow1/2_binary64_2513 associate-*r/_binary64_2380 sqrt-undiv_binary64_2456 clear-num_binary64_2435 rem-sqrt-square_binary64_2449 frac-2neg_binary64_2447 associate-*l*_binary64_2379 sqrt-pow1_binary64_2453 sub-neg_binary64_2429
Counts
4 → 250
Calls

4 calls:

32.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 im)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
19.0ms
(/.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
8.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
4.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

series507.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

216.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 2)) (fabs.f64 im)) (/.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re))))
198.0ms
(/.f64 (sqrt.f64 (sqrt.f64 2)) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)))
51.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re))) re)
42.0ms
(sqrt.f64 (+.f64 (*.f64 im im) (*.f64 re re)))

simplify107.0ms (2%)

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051269216

prune406.0ms (7.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2593262
Fresh268
Picked011
Done000
Total26110271

Merged error: 2.8b

Counts
271 → 10
Compiler

Compiled 9515 to 4134 computations (56.6% saved)

regimes161.0ms (3.1%)

Compiler

Compiled 569 to 491 computations (13.7% saved)

bsearch83.0ms (1.6%)

Steps
ItersRangePoint
5
2.35752468746922e-18
5.376121288418778e-18
2.3897943661054227e-18
8
1.0024622983231318e-217
2.9117635137105902e-213
1.4495720106119306e-217
7
-1.3794740741452004e-299
-3.1837278662513398e-301
-5.543930521314922e-300
7
-5.964944280164027e+162
-6.406347006666053e+160
-6.549533459362007e+160
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
090135
190135

end0.0ms (0%)

sample1.2s (23.4%)

Algorithm
intervals
Results
300.0ms6019×body128valid
180.0ms583×body4096valid
154.0ms645×body2048valid
82.0ms413×body1024valid
35.0ms215×body512valid
12.0ms125×body256valid
Compiler

Compiled 312 to 250 computations (19.9% saved)

Profiling

Loading profile data...