Details

Time bar (total: 15.9s)

analyze1.4s (8.9%)

Algorithm
search
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)

sample313.0ms (2%)

Algorithm
intervals
Results
66.0ms90×body1024valid
63.0ms49×body1024nan
59.0ms53×body2048valid
25.0ms91×body128overflowed
24.0ms38×body512nan
20.0ms39×body512valid
7.0ms23×body256valid
7.0ms51×body128valid
6.0msbody1024invalid
6.0msbody512invalid
4.0msbody256invalid
3.0msbody256nan
2.0ms21×body128nan
1.0msbody128invalid
Compiler

Compiled 27 to 25 computations (7.4% saved)

simplify263.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
0481419
1481419

prune5.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.1b

Counts
2 → 1
Compiler

Compiled 26 to 22 computations (15.4% saved)

localize16.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite43.0ms (0.3%)

Algorithm
rewrite-expression-head
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 add-exp-log_binary64_457 pow1_binary64_480
distribute-lft-out--_binary64_371 add-cbrt-cube_binary64_455
div-inv_binary64_416 pow-exp_binary64_487 distribute-lft-out_binary64_370 pow-to-exp_binary64_488 pow-pow_binary64_491
sub-neg_binary64_412 flip3--_binary64_423 diff-log_binary64_511 flip--_binary64_394
Counts
3 → 85
Calls

3 calls:

12.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
9.0ms
(pow.f64 (+.f64 x 1) (/.f64 1 n))
4.0ms
(pow.f64 x (/.f64 1 n))

series532.0ms (3.3%)

Counts
3 → 9
Calls

3 calls:

279.0ms
(-.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) (pow.f64 x (/.f64 1 n)))
139.0ms
(pow.f64 (+.f64 x 1) (/.f64 1 n))
113.0ms
(pow.f64 x (/.f64 1 n))

simplify107.0ms (0.7%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (87.0ms)

IterNodesCost
048991701
148991701

prune156.0ms (1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New90494
Fresh000
Picked101
Done000
Total91495

Merged error: 22.8b

Counts
95 → 4
Compiler

Compiled 1959 to 1350 computations (31.1% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (+.f64 x 1) (/.f64 1 n))
0.0b
(pow.f64 x (/.f64 1 n))
0.0b
(pow.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) 3)
2.8b
(-.f64 (cbrt.f64 (pow.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) 3)) (pow.f64 x (/.f64 1 n)))

rewrite70.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt_binary64_441
50×unpow-prod-down_binary64_498
35×*-un-lft-identity_binary64_419
29×pow-unpow_binary64_496
27×difference-of-squares_binary64_388 add-cube-cbrt_binary64_454
24×cbrt-prod_binary64_450 sqr-pow_binary64_391
18×times-frac_binary64_425
17×cube-prod_binary64_447
add-exp-log_binary64_457
cancel-sign-sub-inv_binary64_385
add-log-exp_binary64_458 pow-exp_binary64_487 pow1_binary64_480
add-cbrt-cube_binary64_455
pow-to-exp_binary64_488
distribute-lft-out_binary64_370 pow-pow_binary64_491
div-inv_binary64_416
sub-neg_binary64_412 unpow3_binary64_485 cube-mult_binary64_449 rem-cube-cbrt_binary64_442 flip3--_binary64_423 distribute-lft-out--_binary64_371 diff-log_binary64_511 flip--_binary64_394
Counts
4 → 136
Calls

4 calls:

25.0ms
(-.f64 (cbrt.f64 (pow.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) 3)) (pow.f64 x (/.f64 1 n)))
12.0ms
(pow.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) 3)
11.0ms
(pow.f64 (+.f64 x 1) (/.f64 1 n))
7.0ms
(pow.f64 x (/.f64 1 n))

series1.1s (6.8%)

Counts
4 → 12
Calls

4 calls:

472.0ms
(pow.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) 3)
312.0ms
(-.f64 (cbrt.f64 (pow.f64 (pow.f64 (+.f64 x 1) (/.f64 1 n)) 3)) (pow.f64 x (/.f64 1 n)))
149.0ms
(pow.f64 x (/.f64 1 n))
148.0ms
(pow.f64 (+.f64 x 1) (/.f64 1 n))

simplify133.0ms (0.8%)

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (86.0ms)

IterNodesCost
049413170
149413170

