Details

Time bar (total: 2.8s)

analyze11.0ms (0.4%)

Algorithm
search
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.9%)

Algorithm
intervals
Results
6.0ms55×body512valid
6.0ms145×body128valid
4.0ms29×body1024valid
3.0ms27×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify167.0ms (5.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 11.7b

Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize12.0ms (0.4%)

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))
4.4b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite90.0ms (3.2%)

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity_binary64_1425
58×add-sqr-sqrt_binary64_1446
56×times-frac_binary64_1431
25×add-cube-cbrt_binary64_1457
18×distribute-lft-out--_binary64_1379
17×distribute-lft-out_binary64_1378
14×difference-of-squares_binary64_1394
12×add-exp-log_binary64_1460
11×associate-/r*_binary64_1371 add-log-exp_binary64_1461
add-cbrt-cube_binary64_1458 div-inv_binary64_1422
associate-/l*_binary64_1372 pow1_binary64_1483
difference-of-sqr-1_binary64_1395 associate-/r/_binary64_1373 div-exp_binary64_1473
flip--_binary64_1400 frac-add_binary64_1433 flip3--_binary64_1429
diff-log_binary64_1514 frac-2neg_binary64_1436 pow-flip_binary64_1496 inv-pow_binary64_1507 flip3-+_binary64_1428 sub-neg_binary64_1418 clear-num_binary64_1424 sum-log_binary64_1513 flip-+_binary64_1399 frac-sub_binary64_1434 1-exp_binary64_1466 cbrt-undiv_binary64_1456 rec-exp_binary64_1472
associate-+l+_binary64_1360 associate-+l-_binary64_1362 +-commutative_binary64_1357
Counts
4 → 135
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))
9.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series172.0ms (6%)

Counts
4 → 12
Calls

4 calls:

110.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
26.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
18.0ms
(/.f64 1 (-.f64 x 1))
17.0ms
(/.f64 1 (+.f64 x 1))

simplify84.0ms (2.9%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050512576

prune201.0ms (7.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1443147
Fresh000
Picked101
Done000
Total1453148

Merged error: 0.3b

Counts
148 → 3
Compiler

Compiled 3244 to 2604 computations (19.7% saved)

localize13.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 x (*.f64 (+.f64 1 x) 2))
0.0b
(*.f64 x (+.f64 1 x))
0.0b
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (-.f64 (pow.f64 x 3) x))
16.3b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite67.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64_1446
42×associate-*r/_binary64_1369
34×*-un-lft-identity_binary64_1425
32×frac-add_binary64_1433
27×times-frac_binary64_1431
26×flip--_binary64_1400 flip3--_binary64_1429
20×add-cube-cbrt_binary64_1457
19×flip3-+_binary64_1428 flip-+_binary64_1399
18×associate-/l/_binary64_1374
16×difference-of-squares_binary64_1394 frac-times_binary64_1435
associate-/r*_binary64_1371
add-cbrt-cube_binary64_1458 associate-*l/_binary64_1370 add-exp-log_binary64_1460 add-log-exp_binary64_1461
pow1_binary64_1483
distribute-lft-out--_binary64_1379 distribute-rgt-out--_binary64_1381 unpow-prod-down_binary64_1501 associate-*r*_binary64_1367 unpow3_binary64_1488 cube-prod_binary64_1450 sqr-pow_binary64_1397
distribute-lft-in_binary64_1376 associate-*l*_binary64_1368 sub-neg_binary64_1418 distribute-rgt-in_binary64_1377 associate-/l*_binary64_1372
associate-+l+_binary64_1360 associate-/r/_binary64_1373 associate-+r+_binary64_1359
diff-log_binary64_1514 frac-2neg_binary64_1436 unswap-sqr_binary64_1393 prod-exp_binary64_1471 cbrt-unprod_binary64_1455 clear-num_binary64_1424 distribute-lft-out_binary64_1378 div-inv_binary64_1422 sum-log_binary64_1513 div-exp_binary64_1473 +-commutative_binary64_1357 cbrt-undiv_binary64_1456 *-commutative_binary64_1358 pow-prod-down_binary64_1493
Counts
4 → 136
Calls

4 calls:

