Details

Time bar (total: 4.2s)

analyze355.0ms (8.4%)

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)

sample36.0ms (0.9%)

Algorithm
intervals
Results
10.0ms193×body128valid
6.0ms24×body2048valid
4.0ms13×body4096valid
4.0ms256×pre128true
2.0ms12×body1024valid
2.0ms11×body512valid
0.0msbody256valid
Compiler

Compiled 33 to 28 computations (15.2% saved)

simplify113.0ms (2.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
024923
124923

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
40.8b
Counts
2 → 1
Compiler

Compiled 30 to 24 computations (20% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 add-log-exp_binary64_458 pow1_binary64_480
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
flip3-+_binary64_422 difference-of-squares_binary64_388 pow1/2_binary64_499 flip3--_binary64_423 associate-*r/_binary64_361 flip-+_binary64_393 flip--_binary64_394
pow-prod-down_binary64_490 sub-neg_binary64_412 sum-log_binary64_510 distribute-lft-out--_binary64_371 diff-log_binary64_511 rem-sqrt-square_binary64_432 +-commutative_binary64_349
Counts
4 → 56
Calls

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

series186.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

109.0ms
(sqrt.f64 (*.f64 2 (-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)))
29.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re)
28.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
20.0ms
(+.f64 (*.f64 re re) (*.f64 im im))

simplify93.0ms (2.2%)

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049301140
149301140

prune92.0ms (2.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New60868
Fresh000
Picked101
Done000
Total61869
Error
10.2b
Counts
69 → 8
Compiler

Compiled 1489 to 665 computations (55.3% saved)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

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

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

series61.0ms (1.4%)

Counts
1 → 3
Calls

1 calls:

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

simplify65.0ms (1.5%)

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
04956255
14956255

prune22.0ms (0.5%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New15116
Fresh077
Picked011
Done000
Total15924
Error
10.2b
Counts
24 → 9
Compiler

Compiled 373 to 258 computations (30.8% saved)

localize7.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite17.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64_441
17×sqrt-prod_binary64_435
11×*-un-lft-identity_binary64_419
associate-*r*_binary64_359
add-cube-cbrt_binary64_454 pow1_binary64_480
associate-*l*_binary64_360
sqrt-div_binary64_436 unswap-sqr_binary64_387 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
pow-prod-down_binary64_490 pow1/2_binary64_499 sqrt-pow1_binary64_437
difference-of-squares_binary64_388 add-log-exp_binary64_458 flip3--_binary64_423 associate-*r/_binary64_361 distribute-lft-out--_binary64_371 flip--_binary64_394
sqrt-unprod_binary64_439 prod-exp_binary64_468 cbrt-unprod_binary64_452 *-commutative_binary64_350 rem-sqrt-square_binary64_432
Counts
2 → 51
Calls

2 calls:

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

series96.0ms (2.3%)

Counts
2 → 6
Calls

2 calls:

65.0ms
(*.f64 (sqrt.f64 2) (sqrt.f64 (-.f64 im re)))
31.0ms
(sqrt.f64 (-.f64 im re))

simplify77.0ms (1.8%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
04954838
14954838

prune57.0ms (1.4%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New56157
Fresh077
Picked101
Done011
Total57966
Error
10.2b
Counts
66 → 9
Compiler

Compiled 1009 to 610 computations (39.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.f64 im re))
0.0b
(log.f64 (sqrt.f64 (-.f64 im re)))
0.3b
(*.f64 (sqrt.f64 2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 im re)))))
3.6b
(exp.f64 (log.f64 (sqrt.f64 (-.f64 im re))))

rewrite36.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64_441
28×log-prod_binary64_505 sqrt-prod_binary64_435
23×*-un-lft-identity_binary64_419
20×exp-sum_binary64_465
15×add-cube-cbrt_binary64_454
11×associate-*r*_binary64_359 pow1_binary64_480
sqrt-div_binary64_436
unswap-sqr_binary64_387 exp-prod_binary64_471 log-pow_binary64_508 associate-*l*_binary64_360 add-cbrt-cube_binary64_455 add-exp-log_binary64_457 log-div_binary64_506
difference-of-squares_binary64_388 exp-diff_binary64_467 add-log-exp_binary64_458 flip3--_binary64_423 distribute-lft-out--_binary64_371 flip--_binary64_394
pow1/2_binary64_499 sqrt-pow1_binary64_437
associate-*r/_binary64_361
pow-prod-down_binary64_490 rem-log-exp_binary64_460 prod-exp_binary64_468 cbrt-unprod_binary64_452 *-commutative_binary64_350 rem-exp-log_binary64_459 rem-sqrt-square_binary64_432
Counts
4 → 98
Calls

4 calls:

14.0ms
(*.f64 (sqrt.f64 2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 im re)))))
6.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))

series375.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

169.0ms
(*.f64 (sqrt.f64 2) (exp.f64 (log.f64 (sqrt.f64 (-.f64 im re)))))
135.0ms
(exp.f64 (log.f64 (sqrt.f64 (-.f64 im re))))
39.0ms
(log.f64 (sqrt.f64 (-.f64 im re)))
31.0ms
(sqrt.f64 (-.f64 im re))

simplify84.0ms (2%)

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
062481612

prune98.0ms (2.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1091110
Fresh077
Picked101
Done011
Total1109119
Error
10.2b
Counts
119 → 9
Compiler

Compiled 1828 to 1016 computations (44.4% saved)

regimes664.0ms (15.8%)

Accuracy

Total 9.1b remaining (47.9%)

Threshold costs 0b (0%)

Compiler

Compiled 4826 to 3337 computations (30.9% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 13 to 10 computations (23.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
049116
149116

end0.0ms (0%)

sample1.6s (38%)

Algorithm
intervals
Results
306.0ms6074×body128valid
164.0ms644×body2048valid
156.0ms504×body4096valid
115.0ms8000×pre128true
84.0ms425×body1024valid
33.0ms234×body512valid
11.0ms119×body256valid
Compiler

Compiled 644 to 429 computations (33.4% saved)

Profiling

Loading profile data...