Details

Time bar (total: 3.6s)

analyze3.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.0ms62×body1024valid
4.0ms142×body128valid
2.0ms28×body512valid
1.0msbody2048valid
1.0ms16×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify172.0ms (4.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune6.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.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))
2.8b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

rewrite17.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
15×sqrt-prod_binary64_1471
14×add-sqr-sqrt_binary64_1477 *-un-lft-identity_binary64_1455
cancel-sign-sub-inv_binary64_1421
add-cube-cbrt_binary64_1490
difference-of-squares_binary64_1424 add-log-exp_binary64_1494
distribute-lft-out--_binary64_1407 pow1_binary64_1516
distribute-lft-out_binary64_1406 sqrt-div_binary64_1472 add-cbrt-cube_binary64_1491 add-exp-log_binary64_1493
sqrt-pow1_binary64_1473 rem-sqrt-square_binary64_1468 flip-+_binary64_1429 flip--_binary64_1430 diff-log_binary64_1547 sub-neg_binary64_1448 pow1/2_binary64_1535 flip3-+_binary64_1458 flip3--_binary64_1459
Counts
2 → 40
Calls

2 calls:

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

series97.0ms (2.7%)

Counts
2 → 6
Calls

2 calls:

70.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
26.0ms
(sqrt.f64 (+.f64 x 1))

simplify62.0ms (1.7%)

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05005794

prune104.0ms (2.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New42446
Fresh000
Picked101
Done000
Total43447

Merged error: 0.1b

Counts
47 → 4
Compiler

Compiled 1376 to 1013 computations (26.4% saved)

localize6.0ms (0.2%)

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

rewrite32.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64_1455
24×sqrt-prod_binary64_1471
21×distribute-lft-out_binary64_1406
18×times-frac_binary64_1461
16×add-sqr-sqrt_binary64_1477
15×add-cube-cbrt_binary64_1490
add-exp-log_binary64_1493
associate-/r*_binary64_1399
pow1_binary64_1516 add-log-exp_binary64_1494 add-cbrt-cube_binary64_1491
flip-+_binary64_1429 associate-/l*_binary64_1400 flip3-+_binary64_1458
associate-/r/_binary64_1401 sqrt-div_binary64_1472 div-exp_binary64_1506
sqrt-pow1_binary64_1473 inv-pow_binary64_1540 rem-sqrt-square_binary64_1468 1-exp_binary64_1499 clear-num_binary64_1454 pow-flip_binary64_1529 cbrt-undiv_binary64_1489 frac-2neg_binary64_1466 pow1/2_binary64_1535 div-inv_binary64_1452 sum-log_binary64_1546 rec-exp_binary64_1505 +-commutative_binary64_1385
Counts
3 → 75
Calls

3 calls:

11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
11.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
4.0ms
(sqrt.f64 (+.f64 x 1))

series129.0ms (3.6%)

Counts
3 → 9
Calls

3 calls:

62.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
40.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
27.0ms
(sqrt.f64 (+.f64 x 1))

simplify67.0ms (1.9%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049441516
149441516

prune246.0ms (6.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New78684
Fresh213
Picked011
Done000
Total80888

Merged error: 0.0b

Counts
88 → 8
Compiler

Compiled 3858 to 2979 computations (22.8% saved)

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

rewrite70.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
110×sqrt-prod_binary64_1471
70×add-sqr-sqrt_binary64_1477
46×*-un-lft-identity_binary64_1455
40×sqrt-pow1_binary64_1473
32×sqrt-div_binary64_1472 pow1_binary64_1516
28×add-cube-cbrt_binary64_1490
20×pow1/2_binary64_1535
18×swap-sqr_binary64_1422
12×rem-sqrt-square_binary64_1468
10×associate-*r*_binary64_1395 associate-*l*_binary64_1396 add-exp-log_binary64_1493
flip-+_binary64_1429 flip3-+_binary64_1458 times-frac_binary64_1461 pow-prod-up_binary64_1525 unswap-sqr_binary64_1423
distribute-lft-out_binary64_1406 add-cbrt-cube_binary64_1491
pow-prod-down_binary64_1526 pow-sqr_binary64_1428
add-log-exp_binary64_1494 frac-times_binary64_1465 sqr-abs_binary64_1470
associate-/r*_binary64_1399 associate-/l*_binary64_1400
associate-*r/_binary64_1397 associate-/r/_binary64_1401 div-exp_binary64_1506 associate-*l/_binary64_1398
prod-exp_binary64_1504 inv-pow_binary64_1540 pow-plus_binary64_1518 1-exp_binary64_1499 clear-num_binary64_1454 pow-flip_binary64_1529 *-commutative_binary64_1386 sqrt-unprod_binary64_1475 cbrt-undiv_binary64_1489 pow2_binary64_1536 frac-2neg_binary64_1466 cbrt-unprod_binary64_1488 div-inv_binary64_1452 rec-exp_binary64_1505 rem-square-sqrt_binary64_1467
Counts
4 → 169
Calls

4 calls:

22.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
19.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)))

