Details

Time bar (total: 13.6s)

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

sample49.0ms (0.4%)

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

Compiled 15 to 14 computations (6.7% saved)

simplify19.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (9.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)

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

rewrite119.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
29.8b
Rules
15×sqrt-prod_binary64_14075
14×add-sqr-sqrt_binary64_14081 *-un-lft-identity_binary64_14059
cancel-sign-sub-inv_binary64_14025
add-cube-cbrt_binary64_14094
add-log-exp_binary64_14098 difference-of-squares_binary64_14028
pow1_binary64_14120 distribute-lft-out--_binary64_14011
add-exp-log_binary64_14097 add-cbrt-cube_binary64_14095 distribute-lft-out_binary64_14010 sqrt-div_binary64_14076
diff-log_binary64_14151 flip3--_binary64_14063 sub-neg_binary64_14052 flip--_binary64_14034 pow1/2_binary64_14139 sqrt-pow1_binary64_14077 flip3-+_binary64_14062 flip-+_binary64_14033 rem-sqrt-square_binary64_14072
Counts
2 → 40
Calls

2 calls:

17.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 571 to 370 computations (35.2% saved)

series96.0ms (0.7%)

Error
29.9b
Counts
2 → 9
Calls

2 calls:

52.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
31.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 245 to 193 computations (21.2% saved)

simplify72.0ms (0.5%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04932589
14932589

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

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

rewrite224.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
52×*-un-lft-identity_binary64_14059
24×sqrt-prod_binary64_14075
21×distribute-lft-out_binary64_14010
18×times-frac_binary64_14065
16×add-sqr-sqrt_binary64_14081
15×add-cube-cbrt_binary64_14094
add-exp-log_binary64_14097
associate-/r*_binary64_14003
pow1_binary64_14120 add-log-exp_binary64_14098 add-cbrt-cube_binary64_14095
flip3-+_binary64_14062 flip-+_binary64_14033 associate-/l*_binary64_14004
div-exp_binary64_14110 associate-/r/_binary64_14005 sqrt-div_binary64_14076
inv-pow_binary64_14144 pow-flip_binary64_14133 1-exp_binary64_14103 rec-exp_binary64_14109 cbrt-undiv_binary64_14093 frac-2neg_binary64_14070 clear-num_binary64_14058 div-inv_binary64_14056 sum-log_binary64_14150 +-commutative_binary64_13989 pow1/2_binary64_14139 sqrt-pow1_binary64_14077 rem-sqrt-square_binary64_14072
Counts
3 → 75
Calls

3 calls:

25.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
16.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
6.0ms
(sqrt.f64 (+.f64 1 x))
Compiler

Compiled 1268 to 926 computations (27% saved)

series89.0ms (0.7%)

Error
0.2b
Counts
3 → 12
Calls

3 calls:

31.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
25.0ms
(sqrt.f64 (+.f64 1 x))
22.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
Compiler

Compiled 268 to 232 computations (13.4% saved)

simplify166.0ms (1.2%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (136.0ms)

IterNodesCost
048591227
148591227

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

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

rewrite317.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
24×add-sqr-sqrt_binary64_14081 *-un-lft-identity_binary64_14059
18×add-cube-cbrt_binary64_14094
13×cbrt-prod_binary64_14090
10×add-exp-log_binary64_14097 associate-*r*_binary64_13999
times-frac_binary64_14065 sqrt-prod_binary64_14075
add-cbrt-cube_binary64_14095
pow1_binary64_14120
cbrt-div_binary64_14091
add-log-exp_binary64_14098 flip3-+_binary64_14062 flip-+_binary64_14033
distribute-lft-out_binary64_14010 associate-/l*_binary64_14004 associate-/r*_binary64_14003 unswap-sqr_binary64_14027 associate-*l*_binary64_14000
pow1/3_binary64_14141 div-exp_binary64_14110 associate-/r/_binary64_14005 sqrt-div_binary64_14076 associate-*r/_binary64_14001
inv-pow_binary64_14144 pow-flip_binary64_14133 1-exp_binary64_14103 rec-exp_binary64_14109 cbrt-undiv_binary64_14093 frac-2neg_binary64_14070 clear-num_binary64_14058 div-inv_binary64_14056 pow-prod-down_binary64_14130 prod-exp_binary64_14108 cbrt-unprod_binary64_14092 *-commutative_binary64_13990
Counts
4 → 90
Calls

4 calls:

22.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
18.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
6.0ms
(cbrt.f64 (+.f64 1 x))
6.0ms
(cbrt.f64 (+.f64 1 x))
Compiler

Compiled 2392 to 1869 computations (21.9% saved)

series566.0ms (4.2%)

Error
0.0b
Counts
4 → 30
Calls

4 calls:

180.0ms
(/.f64 1 (+.f64 (*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x)))) (sqrt.f64 x)))
133.0ms
(*.f64 (fabs.f64 (cbrt.f64 (+.f64 1 x))) (sqrt.f64 (cbrt.f64 (+.f64 1 x))))
91.0ms
(cbrt.f64 (+.f64 1 x))
85.0ms
(cbrt.f64 (+.f64 1 x))
Compiler

Compiled 1892 to 1612 computations (14.8% saved)

simplify177.0ms (1.3%)

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (124.0ms)

IterNodesCost
048402640
148402640

prune332.0ms (2.4%)

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)

localize18.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.5s (18.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
742×*-un-lft-identity_binary64_14059
700×sqrt-prod_binary64_14075
594×times-frac_binary64_14065
280×distribute-lft-out_binary64_14010
254×add-sqr-sqrt_binary64_14081
252×add-cube-cbrt_binary64_14094
36×associate-/l*_binary64_14004
28×sqrt-div_binary64_14076
24×associate-/r/_binary64_14005
18×associate-/r*_binary64_14003
17×add-exp-log_binary64_14097
15×pow1_binary64_14120
14×flip3-+_binary64_14062 flip-+_binary64_14033
12×div-inv_binary64_14056
11×add-cbrt-cube_binary64_14095
pow-flip_binary64_14133 div-exp_binary64_14110
pow1/2_binary64_14139 sqrt-pow1_binary64_14077
pow-div_binary64_14134
add-log-exp_binary64_14098 cbrt-undiv_binary64_14093
inv-pow_binary64_14144 1-exp_binary64_14103 rec-exp_binary64_14109 frac-2neg_binary64_14070 clear-num_binary64_14058 rem-sqrt-square_binary64_14072
associate-/l/_binary64_14006
Counts
4 → 459
Calls

4 calls:

69.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))))
25.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
17.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
16.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 16963 to 12555 computations (26% saved)

series192.0ms (1.4%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

48.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
47.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
45.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
37.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)

simplify431.0ms (3.2%)

Algorithm
egg-herbie
Counts
471 → 471
Iterations

Useful iterations: 0 (140.0ms)

IterNodesCost
0487514772
1487514772

prune1.6s (11.6%)

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)

regimes684.0ms (5%)

Accuracy

Total 0.2b remaining (98%)

Threshold costs 0.2b (98%)

Compiler

Compiled 4736 to 3770 computations (20.4% saved)

bsearch0.0ms (0%)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114

end0.0ms (0%)

sample5.5s (40.2%)

Algorithm
intervals
Results
412.0ms1988×body1024valid
236.0ms4291×body128valid
156.0ms994×body512valid
56.0ms215×body2048valid
50.0ms512×body256valid
0.0msbody128nan
Compiler

Compiled 2341 to 1866 computations (20.3% saved)

Profiling

Loading profile data...