Details

Time bar (total: 4.7s)

analyze105.0ms (2.3%)

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)

sample24.0ms (0.5%)

Algorithm
intervals
Results
6.0ms156×body128valid
5.0ms34×body1024valid
4.0ms39×body512valid
2.0ms27×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify14.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 26 computations (13.3% saved)

localize13.0ms (0.3%)

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

rewrite335.0ms (7.2%)

Algorithm
rewrite-expression-head
Error
7.0b
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)))
20.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
10.0ms
(/.f64 1 (-.f64 x 1))
5.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 3810 to 3089 computations (18.9% saved)

series196.0ms (4.2%)

Error
0.4b
Counts
4 → 38
Calls

4 calls:

66.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
34.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
32.0ms
(/.f64 1 (-.f64 x 1))
29.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 1412 to 1177 computations (16.6% saved)

simplify99.0ms (2.1%)

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049622999
149622999

prune232.0ms (5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1963199
Fresh000
Picked011
Done000
Total1964200
Error
0.4b
Counts
200 → 4
Compiler

Compiled 3945 to 3133 computations (20.6% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite258.0ms (5.5%)

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

16.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.3%)

Error
0.4b
Counts
4 → 24
Calls

4 calls:

69.0ms
(*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2))))
34.0ms
(+.f64 x (*.f64 x x))
24.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)

simplify109.0ms (2.3%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
049383261
149383261

prune191.0ms (4.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1391140
Fresh112
Picked101
Done101
Total1422144
Error
0.4b
Counts
144 → 2
Compiler

Compiled 4279 to 2422 computations (43.4% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.4b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite69.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0b
Rules
43×add-sqr-sqrt_binary64_1464
27×times-frac_binary64_1448 *-un-lft-identity_binary64_1442
16×difference-of-squares_binary64_1411
15×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-cbrt-cube_binary64_1478 associate-/l*_binary64_1387
associate-/r/_binary64_1388
pow1_binary64_1503 div-exp_binary64_1493 add-log-exp_binary64_1481 cbrt-undiv_binary64_1476 frac-2neg_binary64_1453 clear-num_binary64_1441 div-inv_binary64_1439 flip3--_binary64_1446 flip--_binary64_1417
Counts
1 → 53
Calls

1 calls:

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

Compiled 899 to 658 computations (26.8% saved)

series45.0ms (1%)

Error
0.4b
Counts
1 → 8
Calls

1 calls:

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

Compiled 228 to 201 computations (11.8% saved)

simplify61.0ms (1.3%)

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049611103
149611103

prune62.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New58361
Fresh101
Picked011
Done000
Total59463
Error
0b
Counts
63 → 4
Compiler

Compiled 919 to 679 computations (26.1% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

rewrite133.0ms (2.9%)

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)

series50.0ms (1.1%)

Error
0b
Counts
1 → 8
Calls

1 calls:

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

Compiled 228 to 201 computations (11.8% saved)

simplify70.0ms (1.5%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050422948

prune110.0ms (2.4%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1220122
Fresh022
Picked011
Done011
Total1224126
Error
0b
Counts
126 → 4
Compiler

Compiled 2191 to 1457 computations (33.5% saved)

regimes216.0ms (4.6%)

Accuracy

Total 0.1b remaining (95.4%)

Threshold costs 0.1b (95.4%)

Compiler

Compiled 2702 to 2249 computations (16.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample2.1s (44.7%)

Algorithm
intervals
Results
186.0ms1351×body1024valid
169.0ms4406×body128valid
160.0ms1451×body512valid
55.0ms792×body256valid
0.0msbody128invalid
Compiler

Compiled 1264 to 1050 computations (16.9% saved)

Profiling

Loading profile data...