24.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (-.f64 (pow.f64 x 3) x))
12.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
6.0ms
(*.f64 x (+.f64 1 x))
3.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series147.0ms (5.2%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (-.f64 (pow.f64 x 3) x))
53.0ms
(*.f64 x (+.f64 1 x))
29.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
8.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify99.0ms (3.5%)

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
054506035

prune325.0ms (11.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1471148
Fresh112
Picked101
Done000
Total1492151

Merged error: 0.3b

Counts
151 → 2
Compiler

Compiled 6386 to 4474 computations (29.9% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite23.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt_binary64_1446
31×*-un-lft-identity_binary64_1425
27×times-frac_binary64_1431
20×difference-of-squares_binary64_1394
16×add-cube-cbrt_binary64_1457
associate-/r*_binary64_1371
distribute-lft-out--_binary64_1379 distribute-rgt-out--_binary64_1381 unpow-prod-down_binary64_1501 unpow3_binary64_1488 cube-prod_binary64_1450 sqr-pow_binary64_1397
add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460 add-log-exp_binary64_1461
associate-/l*_binary64_1372
flip--_binary64_1400 associate-/r/_binary64_1373 pow1_binary64_1483 flip3--_binary64_1429
diff-log_binary64_1514 frac-2neg_binary64_1436 sub-neg_binary64_1418 clear-num_binary64_1424 div-inv_binary64_1422 div-exp_binary64_1473 cbrt-undiv_binary64_1456
Counts
2 → 70
Calls

2 calls:

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

series133.0ms (4.7%)

Counts
2 → 6
Calls

2 calls:

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

simplify57.0ms (2%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
048941312
148941312

prune76.0ms (2.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New73376
Fresh101
Picked011
Done000
Total74478

Merged error: 0.0b

Counts
78 → 4
Compiler

Compiled 1137 to 831 computations (26.9% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite36.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt_binary64_1446
52×times-frac_binary64_1431
39×*-un-lft-identity_binary64_1425
30×add-cube-cbrt_binary64_1457
26×add-exp-log_binary64_1460
24×associate-*r*_binary64_1367
16×add-cbrt-cube_binary64_1458
14×difference-of-squares_binary64_1394
13×associate-*l*_binary64_1368
div-exp_binary64_1473
prod-exp_binary64_1471
difference-of-sqr-1_binary64_1395
associate-/r*_binary64_1371 unswap-sqr_binary64_1393
cbrt-undiv_binary64_1456
cbrt-unprod_binary64_1455 associate-/r/_binary64_1373 pow1_binary64_1483
div-inv_binary64_1422 associate-/l*_binary64_1372
flip--_binary64_1400 1-exp_binary64_1466 flip3--_binary64_1429 add-log-exp_binary64_1461 rec-exp_binary64_1472
frac-2neg_binary64_1436 clear-num_binary64_1424 associate-*r/_binary64_1369 associate-*l/_binary64_1370 *-commutative_binary64_1358 frac-times_binary64_1435 pow-prod-down_binary64_1493
Counts
2 → 108
Calls

2 calls:

19.0ms
(*.f64 (/.f64 1 x) (/.f64 2 (-.f64 (*.f64 x x) 1)))
7.0ms
(/.f64 2 (-.f64 (*.f64 x x) 1))

series94.0ms (3.3%)

Counts
2 → 6
Calls

2 calls:

58.0ms
(*.f64 (/.f64 1 x) (/.f64 2 (-.f64 (*.f64 x x) 1)))
36.0ms
(/.f64 2 (-.f64 (*.f64 x x) 1))

simplify72.0ms (2.5%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
051131864

prune107.0ms (3.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1122114
Fresh112
Picked101
Done011
Total1144118

Merged error: 0b

Counts
118 → 4
Compiler

Compiled 1894 to 1344 computations (29% saved)

regimes10.0ms (0.4%)

Compiler

Compiled 48 to 39 computations (18.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample805.0ms (28.4%)

Algorithm
intervals
Results
187.0ms1282×body1024valid
177.0ms4437×body128valid
169.0ms1480×body512valid
58.0ms801×body256valid
0.0msbody128invalid
Compiler

Compiled 80 to 66 computations (17.5% saved)

Profiling

Loading profile data...