Details

Time bar (total: 3.7s)

analyze7.0ms (0.2%)

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)

sample25.0ms (0.7%)

Algorithm
intervals
Results
7.0ms47×body1024valid
5.0ms141×body128valid
5.0ms44×body512valid
2.0ms24×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify177.0ms (4.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
019222
119222

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 10.7b

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

rewrite89.0ms (2.4%)

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))
8.0ms
(/.f64 1 (+.f64 x 1))
6.0ms
(/.f64 1 (-.f64 x 1))

series169.0ms (4.6%)

Counts
4 → 12
Calls

4 calls:

103.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))
21.0ms
(/.f64 1 (+.f64 x 1))
19.0ms
(/.f64 1 (-.f64 x 1))

simplify80.0ms (2.2%)

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050512576

prune197.0ms (5.4%)

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 3233 to 2596 computations (19.7% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite43.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
24×associate-*r/_binary64_1369
19×flip--_binary64_1400 flip3--_binary64_1429
16×add-sqr-sqrt_binary64_1446 frac-add_binary64_1433
13×*-un-lft-identity_binary64_1425
12×frac-times_binary64_1435
10×associate-*l*_binary64_1368 flip3-+_binary64_1428 flip-+_binary64_1399
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_1370
sub-neg_binary64_1418
distribute-lft-in_binary64_1376 distribute-rgt-in_binary64_1377
unswap-sqr_binary64_1393 prod-exp_binary64_1471 cbrt-unprod_binary64_1455 associate-+l+_binary64_1360 difference-of-squares_binary64_1394 associate-+r+_binary64_1359 *-commutative_binary64_1358 pow-prod-down_binary64_1493
diff-log_binary64_1514 distribute-lft-out--_binary64_1379 difference-of-sqr-1_binary64_1395 distribute-lft-out_binary64_1378 sum-log_binary64_1513 +-commutative_binary64_1357
Counts
4 → 97
Calls

4 calls:

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

series119.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

58.0ms
(*.f64 x (+.f64 1 x))
27.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
26.0ms
(*.f64 (-.f64 x 1) (-.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)))

simplify75.0ms (2%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049973152
149973152

prune179.0ms (4.9%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1081109
Fresh112
Picked101
Done000
Total1102112

Merged error: 0.3b

Counts
112 → 2
Compiler

Compiled 3842 to 2674 computations (30.4% saved)

localize5.0ms (0.1%)

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.6%)

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:

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

series140.0ms (3.8%)

Counts
2 → 6
Calls

2 calls:

86.0ms
(-.f64 (pow.f64 x 3) x)
54.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))

simplify56.0ms (1.5%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
048941312
148941312

prune79.0ms (2.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New72476
Fresh101
Picked011
Done000
Total73578

Merged error: 0b

Counts
78 → 5
Compiler

Compiled 1151 to 841 computations (26.9% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite28.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
141×times-frac_binary64_1431
80×add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
65×add-cube-cbrt_binary64_1457
30×difference-of-squares_binary64_1394
15×difference-of-sqr-1_binary64_1395
13×associate-/l*_binary64_1372
div-inv_binary64_1422
add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
associate-/r*_binary64_1371
add-log-exp_binary64_1461
div-exp_binary64_1473 cbrt-undiv_binary64_1456
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 associate-/l/_binary64_1374
Counts
2 → 128
Calls

2 calls:

11.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))
4.0ms
(-.f64 (*.f64 x x) 1)

series105.0ms (2.9%)

Counts
2 → 6
Calls

2 calls:

55.0ms
(-.f64 (*.f64 x x) 1)
51.0ms
(/.f64 (/.f64 2 x) (-.f64 (*.f64 x x) 1))

simplify74.0ms (2%)

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
051213080

prune126.0ms (3.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1331134
Fresh123
Picked101
Done011
Total1354139

Merged error: 0b

Counts
139 → 4
Compiler

Compiled 2379 to 1575 computations (33.8% saved)

regimes174.0ms (4.7%)

Compiler

Compiled 2082 to 1730 computations (16.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01813
11813

end0.0ms (0%)

sample1.7s (45.6%)

Algorithm
intervals
Results
185.0ms1266×body1024valid
173.0ms4491×body128valid
160.0ms1479×body512valid
55.0ms764×body256valid
Compiler

Compiled 1059 to 880 computations (16.9% saved)

Profiling

Loading profile data...