Details

Time bar (total: 5.9s)

analyze584.0ms (9.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0499476
1499476
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
23.4%51.5%25.1%7
24.2%50.7%25.1%8
24.6%50.3%25.1%9
36.9%25.5%37.6%10
37.2%25.3%37.6%11
37.3%25.1%37.6%12
43.5%12.7%43.8%13
43.6%12.6%43.8%14
Compiler

Compiled 29 to 21 computations (27.6% saved)

sample42.0ms (0.7%)

Algorithm
intervals
Results
27.0ms256×body128valid
3.0ms31×body128nan
Compiler

Compiled 57 to 44 computations (22.8% saved)

simplify109.0ms (1.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (104.0ms)

IterNodesCost
0574019

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 52 to 40 computations (23.1% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(+.f64 (*.f64 re re) (*.f64 im im))
0.4b
(/.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (log.f64 base))
27.1b
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))

rewrite21.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
24×times-frac_binary64_425
22×log-pow_binary64_508
21×pow1_binary64_480
17×add-sqr-sqrt_binary64_441
16×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1/2_binary64_499 sqrt-pow1_binary64_437 associate-/l*_binary64_364
add-log-exp_binary64_458 add-cbrt-cube_binary64_455 add-exp-log_binary64_457
sqrt-div_binary64_436 associate-/r*_binary64_363
flip3-+_binary64_422 flip-+_binary64_393 sqrt-prod_binary64_435
log-div_binary64_506 div-sub_binary64_424
clear-num_binary64_418 div-inv_binary64_416 sum-log_binary64_510 frac-2neg_binary64_430 rem-sqrt-square_binary64_432 +-commutative_binary64_349 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
3 → 74
Calls

3 calls:

7.0ms
(/.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (log.f64 base))
4.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
4.0ms
(+.f64 (*.f64 re re) (*.f64 im im))

series141.0ms (2.4%)

Counts
3 → 9
Calls

3 calls:

97.0ms
(/.f64 (log.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))) (log.f64 base))
24.0ms
(sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im)))
19.0ms
(+.f64 (*.f64 re re) (*.f64 im im))

simplify78.0ms (1.3%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
053131833

prune93.0ms (1.6%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New731083
Fresh011
Picked101
Done000
Total741185
Error
0.5b
Counts
85 → 11
Compiler

Compiled 1737 to 449 computations (74.2% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.3b
(/.f64 (log.f64 (neg.f64 re)) (log.f64 base))

rewrite7.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
16×times-frac_binary64_425
11×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 pow1_binary64_480
10×log-pow_binary64_508
associate-/r*_binary64_363 associate-/l*_binary64_364
add-cbrt-cube_binary64_455 add-exp-log_binary64_457
clear-num_binary64_418 add-log-exp_binary64_458 div-inv_binary64_416 frac-2neg_binary64_430 div-exp_binary64_470 cbrt-undiv_binary64_453
Counts
1 → 36
Calls

1 calls:

5.0ms
(/.f64 (log.f64 (neg.f64 re)) (log.f64 base))

series72.0ms (1.2%)

Counts
1 → 3
Calls

1 calls:

72.0ms
(/.f64 (log.f64 (neg.f64 re)) (log.f64 base))

simplify91.0ms (1.5%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
04894641
14894641

prune44.0ms (0.7%)

Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New33639
Fresh2810
Picked011
Done000
Total351550
Error
0.5b
Counts
50 → 15
Compiler

Compiled 689 to 266 computations (61.4% saved)

localize8.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.2b
(/.f64 (log.f64 base) (log.f64 (neg.f64 re)))
0.3b
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (neg.f64 re))))

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
140×times-frac_binary64_425
69×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
45×pow1_binary64_480
42×log-pow_binary64_508
24×associate-/r*_binary64_363
15×add-exp-log_binary64_457
add-cbrt-cube_binary64_455
div-exp_binary64_470
associate-/l*_binary64_364
div-inv_binary64_416
cbrt-undiv_binary64_453
clear-num_binary64_418 1-exp_binary64_463 add-log-exp_binary64_458 rec-exp_binary64_469 frac-2neg_binary64_430
inv-pow_binary64_504 associate-/r/_binary64_365 pow-flip_binary64_493
Counts
2 → 140
Calls

2 calls:

7.0ms
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (neg.f64 re))))
4.0ms
(/.f64 (log.f64 base) (log.f64 (neg.f64 re)))

series154.0ms (2.6%)

Counts
2 → 6
Calls

2 calls:

81.0ms
(/.f64 (log.f64 base) (log.f64 (neg.f64 re)))
74.0ms
(/.f64 1 (/.f64 (log.f64 base) (log.f64 (neg.f64 re))))

simplify94.0ms (1.6%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050762858

prune114.0ms (1.9%)

Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New1433146
Fresh11213
Picked011
Done011
Total14417161
Error
0.4b
Counts
161 → 17
Compiler

Compiled 2389 to 745 computations (68.8% saved)

localize9.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.3b
(/.f64 1 (log.f64 base))
0.3b
(/.f64 1 (log.f64 (neg.f64 re)))
0.3b
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 (neg.f64 re))))

rewrite67.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
688×times-frac_binary64_425
293×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441
115×pow1_binary64_480
110×log-pow_binary64_508
51×add-exp-log_binary64_457
37×div-inv_binary64_416
36×div-exp_binary64_470
24×associate-/r*_binary64_363
22×associate-/l*_binary64_364
19×add-cbrt-cube_binary64_455
10×1-exp_binary64_463 rec-exp_binary64_469 cbrt-undiv_binary64_453
clear-num_binary64_418 add-log-exp_binary64_458 frac-2neg_binary64_430
inv-pow_binary64_504 pow-flip_binary64_493
associate-/r/_binary64_365 associate-/l/_binary64_366
Counts
3 → 390
Calls

3 calls:

16.0ms
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 (neg.f64 re))))
3.0ms
(/.f64 1 (log.f64 base))
3.0ms
(/.f64 1 (log.f64 (neg.f64 re)))

series242.0ms (4.1%)

Counts
3 → 9
Calls

3 calls:

86.0ms
(/.f64 1 (log.f64 (neg.f64 re)))
84.0ms
(/.f64 (/.f64 1 (log.f64 base)) (/.f64 1 (log.f64 (neg.f64 re))))
73.0ms
(/.f64 1 (log.f64 base))

simplify147.0ms (2.5%)

Algorithm
egg-herbie
Counts
399 → 399
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049549778
149549778

prune361.0ms (6.1%)

Pruning

16 alts after pruning (15 fresh and 1 done)

PrunedKeptTotal
New3954399
Fresh31114
Picked101
Done112
Total40016416
Error
0.4b
Counts
416 → 16
Compiler

Compiled 6931 to 2895 computations (58.2% saved)

regimes1.2s (20.1%)

Accuracy

Total 7.2b remaining (95.2%)

Threshold costs 0b (0%)

Compiler

Compiled 4416 to 3231 computations (26.8% saved)

bsearch201.0ms (3.4%)

Steps
ItersRangePoint
9
143282839004747.7
8.639754932219678e+19
8.501744324228661e+19
9
4.384252261613938e-163
1.973948953727056e-154
4.4622478854915836e-163
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03149
13149
Compiler

Compiled 62 to 42 computations (32.3% saved)

end0.0ms (0%)

sample2.0s (33.8%)

Algorithm
intervals
Results
808.0ms8000×body128valid
92.0ms983×body128nan
Compiler

Compiled 930 to 678 computations (27.1% saved)

Profiling

Loading profile data...