Details

Time bar (total: 13.3s)

analyze167.0ms (1.3%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07111
17111
011
111
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)

sample40.0ms (0.3%)

Algorithm
intervals
Results
13.0ms68×body1024valid
7.0ms132×body128valid
6.0ms37×body512valid
2.0msbody2048valid
1.0ms13×body256valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify18.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
07111
17111

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
30.7b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize9.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite113.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
29.8b
Rules
15×sqrt-prod_binary64_2481
14×add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
cancel-sign-sub-inv_binary64_2431
add-cube-cbrt_binary64_2500
add-log-exp_binary64_2504 difference-of-squares_binary64_2434
pow1_binary64_2526 distribute-lft-out--_binary64_2417
add-exp-log_binary64_2503 add-cbrt-cube_binary64_2501 distribute-lft-out_binary64_2416 sqrt-div_binary64_2482
diff-log_binary64_2557 flip3--_binary64_2469 sub-neg_binary64_2458 flip--_binary64_2440 pow1/2_binary64_2545 sqrt-pow1_binary64_2483 flip3-+_binary64_2468 flip-+_binary64_2439 rem-sqrt-square_binary64_2478
Counts
2 → 40
Calls

2 calls:

15.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
5.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 571 to 370 computations (35.2% saved)

series92.0ms (0.7%)

Error
29.9b
Counts
2 → 9
Calls

2 calls:

51.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
27.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 245 to 193 computations (21.2% saved)

