Details

Time bar (total: 5.4s)

analyze8.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample44.0ms (0.8%)

Algorithm
intervals
Results
15.0ms63×body1024valid
9.0ms137×body128valid
7.0ms39×body512valid
2.0msbody2048valid
1.0ms10×body256valid
Compiler

Compiled 27 to 22 computations (18.5% saved)

simplify425.0ms (7.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (130.0ms)

IterNodesCost
066819
166819

prune4.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.1b

Counts
2 → 1
Compiler

Compiled 26 to 20 computations (23.1% saved)

localize12.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.0b
(/.f64 x (+.f64 x 1))
2.1b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

rewrite130.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
110×*-un-lft-identity_binary64_1425
60×times-frac_binary64_1431
57×add-sqr-sqrt_binary64_1446
25×add-cube-cbrt_binary64_1457
20×distribute-lft-out_binary64_1378
18×distribute-lft-out--_binary64_1379
14×difference-of-squares_binary64_1394
11×associate-/r*_binary64_1371
add-cbrt-cube_binary64_1458 associate-/l*_binary64_1372 add-exp-log_binary64_1460
difference-of-sqr-1_binary64_1395 add-log-exp_binary64_1461
associate-/r/_binary64_1373
pow1_binary64_1483
flip--_binary64_1400 frac-2neg_binary64_1436 flip3-+_binary64_1428 clear-num_binary64_1424 div-inv_binary64_1422 flip-+_binary64_1399 div-exp_binary64_1473 associate-/l/_binary64_1374 flip3--_binary64_1429 cbrt-undiv_binary64_1456
diff-log_binary64_1514 sub-neg_binary64_1418 frac-sub_binary64_1434
Counts
3 → 113
Calls

3 calls:

76.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
17.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
10.0ms
(/.f64 x (+.f64 x 1))

series238.0ms (4.4%)

Counts
3 → 9
Calls

3 calls:

140.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
50.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
48.0ms
(/.f64 x (+.f64 x 1))

simplify135.0ms (2.5%)

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
059402299

prune326.0ms (6%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1184122
Fresh000
Picked101
Done000
Total1194123

Merged error: 0.0b

Counts
123 → 4
Compiler

Compiled 2550 to 1821 computations (28.6% saved)

localize20.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
0.1b
(*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1))
7.2b
(-.f64 (*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
14.0b
(/.f64 x (+.f64 (*.f64 x x) -1))

rewrite137.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity_binary64_1425
64×add-sqr-sqrt_binary64_1446
53×times-frac_binary64_1431
35×add-cube-cbrt_binary64_1457
18×associate-*l*_binary64_1368
13×add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
12×difference-of-squares_binary64_1394
11×associate-/r*_binary64_1371
distribute-lft-out_binary64_1378
associate-*r*_binary64_1367 difference-of-sqr--1_binary64_1396 associate-/l*_binary64_1372
flip--_binary64_1400 distribute-lft-out--_binary64_1379 difference-of-sqr-1_binary64_1395 associate-/r/_binary64_1373 pow1_binary64_1483 flip3--_binary64_1429 add-log-exp_binary64_1461
sub-neg_binary64_1418 frac-sub_binary64_1434
associate-*r/_binary64_1369 frac-times_binary64_1435
flip3-+_binary64_1428 div-inv_binary64_1422 flip-+_binary64_1399 div-exp_binary64_1473 cbrt-undiv_binary64_1456
distribute-lft-in_binary64_1376 frac-2neg_binary64_1436 unswap-sqr_binary64_1393 prod-exp_binary64_1471 cbrt-unprod_binary64_1455 clear-num_binary64_1424 associate--l+_binary64_1364 distribute-rgt-in_binary64_1377 associate-/l/_binary64_1374 associate-*l/_binary64_1370
diff-log_binary64_1514 *-commutative_binary64_1358 pow-prod-down_binary64_1493
Counts
4 → 153
Calls

4 calls:

42.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
29.0ms
(*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1))
16.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
12.0ms
(/.f64 x (+.f64 (*.f64 x x) -1))

series432.0ms (8%)

Counts
4 → 12
Calls

4 calls:

200.0ms
(-.f64 (*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
106.0ms
(/.f64 x (+.f64 (*.f64 x x) -1))
75.0ms
(*.f64 (/.f64 x (+.f64 (*.f64 x x) -1)) (-.f64 x 1))
50.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))

simplify140.0ms (2.6%)

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
049883017
149883017

prune368.0ms (6.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1650165
Fresh033
Picked011
Done000
Total1654169

Merged error: 0.0b

Counts
169 → 4
Compiler

Compiled 4226 to 2768 computations (34.5% saved)

localize9.0ms (0.2%)

Local error

Found 1 expressions with local error:

0.0b
(*.f64 x (+.f64 x 3))

rewrite15.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
associate-*r*_binary64_1367
add-cube-cbrt_binary64_1457 associate-*l*_binary64_1368 add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-exp-log_binary64_1460
associate-*r/_binary64_1369
distribute-lft-in_binary64_1376 unswap-sqr_binary64_1393 prod-exp_binary64_1471 flip3-+_binary64_1428 cbrt-unprod_binary64_1455 distribute-lft-out_binary64_1378 distribute-rgt-in_binary64_1377 flip-+_binary64_1399 add-log-exp_binary64_1461 *-commutative_binary64_1358 pow-prod-down_binary64_1493
Counts
1 → 23
Calls

1 calls:

12.0ms
(*.f64 x (+.f64 x 3))

series109.0ms (2%)

Counts
1 → 3
Calls

1 calls:

109.0ms
(*.f64 x (+.f64 x 3))

simplify145.0ms (2.7%)

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 0 (130.0ms)

IterNodesCost
04875233
14875233

prune37.0ms (0.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New26026
Fresh022
Picked011
Done011
Total26430

Merged error: 0.0b

Counts
30 → 4
Compiler

Compiled 333 to 243 computations (27% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
0.2b
(/.f64 3 (pow.f64 x 3))
0.2b
(/.f64 -1 (*.f64 x x))
7.2b
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))

rewrite182.0ms (3.4%)

Algorithm
rewrite-expression-head
Rules
54×times-frac_binary64_1431 *-un-lft-identity_binary64_1425
39×add-sqr-sqrt_binary64_1446
35×add-cube-cbrt_binary64_1457
14×add-exp-log_binary64_1460
13×associate-/r*_binary64_1371
12×unpow-prod-down_binary64_1501 cube-prod_binary64_1450
11×add-cbrt-cube_binary64_1458 add-log-exp_binary64_1461
unpow3_binary64_1488
distribute-lft-out_binary64_1378 associate-/l*_binary64_1372
div-exp_binary64_1473
distribute-rgt-out_binary64_1380 div-inv_binary64_1422 cube-mult_binary64_1452 pow1_binary64_1483 sqr-pow_binary64_1397
frac-sub_binary64_1434 cbrt-undiv_binary64_1456
diff-log_binary64_1514 frac-2neg_binary64_1436 distribute-lft-out--_binary64_1379 flip3-+_binary64_1428 clear-num_binary64_1424 sum-log_binary64_1513 difference-of-squares_binary64_1394 flip-+_binary64_1399 frac-add_binary64_1433
flip--_binary64_1400 prod-exp_binary64_1471 pow-to-exp_binary64_1491 sub-neg_binary64_1418 cbrt-unprod_binary64_1455 pow-exp_binary64_1490 distribute-rgt1-in_binary64_1383 associate--r+_binary64_1363 +-commutative_binary64_1357 flip3--_binary64_1429
Counts
4 → 128
Calls

4 calls:

81.0ms
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))
56.0ms
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
11.0ms
(/.f64 3 (pow.f64 x 3))
9.0ms
(/.f64 -1 (*.f64 x x))

series428.0ms (7.9%)

Counts
4 → 12
Calls

4 calls:

214.0ms
(+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3)))
95.0ms
(/.f64 3 (pow.f64 x 3))
61.0ms
(-.f64 (/.f64 -1 (*.f64 x x)) (+.f64 (/.f64 3 x) (/.f64 3 (pow.f64 x 3))))
58.0ms
(/.f64 -1 (*.f64 x x))

simplify92.0ms (1.7%)

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
052292228

prune278.0ms (5.1%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1391140
Fresh011
Picked011
Done022
Total1395144

Merged error: 0.0b

Counts
144 → 5
Compiler

Compiled 2890 to 1997 computations (30.9% saved)

regimes53.0ms (1%)

Compiler

Compiled 92 to 73 computations (20.7% saved)

bsearch63.0ms (1.2%)

Steps
ItersRangePoint
10
2.8653701949221112e-05
2489540.0261881663
9177.919479012575
7
-189127.71728140858
-3348.1132572886618
-15408.542485374985
Compiler

Compiled 1 to 1 computations (0% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
09264
19264

end0.0ms (0%)

sample1.6s (28.9%)

Algorithm
intervals
Results
472.0ms1948×body1024valid
281.0ms4322×body128valid
189.0ms1038×body512valid
68.0ms221×body2048valid
64.0ms471×body256valid
Compiler

Compiled 147 to 114 computations (22.4% saved)

Profiling

Loading profile data...