Details

Time bar (total: 2.5s)

analyze1.0ms (0.1%)

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

Compiled 8 to 7 computations (12.5% saved)

sample32.0ms (1.3%)

Algorithm
intervals
Results
16.0ms75×body2048valid
6.0ms137×body128valid
4.0ms25×body1024valid
1.0ms12×body512valid
1.0msbody256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify170.0ms (6.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.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.1b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite6.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1446 add-log-exp_binary64_1461 *-un-lft-identity_binary64_1425
add-cube-cbrt_binary64_1457 add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460
flip--_binary64_1400 diff-log_binary64_1514 distribute-lft-out--_binary64_1379 sub-neg_binary64_1418 diff-atan_binary64_1579 difference-of-squares_binary64_1394 flip3--_binary64_1429
Counts
2 → 21
Calls

2 calls:

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

series30.0ms (1.2%)

Counts
2 → 6
Calls

2 calls:

23.0ms
(-.f64 (atan.f64 (+.f64 N 1)) (atan.f64 N))
7.0ms
(atan.f64 (+.f64 N 1))

simplify89.0ms (3.6%)

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
05609376

prune21.0ms (0.8%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New26127
Fresh000
Picked101
Done000
Total27128

Merged error: 0.5b

Counts
28 → 1
Compiler

Compiled 327 to 217 computations (33.6% saved)

localize9.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

rewrite14.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
add-cube-cbrt_binary64_1457 add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460 add-log-exp_binary64_1461
associate-*r*_binary64_1367
associate-*l*_binary64_1368
distribute-lft-in_binary64_1376 flip3-+_binary64_1428 associate-*r/_binary64_1369 distribute-rgt-in_binary64_1377 flip-+_binary64_1399 associate-+r+_binary64_1359
unswap-sqr_binary64_1393 prod-exp_binary64_1471 cbrt-unprod_binary64_1455 distribute-lft-out_binary64_1378 sum-log_binary64_1513 +-commutative_binary64_1357 *-commutative_binary64_1358 pow-prod-down_binary64_1493
Counts
3 → 43
Calls

3 calls:

7.0ms
(*.f64 N (+.f64 N 1))
4.0ms
(+.f64 1 (*.f64 N (+.f64 N 1)))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

series89.0ms (3.6%)

Counts
3 → 9
Calls

3 calls:

59.0ms
(*.f64 N (+.f64 N 1))
17.0ms
(+.f64 1 (*.f64 N (+.f64 N 1)))
13.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 N 1))))

simplify90.0ms (3.6%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
04899599
14899599

prune48.0ms (1.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New49352
Fresh000
Picked011
Done000
Total49453

Merged error: 0.5b

Counts
53 → 4
Compiler

Compiled 742 to 578 computations (22.1% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.6b
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
16.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
16.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite18.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt_binary64_1446
24×sqrt-prod_binary64_1440
21×pow1_binary64_1483
14×add-cube-cbrt_binary64_1457 *-un-lft-identity_binary64_1425
10×pow1/2_binary64_1502 sqrt-pow1_binary64_1442
swap-sqr_binary64_1392
associate-*l*_binary64_1368 associate-*r*_binary64_1367 add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
pow-prod-up_binary64_1492
unswap-sqr_binary64_1393 add-log-exp_binary64_1461
pow-sqr_binary64_1398 pow-prod-down_binary64_1493
rem-sqrt-square_binary64_1438
prod-exp_binary64_1471 pow-plus_binary64_1485 cbrt-unprod_binary64_1455 rem-square-sqrt_binary64_1437 pow2_binary64_1503 sqrt-unprod_binary64_1444 *-commutative_binary64_1358
Counts
4 → 82
Calls

4 calls:

7.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

series121.0ms (4.9%)

Counts
4 → 12
Calls

4 calls:

48.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
44.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
16.0ms
(*.f64 (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))) (sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))))
13.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

simplify64.0ms (2.6%)

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050631485

prune113.0ms (4.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New93194
Fresh112
Picked011
Done011
Total94498

Merged error: 0.5b

Counts
98 → 4
Compiler

Compiled 2009 to 1654 computations (17.7% saved)

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
0.5b
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
16.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
16.6b
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))

rewrite8.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1446
add-cube-cbrt_binary64_1457 sqrt-prod_binary64_1440 pow1_binary64_1483 *-un-lft-identity_binary64_1425
add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460 add-log-exp_binary64_1461
pow1/2_binary64_1502 sqrt-pow1_binary64_1442 rem-sqrt-square_binary64_1438
Counts
4 → 40
Calls

4 calls:

2.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
1.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

series106.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

44.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
41.0ms
(sqrt.f64 (atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N)))))
11.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))
10.0ms
(atan2.f64 1 (+.f64 1 (*.f64 N (+.f64 1 N))))

simplify58.0ms (2.3%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04937862
14937862

prune81.0ms (3.3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New51152
Fresh011
Picked011
Done022
Total51556

Merged error: 0.5b

Counts
56 → 5
Compiler

Compiled 1552 to 1313 computations (15.4% saved)

regimes40.0ms (1.6%)

Compiler

Compiled 390 to 328 computations (15.9% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01113
11113

end0.0ms (0%)

sample1.2s (50%)

Algorithm
intervals
Results
461.0ms2167×body2048valid
174.0ms4061×body128valid
152.0ms1011×body1024valid
59.0ms492×body512valid
25.0ms269×body256valid
Compiler

Compiled 214 to 182 computations (15% saved)

Profiling

Loading profile data...