Details

Time bar (total: 4.1s)

analyze2.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%25%25%3
50%12.5%37.5%4
50%6.2%43.8%5
50%3.1%46.9%6
50%1.6%48.5%7
50%0.8%49.2%8
50%0.4%49.6%9
50%0.2%49.8%10
50%0.1%49.9%11
50%0%50%12
50%0%50%13
50%0%50%14
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample19.0ms (0.5%)

Algorithm
intervals
Results
6.0ms64×body1024valid
4.0ms138×body128valid
2.0ms30×body512valid
1.0msbody2048valid
1.0ms15×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify175.0ms (4.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
07111
17111

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1))
3.4b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

rewrite16.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
12×sqrt-prod_binary64_1440 add-sqr-sqrt_binary64_1446 *-un-lft-identity_binary64_1425
difference-of-squares_binary64_1394 add-log-exp_binary64_1461
add-cube-cbrt_binary64_1457 distribute-lft-out--_binary64_1379 pow1_binary64_1483
sqrt-div_binary64_1441 distribute-lft-out_binary64_1378 add-cbrt-cube_binary64_1458 add-exp-log_binary64_1460
flip--_binary64_1400 diff-log_binary64_1514 flip3-+_binary64_1428 pow1/2_binary64_1502 sub-neg_binary64_1418 sqrt-pow1_binary64_1442 flip-+_binary64_1399 rem-sqrt-square_binary64_1438 flip3--_binary64_1429
Counts
2 → 34
Calls

2 calls:

10.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
4.0ms
(sqrt.f64 (+.f64 x 1))

series102.0ms (2.5%)

Counts
2 → 6
Calls

2 calls:

73.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
29.0ms
(sqrt.f64 (+.f64 x 1))

simplify90.0ms (2.2%)

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
04907747
14907747

prune48.0ms (1.2%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441

Merged error: 0.2b

Counts
41 → 4
Compiler

Compiled 662 to 443 computations (33.1% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(sqrt.f64 (+.f64 x 1))
0.0b
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
0.2b
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

rewrite30.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64_1425
24×sqrt-prod_binary64_1440
21×distribute-lft-out_binary64_1378
18×times-frac_binary64_1431
16×add-sqr-sqrt_binary64_1446
15×add-cube-cbrt_binary64_1457
add-exp-log_binary64_1460
associate-/r*_binary64_1371
add-cbrt-cube_binary64_1458 pow1_binary64_1483 add-log-exp_binary64_1461
flip3-+_binary64_1428 flip-+_binary64_1399 associate-/l*_binary64_1372
sqrt-div_binary64_1441 associate-/r/_binary64_1373 div-exp_binary64_1473
frac-2neg_binary64_1436 pow-flip_binary64_1496 inv-pow_binary64_1507 pow1/2_binary64_1502 clear-num_binary64_1424 sqrt-pow1_binary64_1442 div-inv_binary64_1422 sum-log_binary64_1513 +-commutative_binary64_1357 1-exp_binary64_1466 rem-sqrt-square_binary64_1438 cbrt-undiv_binary64_1456 rec-exp_binary64_1472
Counts
3 → 75
Calls

3 calls:

12.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
9.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

series135.0ms (3.3%)

Counts
3 → 9
Calls

3 calls:

61.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
44.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
30.0ms
(sqrt.f64 (+.f64 x 1))

simplify64.0ms (1.6%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
055451516

prune100.0ms (2.4%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New76884
Fresh213
Picked101
Done000
Total79988

Merged error: 0.0b

Counts
88 → 9
Compiler

Compiled 1528 to 1091 computations (28.6% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
0.1b
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
0.2b
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
0.3b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))

rewrite69.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod_binary64_1440
62×add-sqr-sqrt_binary64_1446
46×*-un-lft-identity_binary64_1425
40×sqrt-pow1_binary64_1442
32×sqrt-div_binary64_1441 pow1_binary64_1483
28×add-cube-cbrt_binary64_1457
20×pow1/2_binary64_1502
18×swap-sqr_binary64_1392
10×associate-*l*_binary64_1368 associate-*r*_binary64_1367 add-exp-log_binary64_1460
times-frac_binary64_1431 unswap-sqr_binary64_1393 flip3-+_binary64_1428 flip-+_binary64_1399 pow-prod-up_binary64_1492
distribute-lft-out_binary64_1378 add-cbrt-cube_binary64_1458
pow-sqr_binary64_1398 pow-prod-down_binary64_1493
rem-sqrt-square_binary64_1438 add-log-exp_binary64_1461 frac-times_binary64_1435
associate-/r*_binary64_1371 associate-/l*_binary64_1372
associate-*r/_binary64_1369 associate-/r/_binary64_1373 div-exp_binary64_1473 associate-*l/_binary64_1370
frac-2neg_binary64_1436 pow-flip_binary64_1496 inv-pow_binary64_1507 prod-exp_binary64_1471 pow-plus_binary64_1485 cbrt-unprod_binary64_1455 clear-num_binary64_1424 rem-square-sqrt_binary64_1437 pow2_binary64_1503 sqrt-unprod_binary64_1444 div-inv_binary64_1422 1-exp_binary64_1466 cbrt-undiv_binary64_1456 rec-exp_binary64_1472 *-commutative_binary64_1358
Counts
4 → 165
Calls

4 calls:

19.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
17.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))
5.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
5.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))