simplify66.0ms (0.5%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04932589
14932589

prune83.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New47249
Fresh000
Picked011
Done000
Total47350
Error
0.2b
Counts
50 → 3
Compiler

Compiled 565 to 370 computations (34.5% saved)

localize12.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite200.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
52×*-un-lft-identity_binary64_2465
24×sqrt-prod_binary64_2481
21×distribute-lft-out_binary64_2416
18×times-frac_binary64_2471
16×add-sqr-sqrt_binary64_2487
15×add-cube-cbrt_binary64_2500
add-exp-log_binary64_2503
associate-/r*_binary64_2409
pow1_binary64_2526 add-log-exp_binary64_2504 add-cbrt-cube_binary64_2501
flip3-+_binary64_2468 flip-+_binary64_2439 associate-/l*_binary64_2410
div-exp_binary64_2516 associate-/r/_binary64_2411 sqrt-div_binary64_2482
inv-pow_binary64_2550 pow-flip_binary64_2539 1-exp_binary64_2509 rec-exp_binary64_2515 cbrt-undiv_binary64_2499 frac-2neg_binary64_2476 clear-num_binary64_2464 div-inv_binary64_2462 sum-log_binary64_2556 +-commutative_binary64_2395 pow1/2_binary64_2545 sqrt-pow1_binary64_2483 rem-sqrt-square_binary64_2478
Counts
3 → 75
Calls

3 calls:

18.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
13.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
5.0ms
(sqrt.f64 (+.f64 1 x))
Compiler

Compiled 1268 to 926 computations (27% saved)

series91.0ms (0.7%)

Error
0.2b
Counts
3 → 12
Calls

3 calls:

29.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
26.0ms
(sqrt.f64 (+.f64 1 x))
24.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
Compiler

Compiled 268 to 232 computations (13.4% saved)

simplify158.0ms (1.2%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (129.0ms)

IterNodesCost
048591227
148591227

prune159.0ms (1.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New82587
Fresh011
Picked011
Done101
Total83790
Error
0.0b
Counts
90 → 7
Compiler

Compiled 1299 to 948 computations (27% saved)

localize18.0ms (0.1%)

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

rewrite297.0ms (2.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
24×add-sqr-sqrt_binary64_2487 *-un-lft-identity_binary64_2465
18×add-cube-cbrt_binary64_2500
13×cbrt-prod_binary64_2496
10×add-exp-log_binary64_2503 associate-*r*_binary64_2405
times-frac_binary64_2471 sqrt-prod_binary64_2481
add-cbrt-cube_binary64_2501
pow1_binary64_2526
cbrt-div_binary64_2497
add-log-exp_binary64_2504 flip3-+_binary64_2468 flip-+_binary64_2439
distribute-lft-out_binary64_2416 associate-/l*_binary64_2410 associate-/r*_binary64_2409 unswap-sqr_binary64_2433 associate-*l*_binary64_2406
pow1/3_binary64_2547 div-exp_binary64_2516 associate-/r/_binary64_2411 sqrt-div_binary64_2482 associate-*r/_binary64_2407
inv-pow_binary64_2550 pow-flip_binary64_2539 1-exp_binary64_2509 rec-exp_binary64_2515 cbrt-undiv_binary64_2499 frac-2neg_binary64_2476 clear-num_binary64_2464 div-inv_binary64_2462 pow-prod-down_binary64_2536 prod-exp_binary64_2514 cbrt-unprod_binary64_2498 *-commutative_binary64_2396
Counts
4 → 90
Calls

4 calls:

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

Compiled 2392 to 1869 computations (21.9% saved)

series539.0ms (4.1%)

Error
0.0b
Counts
4 → 30
Calls

4 calls:

167.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
135.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
85.0ms
(cbrt.f64 (+.f64 1 x))
82.0ms
(cbrt.f64 (+.f64 1 x))
Compiler

Compiled 1892 to 1612 computations (14.8% saved)

simplify187.0ms (1.4%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (131.0ms)

IterNodesCost
048402640
148402640

prune329.0ms (2.5%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1164120
Fresh145
Picked011
Done011
Total11710127
Error
0.0b
Counts
127 → 10
Compiler

Compiled 3070 to 2365 computations (23% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.1b
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
0.2b
(/.f64 1 (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 1 x)) (sqrt.f64 x))))

rewrite2.7s (20.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
742×*-un-lft-identity_binary64_2465
700×sqrt-prod_binary64_2481
594×times-frac_binary64_2471
280×distribute-lft-out_binary64_2416
254×add-sqr-sqrt_binary64_2487
252×add-cube-cbrt_binary64_2500
36×associate-/l*_binary64_2410
28×sqrt-div_binary64_2482
24×associate-/r/_binary64_2411
18×associate-/r*_binary64_2409
17×add-exp-log_binary64_2503
15×pow1_binary64_2526
14×flip3-+_binary64_2468 flip-+_binary64_2439
12×div-inv_binary64_2462
11×add-cbrt-cube_binary64_2501
pow-flip_binary64_2539 div-exp_binary64_2516
pow1/2_binary64_2545 sqrt-pow1_binary64_2483
pow-div_binary64_2540
add-log-exp_binary64_2504 cbrt-undiv_binary64_2499
inv-pow_binary64_2550 1-exp_binary64_2509 rec-exp_binary64_2515 frac-2neg_binary64_2476 clear-num_binary64_2464 rem-sqrt-square_binary64_2478
associate-/l/_binary64_2412
Counts
4 → 459
Calls

4 calls:

59.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
23.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
16.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
15.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 16963 to 12555 computations (26% saved)

series155.0ms (1.2%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

39.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
38.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
33.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
32.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
Compiler

Compiled 545 to 470 computations (13.8% saved)

simplify373.0ms (2.8%)

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 0 (117.0ms)

IterNodesCost
0487514772
1487514772

prune1.2s (9.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4683471
Fresh347
Picked101
Done112
Total4738481
Error
0b
Counts
481 → 8
Compiler

Compiled 11392 to 8378 computations (26.5% saved)

regimes603.0ms (4.5%)

Accuracy

Total 0.2b remaining (98%)

Threshold costs 0.2b (98%)

Compiler

Compiled 4736 to 3770 computations (20.4% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample5.6s (42.2%)

Algorithm
intervals
Results
411.0ms1988×body1024valid
226.0ms4291×body128valid
145.0ms994×body512valid
54.0ms215×body2048valid
49.0ms512×body256valid
0.0msbody128nan
Compiler

Compiled 2341 to 1866 computations (20.3% saved)

Profiling

Loading profile data...