Details

Time bar (total: 3.7s)

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

sample32.0ms (0.9%)

Algorithm
intervals
Results
9.0ms199×body128valid
4.0ms14×body4096valid
4.0ms256×pre128true
3.0ms15×body2048valid
3.0ms17×body1024valid
1.0msbody512valid
0.0msbody256valid
Compiler

Compiled 33 to 28 computations (15.2% saved)

simplify163.0ms (4.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
015623
115623

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.9b

Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite29.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_435
pow1_binary64_472
*-un-lft-identity_binary64_414
sqrt-prod_binary64_429 add-log-exp_binary64_450
sqrt-div_binary64_430 add-cube-cbrt_binary64_446
sqrt-pow1_binary64_431 add-exp-log_binary64_449 add-cbrt-cube_binary64_447
flip3--_binary64_418 difference-of-squares_binary64_383 pow1/2_binary64_491 flip--_binary64_389 associate-*r/_binary64_358
distribute-lft-out--_binary64_368 flip3-+_binary64_417 diff-log_binary64_503 pow-prod-down_binary64_482 sub-neg_binary64_407 flip-+_binary64_388 rem-sqrt-square_binary64_427
Counts
3 → 42
Calls

3 calls:

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

series325.0ms (8.7%)

Counts
3 → 9
Calls

3 calls:

212.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
61.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
52.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)

simplify55.0ms (1.5%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
05484923

prune71.0ms (1.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New43851
Fresh000
Picked101
Done000
Total44852

Merged error: 8.2b

Counts
52 → 8
Compiler

Compiled 1158 to 521 computations (55% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
pow1_binary64_472
sqrt-div_binary64_430 sqrt-pow1_binary64_431 associate-*r/_binary64_358
flip3--_binary64_418 add-cube-cbrt_binary64_446 sqrt-prod_binary64_429 pow-prod-down_binary64_482 add-exp-log_binary64_449 *-un-lft-identity_binary64_414 add-cbrt-cube_binary64_447 add-log-exp_binary64_450 pow1/2_binary64_491 flip--_binary64_389 add-sqr-sqrt_binary64_435
Counts
1 → 13
Calls

1 calls:

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

series114.0ms (3.1%)

Counts
1 → 3
Calls

1 calls:

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

simplify47.0ms (1.3%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
04965253
14965253

prune21.0ms (0.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh077
Picked011
Done000
Total15924

Merged error: 8.1b

Counts
24 → 9
Compiler

Compiled 373 to 250 computations (33% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_435
17×sqrt-prod_binary64_429
11×*-un-lft-identity_binary64_414
associate-*r*_binary64_356
pow1_binary64_472 add-cube-cbrt_binary64_446
associate-*l*_binary64_357
sqrt-div_binary64_430 add-exp-log_binary64_449 add-cbrt-cube_binary64_447 unswap-sqr_binary64_382
sqrt-pow1_binary64_431 pow-prod-down_binary64_482 pow1/2_binary64_491
flip3--_binary64_418 distribute-lft-out--_binary64_368 difference-of-squares_binary64_383 add-log-exp_binary64_450 flip--_binary64_389 associate-*r/_binary64_358
*-commutative_binary64_347 prod-exp_binary64_460 sqrt-unprod_binary64_433 cbrt-unprod_binary64_444 rem-sqrt-square_binary64_427
Counts
2 → 51
Calls

2 calls:

10.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 im re)))
4.0ms
(sqrt.f64 (-.f64 im re))

series168.0ms (4.5%)

Counts
2 → 6
Calls

2 calls:

113.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 im re)))
55.0ms
(sqrt.f64 (-.f64 im re))

simplify65.0ms (1.8%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04965838
14965838

prune55.0ms (1.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh077
Picked101
Done011
Total57966

Merged error: 8.1b

Counts
66 → 9
Compiler

Compiled 1011 to 609 computations (39.8% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(log.f64 (sqrt.f64 (-.f64 im re)))
0.0b
(sqrt.f64 (-.f64 im re))
0.4b
(*.f64 (sqrt.f64 2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 im re)))))
3.8b
(exp.f64 (log.f64 (sqrt.f64 (-.f64 im re))))

rewrite40.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64_435
28×sqrt-prod_binary64_429 log-prod_binary64_497
23×*-un-lft-identity_binary64_414
20×exp-sum_binary64_457
15×add-cube-cbrt_binary64_446
11×pow1_binary64_472 associate-*r*_binary64_356
sqrt-div_binary64_430
log-pow_binary64_500 log-div_binary64_498 add-exp-log_binary64_449 add-cbrt-cube_binary64_447 associate-*l*_binary64_357 unswap-sqr_binary64_382 exp-prod_binary64_463
flip3--_binary64_418 distribute-lft-out--_binary64_368 difference-of-squares_binary64_383 exp-diff_binary64_459 add-log-exp_binary64_450 flip--_binary64_389
sqrt-pow1_binary64_431 pow1/2_binary64_491
associate-*r/_binary64_358
rem-log-exp_binary64_452 *-commutative_binary64_347 prod-exp_binary64_460 rem-exp-log_binary64_451 pow-prod-down_binary64_482 cbrt-unprod_binary64_444 rem-sqrt-square_binary64_427
Counts
4 → 98
Calls

4 calls:

14.0ms
(*.f64 (sqrt.f64 2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 im re)))))
9.0ms
(exp.f64 (log.f64 (sqrt.f64 (-.f64 im re))))
5.0ms
(log.f64 (sqrt.f64 (-.f64 im re)))
4.0ms
(sqrt.f64 (-.f64 im re))

series632.0ms (16.9%)

Counts
4 → 12
Calls

4 calls:

293.0ms
(*.f64 (sqrt.f64 2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 im re)))))
213.0ms
(exp.f64 (log.f64 (sqrt.f64 (-.f64 im re))))
72.0ms
(log.f64 (sqrt.f64 (-.f64 im re)))
54.0ms
(sqrt.f64 (-.f64 im re))

simplify54.0ms (1.4%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
050041612

prune93.0ms (2.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh077
Picked101
Done011
Total1109119

Merged error: 8.1b

Counts
119 → 9
Compiler

Compiled 1828 to 1016 computations (44.4% saved)

regimes137.0ms (3.7%)

Compiler

Compiled 613 to 419 computations (31.6% saved)

bsearch70.0ms (1.9%)

Steps
ItersRangePoint
6
6.886385081888518e-20
3.644294487492142e-19
6.988466119870524e-20
9
-2.7260457505491215e-65
-6.681870966069836e-71
-6.747633475511543e-71
10
-3.727438662001056e+149
-5.328097567637765e+135
-9.933850798548319e+135
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063114
163114

end0.0ms (0%)

sample1.2s (31.6%)

Algorithm
intervals
Results
280.0ms6064×body128valid
145.0ms504×body4096valid
139.0ms631×body2048valid
113.0ms8000×pre128true
77.0ms440×body1024valid
32.0ms249×body512valid
10.0ms112×body256valid
Compiler

Compiled 248 to 165 computations (33.5% saved)

Profiling

Loading profile data...