Details

Time bar (total: 2.5s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample31.0ms (1.3%)

Algorithm
intervals
Results
15.0ms75×body2048valid
5.0ms133×body128valid
4.0ms28×body1024valid
1.0ms12×body512valid
1.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify107.0ms (4.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.9b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize7.0ms (0.3%)

Local error

Found 2 expressions with local error:

0.0b
(atan.f64 (+.f64 N 1))
1.6b
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
add-log-exp_binary64_1481
cancel-sign-sub-inv_binary64_1408 add-cube-cbrt_binary64_1477
add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503
sub-neg_binary64_1435 flip3--_binary64_1446 diff-atan_binary64_1599 flip--_binary64_1417 diff-log_binary64_1534 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394
Counts
2 → 24
Calls

2 calls:

4.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
1.0ms
(atan.f64 (+.f64 N 1))

series16.0ms (0.7%)

Counts
2 → 6
Calls

2 calls:

12.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
4.0ms
(atan.f64 (+.f64 N 1))

simplify68.0ms (2.8%)

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
04998391
14998391

prune22.0ms (0.9%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New29130
Fresh000
Picked101
Done000
Total30131

Merged error: 0.3b

Counts
31 → 1
Compiler

Compiled 351 to 229 computations (34.8% saved)

localize9.0ms (0.4%)

Local error

Found 2 expressions with local error:

0.0b
(*.f64 N (+.f64 N 1))
0.3b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

rewrite9.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
associate-*r*_binary64_1382 add-cbrt-cube_binary64_1478 add-exp-log_binary64_1480 pow1_binary64_1503 add-cube-cbrt_binary64_1477
associate-*l*_binary64_1383
associate-*r/_binary64_1384 add-log-exp_binary64_1481
cbrt-unprod_binary64_1475 pow-prod-down_binary64_1513 *-commutative_binary64_1373 distribute-lft-out_binary64_1393 distribute-lft-in_binary64_1391 flip3-+_binary64_1445 distribute-rgt-in_binary64_1392 flip-+_binary64_1416 prod-exp_binary64_1491 unswap-sqr_binary64_1410
Counts
2 → 30
Calls

2 calls:

6.0ms
(*.f64 N (+.f64 N 1))
0.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

series33.0ms (1.3%)

Counts
2 → 6
Calls

2 calls:

25.0ms
(*.f64 N (+.f64 N 1))
8.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

simplify71.0ms (2.9%)

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
04927383
14927383

prune38.0ms (1.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New32436
Fresh000
Picked011
Done000
Total32537

Merged error: 0.3b

Counts
37 → 5
Compiler

Compiled 557 to 437 computations (21.5% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.4b
(*.f64 (cbrt.f64 (*.f64 N (+.f64 1 N))) (cbrt.f64 (*.f64 N (+.f64 1 N))))
17.7b
(cbrt.f64 (*.f64 N (+.f64 1 N)))
17.7b
(cbrt.f64 (*.f64 N (+.f64 1 N)))
17.7b
(cbrt.f64 (*.f64 N (+.f64 1 N)))

rewrite27.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
20×associate-*r/_binary64_1384
18×cbrt-div_binary64_1474
11×pow1_binary64_1503
10×add-sqr-sqrt_binary64_1464
flip3-+_binary64_1445 flip-+_binary64_1416 pow1/3_binary64_1524
add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442
cbrt-prod_binary64_1473
add-exp-log_binary64_1480
associate-*r*_binary64_1382 add-cbrt-cube_binary64_1478 swap-sqr_binary64_1409 associate-*l*_binary64_1383 add-log-exp_binary64_1481 frac-times_binary64_1452
pow-prod-down_binary64_1513 pow-sqr_binary64_1415 pow-prod-up_binary64_1512 associate-*l/_binary64_1385
pow2_binary64_1523 cbrt-unprod_binary64_1475 pow-plus_binary64_1505 *-commutative_binary64_1373 prod-exp_binary64_1491 unswap-sqr_binary64_1410
Counts
4 → 72
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 (*.f64 N (+.f64 1 N))) (cbrt.f64 (*.f64 N (+.f64 1 N))))
4.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
4.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
4.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))

series151.0ms (6.2%)

Counts
4 → 12
Calls

4 calls:

45.0ms
(*.f64 (cbrt.f64 (*.f64 N (+.f64 1 N))) (cbrt.f64 (*.f64 N (+.f64 1 N))))
37.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
37.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
33.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))

simplify67.0ms (2.7%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049601357
149601357

prune128.0ms (5.2%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New82284
Fresh123
Picked011
Done011
Total83689

Merged error: 0.3b

Counts
89 → 6
Compiler

Compiled 2509 to 1930 computations (23.1% saved)

localize23.0ms (0.9%)

Local error

Found 4 expressions with local error:

0.9b
(pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 N (+.f64 N 1)))) 4)
17.7b
(cbrt.f64 (*.f64 N (+.f64 N 1)))
17.7b
(cbrt.f64 (*.f64 N (+.f64 N 1)))
17.7b
(cbrt.f64 (*.f64 N (+.f64 1 N)))

rewrite24.0ms (1%)

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64_1473
add-sqr-sqrt_binary64_1464 add-cube-cbrt_binary64_1477 *-un-lft-identity_binary64_1442 unpow-prod-down_binary64_1521
associate-*r/_binary64_1384 cbrt-div_binary64_1474
add-exp-log_binary64_1480 pow1_binary64_1503
add-cbrt-cube_binary64_1478 add-log-exp_binary64_1481 pow1/3_binary64_1524
pow-unpow_binary64_1519 flip3-+_binary64_1445 flip-+_binary64_1416
pow-pow_binary64_1514
pow-exp_binary64_1510 sqr-pow_binary64_1414 pow-to-exp_binary64_1511
Counts
4 → 55
Calls

4 calls:

5.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
5.0ms
(cbrt.f64 (*.f64 N (+.f64 N 1)))
5.0ms
(cbrt.f64 (*.f64 N (+.f64 N 1)))
4.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 N (+.f64 N 1)))) 4)

series238.0ms (9.7%)

Counts
4 → 12
Calls

4 calls:

129.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 (*.f64 N (+.f64 N 1)))) 4)
38.0ms
(cbrt.f64 (*.f64 N (+.f64 1 N)))
37.0ms
(cbrt.f64 (*.f64 N (+.f64 N 1)))
33.0ms
(cbrt.f64 (*.f64 N (+.f64 N 1)))

simplify50.0ms (2%)

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049021225
149021225

prune128.0ms (5.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New67067
Fresh033
Picked011
Done022
Total67673

Merged error: 0.3b

Counts
73 → 6
Compiler

Compiled 2478 to 2008 computations (19% saved)

regimes43.0ms (1.7%)

Compiler

Compiled 430 to 348 computations (19.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01013
11013

end0.0ms (0%)

sample1.1s (46.5%)

Algorithm
intervals
Results
402.0ms2100×body2048valid
163.0ms4204×body128valid
132.0ms995×body1024valid
47.0ms466×body512valid
17.0ms235×body256valid
Compiler

Compiled 234 to 191 computations (18.4% saved)

Profiling

Loading profile data...