prune274.0ms (1.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1471148
Fresh033
Picked011
Done000
Total1475152

Merged error: 22.7b

Counts
152 → 5
Compiler

Compiled 3528 to 2577 computations (27% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.9b
(/.f64 1/2 (*.f64 x (*.f64 x n)))
1.3b
(/.f64 (log.f64 x) (*.f64 x (*.f64 n n)))
3.0b
(-.f64 (/.f64 1 (*.f64 x n)) (/.f64 1/2 (*.f64 x (*.f64 x n))))
8.6b
(*.f64 x (*.f64 n n))

rewrite51.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
27×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
16×*-un-lft-identity_binary64_419
14×add-sqr-sqrt_binary64_441
12×times-frac_binary64_425
11×add-cube-cbrt_binary64_454 pow1_binary64_480
prod-exp_binary64_468 cbrt-unprod_binary64_452
cancel-sign-sub-inv_binary64_385 associate-/l*_binary64_364
add-log-exp_binary64_458 div-exp_binary64_470 cbrt-undiv_binary64_453
div-inv_binary64_416
pow-prod-down_binary64_490 distribute-lft-out--_binary64_371 associate-*l*_binary64_360
clear-num_binary64_418 log-pow_binary64_508 frac-2neg_binary64_430 associate-/r*_binary64_363
sub-neg_binary64_412 difference-of-squares_binary64_388 associate-*r*_binary64_359 unswap-sqr_binary64_387 flip3--_binary64_423 *-commutative_binary64_350 diff-log_binary64_511 flip--_binary64_394 frac-sub_binary64_428
Counts
4 → 90
Calls

4 calls:

15.0ms
(-.f64 (/.f64 1 (*.f64 x n)) (/.f64 1/2 (*.f64 x (*.f64 x n))))
12.0ms
(*.f64 x (*.f64 n n))
8.0ms
(/.f64 (log.f64 x) (*.f64 x (*.f64 n n)))
7.0ms
(/.f64 1/2 (*.f64 x (*.f64 x n)))

series249.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

109.0ms
(/.f64 (log.f64 x) (*.f64 x (*.f64 n n)))
58.0ms
(-.f64 (/.f64 1 (*.f64 x n)) (/.f64 1/2 (*.f64 x (*.f64 x n))))
49.0ms
(*.f64 x (*.f64 n n))
33.0ms
(/.f64 1/2 (*.f64 x (*.f64 x n)))

simplify71.0ms (0.4%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049801498
149801498

prune172.0ms (1.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New966102
Fresh033
Picked101
Done011
Total9710107

Merged error: 22.3b

Counts
107 → 10
Compiler

Compiled 2903 to 1090 computations (62.5% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (/.f64 1 x) (-.f64 (/.f64 1 n) (/.f64 1/2 (*.f64 x n))))
0.5b
(/.f64 1/2 (*.f64 x n))
1.3b
(/.f64 (log.f64 x) (*.f64 x (*.f64 n n)))
8.6b
(*.f64 x (*.f64 n n))

rewrite80.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt_binary64_441
32×add-exp-log_binary64_457
28×add-cbrt-cube_binary64_455
26×*-un-lft-identity_binary64_419 times-frac_binary64_425
21×add-cube-cbrt_binary64_454
16×associate-*l*_binary64_360
14×cancel-sign-sub-inv_binary64_385
13×pow1_binary64_480
11×prod-exp_binary64_468
associate-*r*_binary64_359 cbrt-unprod_binary64_452
distribute-rgt-in_binary64_369 distribute-lft-in_binary64_368
div-exp_binary64_470 associate-/l*_binary64_364
div-inv_binary64_416 cbrt-undiv_binary64_453
pow-prod-down_binary64_490 add-log-exp_binary64_458 unswap-sqr_binary64_387
difference-of-squares_binary64_388 frac-times_binary64_429 associate-*r/_binary64_361
clear-num_binary64_418 sub-neg_binary64_412 flip3--_binary64_423 distribute-lft-out--_binary64_371 log-pow_binary64_508 *-commutative_binary64_350 frac-2neg_binary64_430 flip--_binary64_394 associate-/r*_binary64_363 frac-sub_binary64_428
associate-*l/_binary64_362 1-exp_binary64_463 rec-exp_binary64_469
Counts
4 → 127
Calls

4 calls:

22.0ms
(*.f64 (/.f64 1 x) (-.f64 (/.f64 1 n) (/.f64 1/2 (*.f64 x n))))
15.0ms
(/.f64 (log.f64 x) (*.f64 x (*.f64 n n)))
10.0ms
(*.f64 x (*.f64 n n))
8.0ms
(/.f64 1/2 (*.f64 x n))

series307.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

135.0ms
(/.f64 (log.f64 x) (*.f64 x (*.f64 n n)))
76.0ms
(*.f64 (/.f64 1 x) (-.f64 (/.f64 1 n) (/.f64 1/2 (*.f64 x n))))
60.0ms
(*.f64 x (*.f64 n n))
36.0ms
(/.f64 1/2 (*.f64 x n))

simplify69.0ms (0.4%)

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
051262087

prune210.0ms (1.3%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1336139
Fresh268
Picked101
Done011
Total13613149

Merged error: 22.2b

Counts
149 → 13
Compiler

Compiled 3616 to 1611 computations (55.4% saved)

regimes753.0ms (4.7%)

Compiler

Compiled 4145 to 2896 computations (30.1% saved)

bsearch165.0ms (1%)

Steps
ItersRangePoint
8
141.0477585752277
818178.149409701
601298.5732088129
9
-4.0357611379939435e+45
-3.388323043908295e+39
-3.4419418499706947e+39
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
075103
175103

end0.0ms (0%)

sample9.3s (58.7%)

Algorithm
intervals
Results
1.8s2710×body1024valid
1.7s1459×body1024nan
1.6s1721×body2048valid
655.0ms2606×body128overflowed
545.0ms1175×body512valid
511.0ms756×body512nan
238.0ms181×body1024invalid
235.0ms1787×body128valid
165.0ms607×body256valid
156.0ms240×body512invalid
113.0ms330×body256nan
75.0ms790×body128nan
55.0ms153×body256invalid
50.0ms242×body128invalid
10.0msbody2048nan
Compiler

Compiled 1058 to 729 computations (31.1% saved)

Profiling

Loading profile data...