Details

Time bar (total: 14.4s)

analyze1.5s (10.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0524238
022
122
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
25%62.4%12.6%5
25%56.2%18.8%6
28.1%50%22%7
28.1%46.8%25.1%8
29.7%41.4%29%9
29.7%39.4%30.9%10
31.1%35.8%33.1%11
31.1%34.4%34.5%12
31.5%32.9%35.6%13
31.5%32.1%36.4%14
Compiler

Compiled 14 to 12 computations (14.3% saved)

sample215.0ms (1.5%)

Algorithm
intervals
Results
42.0ms70×body1024valid
39.0ms52×body1024nan
37.0ms68×body2048valid
19.0ms108×body128overflowed
16.0ms43×body512valid
9.0ms21×body512nan
8.0msbody1024invalid
7.0msbody512invalid
5.0ms54×body128valid
5.0ms21×body256valid
2.0ms34×body128nan
2.0msbody256nan
1.0msbody256invalid
1.0msbody128invalid
Compiler

Compiled 27 to 25 computations (7.4% saved)

simplify51.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
0483119
1483119

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 26 to 22 computations (15.4% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(pow.f64 x (/.f64 1 n))
0.1b
(pow.f64 (+.f64 x 1) (/.f64 1 n))
1.7b
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))

rewrite130.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
30.4b
Rules
33×add-sqr-sqrt_binary64_441
30×*-un-lft-identity_binary64_419
26×pow-unpow_binary64_496
21×add-cube-cbrt_binary64_454
20×unpow-prod-down_binary64_498
18×times-frac_binary64_425
difference-of-squares_binary64_388 sqr-pow_binary64_391
cancel-sign-sub-inv_binary64_385
add-log-exp_binary64_458 pow1_binary64_480 add-exp-log_binary64_457
add-cbrt-cube_binary64_455 distribute-lft-out--_binary64_371
distribute-lft-out_binary64_370 div-inv_binary64_416 pow-pow_binary64_491 pow-to-exp_binary64_488 pow-exp_binary64_487
diff-log_binary64_511 flip3--_binary64_423 sub-neg_binary64_412 flip--_binary64_394
Counts
3 → 85
Calls

3 calls:

11.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
6.0ms
(pow.f64 (+.f64 x 1) (/.f64 1 n))
3.0ms
(pow.f64 x (/.f64 1 n))
Compiler

Compiled 1914 to 1374 computations (28.2% saved)

series439.0ms (3.1%)

Error
0.6b
Counts
3 → 32
Calls

3 calls:

208.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
107.0ms
(pow.f64 x (/.f64 1 n))
79.0ms
(pow.f64 (+.f64 x 1) (/.f64 1 n))
Compiler

Compiled 2161 to 1686 computations (22% saved)

simplify87.0ms (0.6%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049682196
149682196

prune134.0ms (0.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1134117
Fresh000
Picked101
Done000
Total1144118
Error
0.6b
Counts
118 → 4
Compiler

Compiled 2476 to 1698 computations (31.4% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) n)
2.6b
(log.f64 (+.f64 1 x))
3.2b
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))

rewrite119.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0.5b
Rules
44×*-un-lft-identity_binary64_419
30×add-sqr-sqrt_binary64_441
25×pow1_binary64_480
24×times-frac_binary64_425
22×log-pow_binary64_508
20×add-cube-cbrt_binary64_454 distribute-lft-out--_binary64_371
11×log-prod_binary64_505
associate-/l*_binary64_364
add-exp-log_binary64_457
add-cbrt-cube_binary64_455 difference-of-squares_binary64_388
cancel-sign-sub-inv_binary64_385 log-div_binary64_506 associate--l+_binary64_356
add-log-exp_binary64_458 associate--r+_binary64_355 associate-/r*_binary64_363
flip3--_binary64_423 flip--_binary64_394 flip3-+_binary64_422 associate--l-_binary64_357 flip-+_binary64_393 distribute-lft-out_binary64_370 associate-/l/_binary64_366
diff-log_binary64_511 sub-neg_binary64_412 rem-log-exp_binary64_460 div-exp_binary64_470 cbrt-undiv_binary64_453 frac-2neg_binary64_430 div-sub_binary64_424 clear-num_binary64_418 div-inv_binary64_416
Counts
3 → 94
Calls

3 calls:

10.0ms
(/.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) n)
8.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
3.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1606 to 980 computations (39% saved)

series325.0ms (2.3%)

Error
0.3b
Counts
3 → 32
Calls

3 calls:

211.0ms
(/.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) n)
59.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
25.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1071 to 841 computations (21.5% saved)

simplify112.0ms (0.8%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
049152200
149152200

prune121.0ms (0.8%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh033
Picked101
Done000
Total12010130
Error
0.3b
Counts
130 → 10
Compiler

Compiled 2145 to 1288 computations (40% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x)))
0.1b
(/.f64 1 (/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))))
2.6b
(log.f64 (+.f64 x 1))
3.2b
(-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))

