Details

Time bar (total: 7.8s)

analyze678.0ms (8.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 18 to 14 computations (22.2% saved)

sample62.0ms (0.8%)

Algorithm
intervals
Results
20.0ms206×body128valid
9.0ms20×body2048valid
7.0ms256×pre128true
4.0msbody4096valid
3.0msbody1024valid
2.0msbody512valid
1.0msbody256valid
Compiler

Compiled 33 to 28 computations (15.2% saved)

simplify203.0ms (2.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
024923
124923

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 35.7b

Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize21.0ms (0.3%)

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)))
0.4b
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
26.8b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite49.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 pow1_binary64_480
add-log-exp_binary64_458 add-cube-cbrt_binary64_454 sqrt-prod_binary64_435
sqrt-div_binary64_436
add-cbrt-cube_binary64_455 add-exp-log_binary64_457 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385
difference-of-squares_binary64_388 pow1/2_binary64_499 flip3--_binary64_423 associate-*r/_binary64_361 flip--_binary64_394
flip3-+_binary64_422 pow-prod-down_binary64_490 sub-neg_binary64_412 distribute-lft-out--_binary64_371 flip-+_binary64_393 diff-log_binary64_511 rem-sqrt-square_binary64_432
Counts
3 → 45
Calls

3 calls:

18.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
16.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series291.0ms (3.7%)

Counts
3 → 9
Calls

3 calls:

199.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
47.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
44.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify137.0ms (1.8%)

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (110.0ms)

IterNodesCost
04923947
14923947

prune137.0ms (1.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New46854
Fresh000
Picked101
Done000
Total47855

Merged error: 7.2b

Counts
55 → 8
Compiler

Compiled 1205 to 540 computations (55.2% saved)

localize11.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

rewrite10.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64_480
sqrt-div_binary64_436 associate-*r/_binary64_361 sqrt-pow1_binary64_437
*-un-lft-identity_binary64_419 pow-prod-down_binary64_490 add-log-exp_binary64_458 add-cube-cbrt_binary64_454 pow1/2_binary64_499 add-sqr-sqrt_binary64_441 flip3--_binary64_423 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 flip--_binary64_394 sqrt-prod_binary64_435
Counts
1 → 13
Calls

1 calls:

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

series109.0ms (1.4%)

Counts
1 → 3
Calls

1 calls:

108.0ms
(sqrt.f64 (*.f64 2 (-.f64 im re)))

simplify102.0ms (1.3%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
04956255
14956255

prune38.0ms (0.5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New16016
Fresh077
Picked011
Done000
Total16824

Merged error: 7.2b

Counts
24 → 8
Compiler

Compiled 356 to 247 computations (30.6% saved)

localize22.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))
0.4b
(*.f64 (sqrt.f64 2) (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)
26.8b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite82.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt_binary64_441
25×sqrt-prod_binary64_435
17×*-un-lft-identity_binary64_419
11×add-cube-cbrt_binary64_454
10×pow1_binary64_480
associate-*r*_binary64_359
sqrt-div_binary64_436 difference-of-squares_binary64_388 add-log-exp_binary64_458 associate-*l*_binary64_360 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
pow1/2_binary64_499 unswap-sqr_binary64_387 sqrt-pow1_binary64_437
pow-prod-down_binary64_490 flip3--_binary64_423 distribute-lft-out--_binary64_371 flip--_binary64_394 cancel-sign-sub-inv_binary64_385
associate-*r/_binary64_361 rem-sqrt-square_binary64_432
flip3-+_binary64_422 sub-neg_binary64_412 sqrt-unprod_binary64_439 prod-exp_binary64_468 cbrt-unprod_binary64_452 *-commutative_binary64_350 flip-+_binary64_393 diff-log_binary64_511
Counts
4 → 85
Calls

4 calls:

27.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
19.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
14.0ms
(sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series419.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

193.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
134.0ms
(sqrt.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))
50.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
42.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify156.0ms (2%)

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (114.0ms)

IterNodesCost
049072012
149072012

prune173.0ms (2.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New96197
Fresh156
Picked011
Done011
Total978105

Merged error: 7.2b

Counts
105 → 8
Compiler

Compiled 2288 to 897 computations (60.8% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

9.7b
(-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) re)
26.8b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
26.8b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
26.8b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite84.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_441
sqrt-prod_binary64_435
*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
sqrt-div_binary64_436 add-log-exp_binary64_458
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
flip3-+_binary64_422 pow1/2_binary64_499 flip-+_binary64_393 sqrt-pow1_binary64_437 cancel-sign-sub-inv_binary64_385 rem-sqrt-square_binary64_432
sub-neg_binary64_412 flip3--_binary64_423 diff-log_binary64_511 flip--_binary64_394
Counts
4 → 59
Calls

4 calls:

46.0ms
(-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) re)
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
8.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

series183.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

59.0ms
(-.f64 (*.f64 (*.f64 (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) (cbrt.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))))) re)
47.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
39.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
37.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

simplify143.0ms (1.8%)

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (112.0ms)

IterNodesCost
04923940
14923940

prune147.0ms (1.9%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New70171
Fresh145
Picked011
Done022
Total71879

Merged error: 7.2b

Counts
79 → 8
Compiler

Compiled 2579 to 685 computations (73.4% saved)

regimes1.5s (19.1%)

Compiler

Compiled 4462 to 3099 computations (30.5% saved)

bsearch5.0ms (0.1%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
055143
155143

end0.0ms (0%)

sample3.0s (38.4%)

Algorithm
intervals
Results
589.0ms6091×body128valid
330.0ms565×body4096valid
289.0ms618×body2048valid
207.0ms8000×pre128true
149.0ms386×body1024valid
63.0ms231×body512valid
20.0ms109×body256valid
Compiler

Compiled 607 to 402 computations (33.8% saved)

Profiling

Loading profile data...