Details

Time bar (total: 3.2s)

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)

sample23.0ms (0.7%)

Algorithm
intervals
Results
6.0ms42×body1024valid
6.0ms145×body128valid
4.0ms37×body512valid
2.0ms32×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify178.0ms (5.6%)

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

Merged error: 10.8b

Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

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

rewrite103.0ms (3.2%)

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:

51.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
22.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
7.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series171.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

107.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
27.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
19.0ms
(/.f64 1 (-.f64 x 1))
17.0ms
(/.f64 1 (+.f64 x 1))

simplify75.0ms (2.4%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049112799
149112799

prune440.0ms (13.9%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1703173
Fresh000
Picked011
Done000
Total1704174

Merged error: 0.2b

Counts
174 → 4
Compiler

Compiled 8422 to 6833 computations (18.9% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

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) (neg.f64 x)))
0.2b
(-.f64 x (*.f64 (+.f64 1 x) 2))
14.5b
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

rewrite74.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
42×associate-*r/_binary64_1397
40×*-un-lft-identity_binary64_1455
32×frac-add_binary64_1463
25×flip--_binary64_1430 flip3--_binary64_1459
21×times-frac_binary64_1461
20×add-sqr-sqrt_binary64_1477 flip-+_binary64_1429 flip3-+_binary64_1458
18×associate-/l/_binary64_1402 add-cube-cbrt_binary64_1490
16×frac-times_binary64_1465
distribute-lft-out_binary64_1406
unpow3_binary64_1521 distribute-rgt-out_binary64_1408 add-log-exp_binary64_1494 add-cbrt-cube_binary64_1491 associate-*l/_binary64_1398 add-exp-log_binary64_1493
associate-/r*_binary64_1399
pow1_binary64_1516
associate-*r*_binary64_1395 distribute-rgt-in_binary64_1405 neg-mul-1_binary64_1451 distribute-rgt-neg-in_binary64_1413 associate-+l+_binary64_1388 distribute-lft-in_binary64_1404 distribute-lft-neg-in_binary64_1412
cancel-sign-sub-inv_binary64_1421 associate-/l*_binary64_1400 sub-neg_binary64_1448 associate-*l*_binary64_1396
associate-/r/_binary64_1401 associate-+r+_binary64_1387
prod-exp_binary64_1504 div-exp_binary64_1506 clear-num_binary64_1454 *-commutative_binary64_1386 cbrt-undiv_binary64_1489 frac-2neg_binary64_1466 diff-log_binary64_1547 cbrt-unprod_binary64_1488 div-inv_binary64_1452 sum-log_binary64_1546 +-commutative_binary64_1385 pow-prod-down_binary64_1526 unswap-sqr_binary64_1423
Counts
4 → 131
Calls

4 calls:

26.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
15.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
7.0ms
(*.f64 x (+.f64 1 x))
4.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series163.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

65.0ms
(*.f64 x (+.f64 1 x))
62.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
26.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
9.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify98.0ms (3.1%)

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049495492
149495492

prune318.0ms (10%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1421143
Fresh112
Picked101
Done101
Total1452147

Merged error: 0.2b

Counts
147 → 2
Compiler

Compiled 6351 to 4416 computations (30.5% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

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

series144.0ms (4.5%)

Counts
2 → 6
Calls

2 calls:

92.0ms
(+.f64 (pow.f64 x 3) (neg.f64 x))
52.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

simplify67.0ms (2.1%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04894964
14894964

prune150.0ms (4.7%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New64569
Fresh101
Picked101
Done000
Total66571

Merged error: 0b

Counts
71 → 5
Compiler

Compiled 2179 to 1744 computations (20% saved)

localize8.0ms (0.2%)

Local error

Found 1 expressions with local error:

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

rewrite20.0ms (0.6%)

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

1 calls:

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

series56.0ms (1.8%)

Counts
1 → 3
Calls

1 calls:

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

simplify67.0ms (2.1%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
053782264

prune97.0ms (3.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh044
Picked011
Done000
Total89594

Merged error: 0b

Counts
94 → 5
Compiler

Compiled 1877 to 1237 computations (34.1% saved)

regimes12.0ms (0.4%)

Compiler

Compiled 77 to 64 computations (16.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0913
1913

end0.0ms (0%)

sample833.0ms (26.3%)

Algorithm
intervals
Results
197.0ms1344×body1024valid
175.0ms4435×body128valid
157.0ms1444×body512valid
57.0ms777×body256valid
Compiler

Compiled 109 to 91 computations (16.5% saved)

Profiling

Loading profile data...