series179.0ms (4.4%)

Counts
4 → 12
Calls

4 calls:

63.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
43.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
41.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
31.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))

simplify84.0ms (2.1%)

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
050412482

prune212.0ms (5.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1770177
Fresh088
Picked011
Done000
Total1779186

Merged error: 0.0b

Counts
186 → 9
Compiler

Compiled 3443 to 2576 computations (25.2% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.2b
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
0.2b
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))

rewrite167.0ms (4.1%)

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity_binary64_1425
700×sqrt-prod_binary64_1440
594×times-frac_binary64_1431
280×distribute-lft-out_binary64_1378
254×add-sqr-sqrt_binary64_1446
252×add-cube-cbrt_binary64_1457
36×associate-/l*_binary64_1372
28×sqrt-div_binary64_1441
24×associate-/r/_binary64_1373
18×associate-/r*_binary64_1371
17×add-exp-log_binary64_1460
14×flip3-+_binary64_1428 flip-+_binary64_1399
12×div-inv_binary64_1422
11×add-cbrt-cube_binary64_1458
div-exp_binary64_1473 pow1_binary64_1483
cbrt-undiv_binary64_1456 add-log-exp_binary64_1461
pow-flip_binary64_1496 pow1/2_binary64_1502 sqrt-pow1_binary64_1442
frac-2neg_binary64_1436 clear-num_binary64_1424 1-exp_binary64_1466 rem-sqrt-square_binary64_1438 rec-exp_binary64_1472
inv-pow_binary64_1507 associate-/l/_binary64_1374
Counts
4 → 453
Calls

4 calls:

38.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
14.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
10.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
9.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))

series329.0ms (8%)

Counts
4 → 12
Calls

4 calls:

101.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
86.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
74.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
68.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))

simplify219.0ms (5.3%)

Algorithm
egg-herbie
Counts
465 → 465
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
0490217550
1490217550

prune1.2s (28.7%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4614465
Fresh437
Picked011
Done011
Total4659474

Merged error: 0.0b

Counts
474 → 9
Compiler

Compiled 12982 to 9495 computations (26.9% saved)

regimes28.0ms (0.7%)

Compiler

Compiled 222 to 177 computations (20.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01326
11326

end0.0ms (0%)

sample811.0ms (19.8%)

Algorithm
intervals
Results
193.0ms1971×body1024valid
128.0ms4331×body128valid
69.0ms964×body512valid
28.0ms222×body2048valid
25.0ms512×body256valid
0.0msbody128nan
Compiler

Compiled 253 to 205 computations (19% saved)

Profiling

Loading profile data...