Details

Time bar (total: 3.1s)

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)

sample25.0ms (0.8%)

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

Compiled 31 to 28 computations (9.7% saved)

simplify175.0ms (5.6%)

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: 10.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 (/.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)))

rewrite102.0ms (3.3%)

Algorithm
rewrite-expression-head
Rules
112×*-un-lft-identity_binary64_1455
74×times-frac_binary64_1461
72×add-sqr-sqrt_binary64_1477
39×add-cube-cbrt_binary64_1490
26×cancel-sign-sub-inv_binary64_1421
18×distribute-lft-out--_binary64_1407
17×distribute-lft-out_binary64_1406
14×difference-of-squares_binary64_1424 associate-+l+_binary64_1388
12×add-exp-log_binary64_1493
11×associate-/r*_binary64_1399 add-log-exp_binary64_1494
10×div-inv_binary64_1452
add-cbrt-cube_binary64_1491
pow1_binary64_1516 associate-/l*_binary64_1400
associate-/r/_binary64_1401 div-exp_binary64_1506 difference-of-sqr-1_binary64_1425
flip--_binary64_1430 frac-add_binary64_1463 flip3--_binary64_1459
inv-pow_binary64_1540 flip-+_binary64_1429 1-exp_binary64_1499 clear-num_binary64_1454 pow-flip_binary64_1529 cbrt-undiv_binary64_1489 frac-2neg_binary64_1466 diff-log_binary64_1547 frac-sub_binary64_1464 sub-neg_binary64_1448 flip3-+_binary64_1458 sum-log_binary64_1546 rec-exp_binary64_1505
associate-+l-_binary64_1390 +-commutative_binary64_1385
Counts
4 → 161
Calls

4 calls:

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

series168.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

103.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
29.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
19.0ms
(/.f64 1 (-.f64 x 1))
17.0ms
(/.f64 1 (+.f64 x 1))

simplify78.0ms (2.5%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049112799
149112799

prune536.0ms (17.2%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1703173
Fresh000
Picked011
Done000
Total1704174

Merged error: 0.3b

Counts
174 → 4
Compiler

Compiled 9783 to 7987 computations (18.4% saved)

localize14.0ms (0.4%)

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

rewrite50.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
24×associate-*r/_binary64_1397
19×flip--_binary64_1430 flip3--_binary64_1459
16×add-sqr-sqrt_binary64_1477 frac-add_binary64_1463
13×*-un-lft-identity_binary64_1455
12×frac-times_binary64_1465
10×flip-+_binary64_1429 flip3-+_binary64_1458 associate-*l*_binary64_1396
pow1_binary64_1516 add-log-exp_binary64_1494 add-cbrt-cube_binary64_1491 add-cube-cbrt_binary64_1490 add-exp-log_binary64_1493
associate-*r*_binary64_1395
distribute-rgt-in_binary64_1405 distribute-lft-in_binary64_1404 associate-*l/_binary64_1398
cancel-sign-sub-inv_binary64_1421 sub-neg_binary64_1448
associate-+l+_binary64_1388
prod-exp_binary64_1504 difference-of-squares_binary64_1424 *-commutative_binary64_1386 cbrt-unprod_binary64_1488 pow-prod-down_binary64_1526 unswap-sqr_binary64_1423 associate-+r+_binary64_1387
distribute-lft-out_binary64_1406 distribute-lft-out--_binary64_1407 diff-log_binary64_1547 sum-log_binary64_1546 +-commutative_binary64_1385 difference-of-sqr-1_binary64_1425
Counts
4 → 102
Calls

4 calls:

13.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
11.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
7.0ms
(*.f64 x (+.f64 1 x))
4.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series114.0ms (3.7%)

Counts
4 → 12
Calls

4 calls:

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

simplify78.0ms (2.5%)

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049883216
149883216

prune198.0ms (6.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1131114
Fresh112
Picked101
Done101
Total1162118

Merged error: 0.3b

Counts
118 → 2
Compiler

Compiled 4162 to 2818 computations (32.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite32.0ms (1%)

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity_binary64_1455
21×times-frac_binary64_1461
14×add-sqr-sqrt_binary64_1477 add-cube-cbrt_binary64_1490
10×distribute-lft-out_binary64_1406 unpow3_binary64_1521 distribute-rgt-out_binary64_1408
associate-/r*_binary64_1399
add-log-exp_binary64_1494
neg-mul-1_binary64_1451 distribute-rgt-neg-in_binary64_1413 distribute-lft-neg-in_binary64_1412
add-cbrt-cube_binary64_1491 add-exp-log_binary64_1493
associate-/l*_binary64_1400
associate-/r/_binary64_1401 flip-+_binary64_1429 pow1_binary64_1516 flip3-+_binary64_1458 sum-log_binary64_1546
neg-log_binary64_1548 neg-sub0_binary64_1450 unsub-neg_binary64_1449 div-exp_binary64_1506 clear-num_binary64_1454 cbrt-undiv_binary64_1489 frac-2neg_binary64_1466 associate-+r-_binary64_1389 div-inv_binary64_1452 +-commutative_binary64_1385
Counts
2 → 63
Calls

2 calls:

16.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))
11.0ms
(+.f64 (pow.f64 x 3) (neg.f64 x))

series137.0ms (4.4%)

Counts
2 → 6
Calls

2 calls:

88.0ms
(+.f64 (pow.f64 x 3) (neg.f64 x))
49.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

simplify64.0ms (2.1%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04894964
14894964

prune174.0ms (5.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New65469
Fresh101
Picked011
Done000
Total66571

Merged error: 0b

Counts
71 → 5
Compiler

Compiled 2546 to 2050 computations (19.5% saved)

localize6.0ms (0.2%)

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

rewrite27.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
97×times-frac_binary64_1461
51×add-sqr-sqrt_binary64_1477 add-cube-cbrt_binary64_1490 *-un-lft-identity_binary64_1455
15×difference-of-sqr--1_binary64_1426
13×associate-/l*_binary64_1400
add-cbrt-cube_binary64_1491 add-exp-log_binary64_1493
div-inv_binary64_1452
associate-/r*_binary64_1399 add-log-exp_binary64_1494
div-exp_binary64_1506 cbrt-undiv_binary64_1489
associate-/r/_binary64_1401 flip-+_binary64_1429 pow1_binary64_1516 flip3-+_binary64_1458
associate-/l/_binary64_1402 clear-num_binary64_1454 frac-2neg_binary64_1466 sum-log_binary64_1546 +-commutative_binary64_1385
Counts
2 → 98
Calls

2 calls:

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

series97.0ms (3.1%)

Counts
2 → 6
Calls

2 calls:

49.0ms
(+.f64 (*.f64 x x) -1)
48.0ms
(/.f64 (/.f64 2 x) (+.f64 (*.f64 x x) -1))

simplify67.0ms (2.1%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
052352363

prune114.0ms (3.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh123
Picked011
Done011
Total1045109

Merged error: 0b

Counts
109 → 5
Compiler

Compiled 2083 to 1385 computations (33.5% saved)

regimes11.0ms (0.3%)

Compiler

Compiled 50 to 42 computations (16% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
1913

end0.0ms (0%)

sample817.0ms (26.2%)

Algorithm
intervals
Results
186.0ms1266×body1024valid
175.0ms4491×body128valid
168.0ms1479×body512valid
58.0ms764×body256valid
Compiler

Compiled 82 to 69 computations (15.9% saved)

Profiling

Loading profile data...