rewrite353.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
210×times-frac_binary64_425
172×*-un-lft-identity_binary64_419
134×add-sqr-sqrt_binary64_441
100×add-cube-cbrt_binary64_454
75×pow1_binary64_480
70×log-pow_binary64_508
68×distribute-lft-out--_binary64_371
38×associate-/r*_binary64_363
18×add-exp-log_binary64_457
17×difference-of-squares_binary64_388
11×add-cbrt-cube_binary64_455 log-prod_binary64_505 associate-/r/_binary64_365
div-exp_binary64_470
flip3--_binary64_423 flip--_binary64_394 div-inv_binary64_416 associate-/l*_binary64_364
add-log-exp_binary64_458 cancel-sign-sub-inv_binary64_385 log-div_binary64_506 associate--l+_binary64_356 cbrt-undiv_binary64_453
associate--r+_binary64_355
flip3-+_binary64_422 associate--l-_binary64_357 flip-+_binary64_393 distribute-lft-out_binary64_370 1-exp_binary64_463 rec-exp_binary64_469 frac-2neg_binary64_430 clear-num_binary64_418
diff-log_binary64_511 sub-neg_binary64_412 rem-log-exp_binary64_460 inv-pow_binary64_504 pow-flip_binary64_493
Counts
4 → 237
Calls

4 calls:

12.0ms
(/.f64 1 (/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))))
8.0ms
(-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))
6.0ms
(/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x)))
3.0ms
(log.f64 (+.f64 x 1))
Compiler

Compiled 5274 to 3464 computations (34.3% saved)

series560.0ms (3.9%)

Error
0.3b
Counts
4 → 47
Calls

4 calls:

240.0ms
(/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x)))
199.0ms
(/.f64 1 (/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))))
55.0ms
(-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))
25.0ms
(log.f64 (+.f64 x 1))
Compiler

Compiled 1730 to 1321 computations (23.6% saved)

simplify113.0ms (0.8%)

Algorithm
egg-herbie
Counts
284 → 284
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049916304
149916304

prune324.0ms (2.3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New2813284
Fresh279
Picked101
Done000
Total28410294
Error
0.3b
Counts
294 → 10
Compiler

Compiled 5509 to 3431 computations (37.7% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) (/.f64 1 n))
2.6b
(log.f64 (+.f64 1 x))
3.2b
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))

rewrite115.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
28×*-un-lft-identity_binary64_419
26×add-sqr-sqrt_binary64_441
15×pow1_binary64_480 add-cube-cbrt_binary64_454
13×add-exp-log_binary64_457 associate-*r*_binary64_359
11×log-prod_binary64_505 times-frac_binary64_425
10×log-pow_binary64_508
add-cbrt-cube_binary64_455 distribute-lft-out--_binary64_371 associate-*l*_binary64_360
cancel-sign-sub-inv_binary64_385 log-div_binary64_506 associate--l+_binary64_356 prod-exp_binary64_468
add-log-exp_binary64_458 flip3--_binary64_423 flip--_binary64_394 associate--r+_binary64_355 unswap-sqr_binary64_387
difference-of-squares_binary64_388 flip3-+_binary64_422 associate--l-_binary64_357 flip-+_binary64_393 distribute-lft-out_binary64_370 div-exp_binary64_470 cbrt-unprod_binary64_452 frac-times_binary64_429 associate-*l/_binary64_362
diff-log_binary64_511 sub-neg_binary64_412 rem-log-exp_binary64_460 pow-prod-down_binary64_490 1-exp_binary64_463 rec-exp_binary64_469 cbrt-undiv_binary64_453 un-div-inv_binary64_417 associate-*r/_binary64_361 div-inv_binary64_416 *-commutative_binary64_350
Counts
3 → 89
Calls

3 calls:

12.0ms
(*.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) (/.f64 1 n))
7.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
3.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1702 to 1147 computations (32.6% saved)

series308.0ms (2.1%)

Error
0.3b
Counts
3 → 32
Calls

3 calls:

201.0ms
(*.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) (/.f64 1 n))
56.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
25.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1149 to 920 computations (19.9% saved)

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
052711941

prune99.0ms (0.7%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1210121
Fresh099
Picked011
Done000
Total12110131
Error
0.3b
Counts
131 → 10
Compiler

Compiled 1912 to 1204 computations (37% saved)

regimes952.0ms (6.6%)

Accuracy

Total 6.7b remaining (96.4%)

Threshold costs 0b (0%)

Compiler

Compiled 8246 to 6523 computations (20.9% saved)

bsearch55.0ms (0.4%)

Steps
ItersRangePoint
9
18717.624495767242
1277234282.1790814
96823.49085771796
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01931
11931

end0.0ms (0%)

sample8.2s (57%)

Algorithm
intervals
Results
1.5s2670×body1024valid
1.1s1476×body1024nan
1.0s1728×body2048valid
526.0ms2731×body128overflowed
483.0ms1258×body512valid
333.0ms737×body512nan
167.0ms1796×body128valid
166.0ms186×body1024invalid
124.0ms548×body256valid
118.0ms239×body512invalid
80.0ms333×body256nan
51.0ms838×body128nan
44.0ms156×body256invalid
34.0ms268×body128invalid
8.0msbody2048nan
Compiler

Compiled 1965 to 1550 computations (21.1% saved)

Profiling

Loading profile data...