Details

Time bar (total: 5.2s)

analyze109.0ms (2.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019222
119222
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 16 to 14 computations (12.5% saved)

sample25.0ms (0.5%)

Algorithm
intervals
Results
6.0ms43×body1024valid
5.0ms49×body512valid
5.0ms140×body128valid
2.0ms24×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify13.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
9.5b
Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
2.2b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite317.0ms (6.1%)

Algorithm
rewrite-expression-head
Error
9.1b
Rules
112×*-un-lft-identity_binary64_1442
74×times-frac_binary64_1448
72×add-sqr-sqrt_binary64_1464
39×add-cube-cbrt_binary64_1477
26×cancel-sign-sub-inv_binary64_1408
18×distribute-lft-out--_binary64_1394
17×distribute-lft-out_binary64_1393
14×associate-+l+_binary64_1375 difference-of-squares_binary64_1411
12×add-exp-log_binary64_1480
11×add-log-exp_binary64_1481 associate-/r*_binary64_1386
10×div-inv_binary64_1439
add-cbrt-cube_binary64_1478
pow1_binary64_1503 associate-/l*_binary64_1387
div-exp_binary64_1493 difference-of-sqr-1_binary64_1412 associate-/r/_binary64_1388
frac-add_binary64_1450 flip3--_binary64_1446 flip--_binary64_1417
diff-log_binary64_1534 sum-log_binary64_1533 frac-sub_binary64_1451 flip3-+_binary64_1445 flip-+_binary64_1416 sub-neg_binary64_1435 inv-pow_binary64_1527 pow-flip_binary64_1516 1-exp_binary64_1486 rec-exp_binary64_1492 cbrt-undiv_binary64_1476 frac-2neg_binary64_1453 clear-num_binary64_1441
associate-+l-_binary64_1377 +-commutative_binary64_1372
Counts
4 → 161
Calls

4 calls:

42.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
18.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
6.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 3810 to 3089 computations (18.9% saved)

series237.0ms (4.6%)

Error
0.6b
Counts
4 → 48
Calls

4 calls:

99.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
30.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
29.0ms
(/.f64 1 (-.f64 x 1))
29.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 1760 to 1471 computations (16.4% saved)

simplify81.0ms (1.6%)

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050603303

prune243.0ms (4.7%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New2045209
Fresh000
Picked101
Done000
Total2055210
Error
0.6b
Counts
210 → 5
Compiler

Compiled 4235 to 3360 computations (20.7% saved)

localize16.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (*.f64 x x))
0.0b
(*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2))))
0.2b
(-.f64 x (+.f64 2 (*.f64 x 2)))
17.3b
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))

rewrite260.0ms (5%)

Algorithm
rewrite-expression-head
Error
0.5b
Rules
25×cancel-sign-sub-inv_binary64_1408
23×*-un-lft-identity_binary64_1442
19×flip3-+_binary64_1445 flip-+_binary64_1416
18×add-sqr-sqrt_binary64_1464
16×add-log-exp_binary64_1481 frac-add_binary64_1450
12×frac-times_binary64_1452 distribute-rgt-in_binary64_1392 associate-+l+_binary64_1375 distribute-lft-in_binary64_1391
11×add-cube-cbrt_binary64_1477
10×flip3--_binary64_1446 flip--_binary64_1417
pow1_binary64_1503 add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 associate-*l/_binary64_1385 associate-*r/_binary64_1384 distribute-rgt1-in_binary64_1398 distribute-rgt-out_binary64_1395
sum-log_binary64_1533 sub-neg_binary64_1435 associate-*l*_binary64_1383 associate-*r*_binary64_1382
+-commutative_binary64_1372 diff-log_binary64_1534 difference-of-squares_binary64_1411 distribute-lft-out--_binary64_1394
associate-+r+_binary64_1374 associate--r+_binary64_1378 pow-prod-down_binary64_1513 prod-exp_binary64_1491 cbrt-unprod_binary64_1475 unswap-sqr_binary64_1410 difference-of-sqr--1_binary64_1413 distribute-lft-out_binary64_1393 *-commutative_binary64_1373
Counts
4 → 116
Calls

4 calls:

15.0ms
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))
12.0ms
(*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2))))
6.0ms
(-.f64 x (+.f64 2 (*.f64 x 2)))
3.0ms
(+.f64 x (*.f64 x x))
Compiler