series184.0ms (5.1%)

Counts
4 → 12
Calls

4 calls:

65.0ms
(/.f64 1 (+.f64 (*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
46.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
42.0ms
(sqrt.f64 (sqrt.f64 (+.f64 1 x)))
30.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 1 x))) (sqrt.f64 (sqrt.f64 (+.f64 1 x))))

simplify72.0ms (2%)

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049692509
149692509

prune256.0ms (7.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1792181
Fresh066
Picked101
Done011
Total1809189

Merged error: 0.0b

Counts
189 → 9
Compiler

Compiled 4110 to 3119 computations (24.1% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

rewrite41.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_1477 *-un-lft-identity_binary64_1455
18×add-cube-cbrt_binary64_1490
13×cbrt-prod_binary64_1486
10×associate-*r*_binary64_1395 add-exp-log_binary64_1493
sqrt-prod_binary64_1471 times-frac_binary64_1461
add-cbrt-cube_binary64_1491
pow1_binary64_1516
cbrt-div_binary64_1487
flip-+_binary64_1429 add-log-exp_binary64_1494 flip3-+_binary64_1458
distribute-lft-out_binary64_1406 associate-/r*_binary64_1399 associate-/l*_binary64_1400 associate-*l*_binary64_1396 unswap-sqr_binary64_1423
associate-*r/_binary64_1397 associate-/r/_binary64_1401 sqrt-div_binary64_1472 pow1/3_binary64_1537 div-exp_binary64_1506
prod-exp_binary64_1504 inv-pow_binary64_1540 1-exp_binary64_1499 clear-num_binary64_1454 pow-flip_binary64_1529 *-commutative_binary64_1386 cbrt-undiv_binary64_1489 frac-2neg_binary64_1466 cbrt-unprod_binary64_1488 div-inv_binary64_1452 rec-exp_binary64_1505 pow-prod-down_binary64_1526
Counts
4 → 90
Calls

4 calls:

14.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
12.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
3.0ms
(cbrt.f64 (+.f64 1 x))
3.0ms
(cbrt.f64 (+.f64 1 x))

series773.0ms (21.6%)

Counts
4 → 12
Calls

4 calls:

599.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
79.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
50.0ms
(cbrt.f64 (+.f64 1 x))
44.0ms
(cbrt.f64 (+.f64 1 x))

simplify94.0ms (2.6%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
048693063
148693063

prune226.0ms (6.3%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh077
Picked101
Done011
Total1029111

Merged error: 0.0b

Counts
111 → 9
Compiler

Compiled 3935 to 3078 computations (21.8% saved)

regimes26.0ms (0.7%)

Compiler

Compiled 248 to 202 computations (18.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample856.0ms (23.9%)

Algorithm
intervals
Results
198.0ms1934×body1024valid
124.0ms4310×body128valid
85.0ms1007×body512valid
32.0ms246×body2048valid
29.0ms503×body256valid
0.0msbody128nan
Compiler

Compiled 272 to 224 computations (17.6% saved)

Profiling

Loading profile data...