Details

Time bar (total: 17.8s)

analyze1.8s (9.9%)

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)

sample285.0ms (1.6%)

Algorithm
intervals
Results
66.0ms64×body1024nan
65.0ms86×body1024valid
53.0ms70×body2048valid
24.0ms83×body128overflowed
16.0ms34×body512valid
8.0ms15×body512nan
7.0ms10×body512invalid
6.0ms20×body256valid
6.0msbody1024invalid
5.0ms46×body128valid
3.0ms10×body256nan
2.0ms23×body128nan
1.0msbody256invalid
1.0msbody128invalid
Compiler

Compiled 27 to 25 computations (7.4% saved)

simplify72.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.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.1b
Counts
2 → 1
Compiler

Compiled 26 to 22 computations (15.4% saved)

localize11.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite154.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
30.1b
Rules
24×add-sqr-sqrt_binary64_441
19×*-un-lft-identity_binary64_419
16×unpow-prod-down_binary64_498
13×pow-unpow_binary64_496
12×add-cube-cbrt_binary64_454
difference-of-squares_binary64_388 times-frac_binary64_425
sqr-pow_binary64_391
cancel-sign-sub-inv_binary64_385
add-log-exp_binary64_458
pow1_binary64_480 add-exp-log_binary64_457 distribute-lft-out--_binary64_371
add-cbrt-cube_binary64_455
diff-log_binary64_511 flip3--_binary64_423 sub-neg_binary64_412 flip--_binary64_394 distribute-lft-out_binary64_370 div-inv_binary64_416 pow-pow_binary64_491 pow-to-exp_binary64_488 pow-exp_binary64_487
Counts
2 → 57
Calls

2 calls:

21.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
7.0ms
(pow.f64 x (/.f64 1 n))
Compiler

Compiled 1342 to 963 computations (28.2% saved)

series494.0ms (2.8%)

Error
0.7b
Counts
2 → 27
Calls

2 calls:

300.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
145.0ms
(pow.f64 x (/.f64 1 n))
Compiler

Compiled 1986 to 1525 computations (23.2% saved)

simplify86.0ms (0.5%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049572031
149572031

prune142.0ms (0.8%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New78684
Fresh000
Picked101
Done000
Total79685
Error
0.7b
Counts
85 → 6
Compiler

Compiled 2068 to 1400 computations (32.3% saved)

localize15.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(/.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) n)
1.3b
(log.f64 (+.f64 1 x))
2.2b
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))

rewrite130.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0.6b
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:

11.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
9.0ms
(/.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) n)
3.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1606 to 980 computations (39% saved)

series406.0ms (2.3%)

Error
0.2b
Counts
3 → 31
Calls

3 calls:

267.0ms
(/.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) n)
75.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
31.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1022 to 793 computations (22.4% saved)

simplify144.0ms (0.8%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (108.0ms)

IterNodesCost
049112123
149112123

prune159.0ms (0.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1196125
Fresh055
Picked101
Done000
Total12011131
Error
0.1b
Counts
131 → 11
Compiler

Compiled 2126 to 1268 computations (40.4% saved)

localize11.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))))
1.3b
(log.f64 (+.f64 x 1))
2.2b
(-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))

rewrite411.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0.1b
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:

14.0ms
(/.f64 1 (/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))))
12.0ms
(/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x)))
7.0ms
(-.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)

series618.0ms (3.5%)

Error
0.1b
Counts
4 → 44
Calls

4 calls:

255.0ms
(/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x)))
218.0ms
(/.f64 1 (/.f64 n (-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))))
78.0ms
(-.f64 (log.f64 (+.f64 x 1)) (log.f64 x))
31.0ms
(log.f64 (+.f64 x 1))
Compiler

Compiled 1637 to 1247 computations (23.8% saved)

simplify122.0ms (0.7%)

Algorithm
egg-herbie
Counts
281 → 281
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049706183
149706183

prune342.0ms (1.9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2801281
Fresh1910
Picked011
Done000
Total28111292
Error
0.1b
Counts
292 → 11
Compiler

Compiled 5444 to 3377 computations (38% saved)

localize17.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))
1.3b
(log.f64 (+.f64 1 x))
2.2b
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))

rewrite137.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0.1b
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:

14.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
12.0ms
(*.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) (/.f64 1 n))
4.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1702 to 1147 computations (32.6% saved)

series397.0ms (2.2%)

Error
0.1b
Counts
3 → 31
Calls

3 calls:

273.0ms
(*.f64 (-.f64 (log.f64 (+.f64 1 x)) (log.f64 x)) (/.f64 1 n))
62.0ms
(-.f64 (log.f64 (+.f64 1 x)) (log.f64 x))
34.0ms
(log.f64 (+.f64 1 x))
Compiler

Compiled 1102 to 874 computations (20.7% saved)

simplify76.0ms (0.4%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
053281864

prune106.0ms (0.6%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh099
Picked011
Done011
Total11912131
Error
0.1b
Counts
131 → 12
Compiler

Compiled 1863 to 1163 computations (37.6% saved)

regimes1.5s (8.6%)

Accuracy

Total 6.7b remaining (95.1%)

Threshold costs 0b (0%)

Compiler

Compiled 8071 to 6369 computations (21.1% saved)

bsearch58.0ms (0.3%)

Steps
ItersRangePoint
8
0.6400884701246073
6264.291086638127
3749.2329152300117
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01931
11931

end0.0ms (0%)

sample10.1s (56.8%)

Algorithm
intervals
Results
1.9s2677×body1024valid
1.4s1483×body1024nan
1.3s1789×body2048valid
606.0ms2584×body128overflowed
551.0ms1196×body512valid
405.0ms678×body512nan
204.0ms1754×body128valid
176.0ms158×body1024invalid
172.0ms584×body256valid
161.0ms249×body512invalid
103.0ms359×body256nan
67.0ms815×body128nan
51.0ms147×body256invalid
40.0ms256×body128invalid
7.0msbody2048nan
Compiler

Compiled 1966 to 1545 computations (21.4% saved)

Profiling

Loading profile data...