Compiled 4880 to 2845 computations (41.7% saved)

series156.0ms (3%)

Error
0.5b
Counts
4 → 24
Calls

4 calls:

65.0ms
(*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2))))
36.0ms
(+.f64 x (*.f64 x x))
26.0ms
(-.f64 x (+.f64 2 (*.f64 x 2)))
9.0ms
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))
Compiler

Compiled 1049 to 701 computations (33.2% saved)

simplify107.0ms (2.1%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
049383261
149383261

prune188.0ms (3.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1391140
Fresh404
Picked011
Done000
Total1432145
Error
0.5b
Counts
145 → 2
Compiler

Compiled 4268 to 2412 computations (43.5% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (pow.f64 x 3) x)
0.5b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite92.0ms (1.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
52×add-sqr-sqrt_binary64_1464
32×*-un-lft-identity_binary64_1442
27×times-frac_binary64_1448
20×difference-of-squares_binary64_1411
17×add-cube-cbrt_binary64_1477
associate-/r*_binary64_1386
unpow-prod-down_binary64_1521 cube-prod_binary64_1470 sqr-pow_binary64_1414 unpow3_binary64_1508 distribute-rgt-out--_binary64_1396 distribute-lft-out--_binary64_1394
add-exp-log_binary64_1480 add-log-exp_binary64_1481 add-cbrt-cube_binary64_1478
associate-/l*_binary64_1387 cancel-sign-sub-inv_binary64_1408
pow1_binary64_1503 flip3--_binary64_1446 associate-/r/_binary64_1388 flip--_binary64_1417
div-exp_binary64_1493 cbrt-undiv_binary64_1476 frac-2neg_binary64_1453 clear-num_binary64_1441 div-inv_binary64_1439 diff-log_binary64_1534 sub-neg_binary64_1435
Counts
2 → 73
Calls

2 calls:

8.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
7.0ms
(-.f64 (pow.f64 x 3) x)
Compiler

Compiled 1183 to 851 computations (28.1% saved)

series137.0ms (2.6%)

Error
0.5b
Counts
2 → 18
Calls

2 calls:

70.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
53.0ms
(-.f64 (pow.f64 x 3) x)
Compiler

Compiled 491 to 429 computations (12.6% saved)

simplify91.0ms (1.8%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
048981482
148981482

prune82.0ms (1.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New89291
Fresh000
Picked011
Done101
Total90393
Error
0b
Counts
93 → 3
Compiler

Compiled 1261 to 924 computations (26.7% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.1b
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))

rewrite131.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
141×times-frac_binary64_1448
78×add-sqr-sqrt_binary64_1464 *-un-lft-identity_binary64_1442
64×add-cube-cbrt_binary64_1477
28×difference-of-squares_binary64_1411
14×difference-of-sqr-1_binary64_1412
13×associate-/l*_binary64_1387
div-inv_binary64_1439
add-exp-log_binary64_1480 add-cbrt-cube_binary64_1478 associate-/r*_binary64_1386
div-exp_binary64_1493 cbrt-undiv_binary64_1476
associate-/r/_binary64_1388
pow1_binary64_1503 add-log-exp_binary64_1481 frac-2neg_binary64_1453 clear-num_binary64_1441 associate-/l/_binary64_1389 flip3--_binary64_1446 flip--_binary64_1417
Counts
1 → 114
Calls

1 calls:

10.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))
Compiler

Compiled 2334 to 1536 computations (34.2% saved)

series75.0ms (1.4%)

Error
0b
Counts
1 → 12
Calls

1 calls:

64.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))
Compiler

Compiled 398 to 351 computations (11.8% saved)

simplify69.0ms (1.3%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
051663066

prune113.0ms (2.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1260126
Fresh011
Picked011
Done011
Total1263129
Error
0b
Counts
129 → 3
Compiler

Compiled 2271 to 1523 computations (32.9% saved)

regimes292.0ms (5.6%)

Accuracy

Total 0.1b remaining (93.2%)

Threshold costs 0.1b (93.2%)

Compiler

Compiled 3853 to 3175 computations (17.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample2.3s (44.9%)

Algorithm
intervals
Results
186.0ms1316×body1024valid
163.0ms4426×body128valid
156.0ms1514×body512valid
54.0ms744×body256valid
Compiler

Compiled 1856 to 1527 computations (17.7% saved)

Profiling

Loading profile data...