Details

Time bar (total: 7.6s)

analyze95.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
Symmetry
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample26.0ms (0.3%)

Algorithm
intervals
Results
11.0ms65×body1024valid
4.0ms142×body128valid
2.0ms34×body512valid
1.0ms13×body256valid
0.0msbody2048valid
Compiler

Compiled 15 to 14 computations (6.7% saved)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07111
17111

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.2b
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.0b
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

rewrite65.0ms (0.9%)

Algorithm
rewrite-expression-head
Error
27.7b
Rules
15×sqrt-prod_binary64_2140
14×add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
cancel-sign-sub-inv_binary64_2090
add-cube-cbrt_binary64_2159
add-log-exp_binary64_2163 difference-of-squares_binary64_2093
pow1_binary64_2185 distribute-lft-out--_binary64_2076
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 distribute-lft-out_binary64_2075 sqrt-div_binary64_2141
diff-log_binary64_2216 flip3--_binary64_2128 sub-neg_binary64_2117 flip--_binary64_2099 pow1/2_binary64_2204 sqrt-pow1_binary64_2142 flip3-+_binary64_2127 flip-+_binary64_2098 rem-sqrt-square_binary64_2137
Counts
2 → 40
Calls

2 calls:

9.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 571 to 370 computations (35.2% saved)

series50.0ms (0.7%)

Error
27.5b
Counts
2 → 9
Calls

2 calls:

29.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
14.0ms
(sqrt.f64 (+.f64 x 1))
Compiler

Compiled 245 to 193 computations (21.2% saved)

simplify40.0ms (0.5%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
04932589
14932589

prune47.0ms (0.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New43649
Fresh000
Picked011
Done000
Total43750
Error
0.1b
Counts
50 → 7
Compiler

Compiled 636 to 424 computations (33.3% saved)

localize9.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite113.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
52×*-un-lft-identity_binary64_2124
24×sqrt-prod_binary64_2140
21×distribute-lft-out_binary64_2075
18×times-frac_binary64_2130
16×add-sqr-sqrt_binary64_2146
15×add-cube-cbrt_binary64_2159
add-exp-log_binary64_2162
associate-/r*_binary64_2068
pow1_binary64_2185 add-log-exp_binary64_2163 add-cbrt-cube_binary64_2160
flip3-+_binary64_2127 flip-+_binary64_2098 associate-/l*_binary64_2069
div-exp_binary64_2175 associate-/r/_binary64_2070 sqrt-div_binary64_2141
inv-pow_binary64_2209 pow-flip_binary64_2198 1-exp_binary64_2168 rec-exp_binary64_2174 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123 div-inv_binary64_2121 pow1/2_binary64_2204 sqrt-pow1_binary64_2142 rem-sqrt-square_binary64_2137 sum-log_binary64_2215 +-commutative_binary64_2054
Counts
3 → 75
Calls

3 calls:

11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
8.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 1 x))
Compiler

Compiled 1268 to 926 computations (27% saved)

series53.0ms (0.7%)

Error
0.1b
Counts
3 → 12
Calls

3 calls:

17.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
16.0ms
(sqrt.f64 (+.f64 1 x))
14.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
Compiler

Compiled 268 to 232 computations (13.4% saved)

simplify93.0ms (1.2%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
048591227
148591227

prune88.0ms (1.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New81687
Fresh505
Picked011
Done101
Total87794
Error
0.0b
Counts
94 → 7
Compiler

Compiled 1304 to 951 computations (27.1% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite813.0ms (10.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
310×*-un-lft-identity_binary64_2124
290×sqrt-prod_binary64_2140
172×times-frac_binary64_2130
144×add-sqr-sqrt_binary64_2146
116×distribute-lft-out_binary64_2075
88×add-cube-cbrt_binary64_2159
43×swap-sqr_binary64_2091
31×pow1_binary64_2185
27×sqrt-pow1_binary64_2142 associate-*l*_binary64_2065 associate-*r*_binary64_2064
16×unswap-sqr_binary64_2092
14×add-exp-log_binary64_2162 associate-/r/_binary64_2070
12×associate-/r*_binary64_2068
11×inv-pow_binary64_2209 pow-flip_binary64_2198
10×add-cbrt-cube_binary64_2160
pow1/2_binary64_2204 pow-prod-up_binary64_2194 rem-sqrt-square_binary64_2137 div-inv_binary64_2121
flip3-+_binary64_2127 flip-+_binary64_2098
associate-/l*_binary64_2069
pow-prod-down_binary64_2195 sqrt-div_binary64_2141 pow-sqr_binary64_2097
add-log-exp_binary64_2163 div-exp_binary64_2175
sqr-abs_binary64_2139
1-exp_binary64_2168 rec-exp_binary64_2174 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123
pow2_binary64_2205 pow-plus_binary64_2187 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 sqrt-unprod_binary64_2144 rem-square-sqrt_binary64_2136 frac-times_binary64_2134 associate-*l/_binary64_2067 associate-*r/_binary64_2066 *-commutative_binary64_2055
Counts
4 → 281
Calls

4 calls:

49.0ms
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
12.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 9177 to 6931 computations (24.5% saved)

series90.0ms (1.2%)

Error
0.0b
Counts
4 → 12
Calls

4 calls:

24.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
20.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
20.0ms
(*.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
18.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 545 to 477 computations (12.5% saved)

simplify121.0ms (1.6%)

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
058245963

prune662.0ms (8.8%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2903293
Fresh235
Picked011
Done011
Total2928300
Error
0b
Counts
300 → 8
Compiler

Compiled 6988 to 5160 computations (26.2% saved)

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

rewrite1.2s (16.4%)

Algorithm
rewrite-expression-head
Error
0b
Rules
702×sqrt-prod_binary64_2140
655×*-un-lft-identity_binary64_2124
461×times-frac_binary64_2130
264×distribute-lft-out_binary64_2075
197×add-sqr-sqrt_binary64_2146
192×add-cube-cbrt_binary64_2159
30×associate-/l*_binary64_2069
26×associate-/r/_binary64_2070
15×associate-/r*_binary64_2068
14×flip3-+_binary64_2127 flip-+_binary64_2098
13×div-inv_binary64_2121
12×pow1_binary64_2185
10×sqrt-pow1_binary64_2142 add-exp-log_binary64_2162
add-cbrt-cube_binary64_2160
sqrt-div_binary64_2141
pow1/2_binary64_2204 inv-pow_binary64_2209 pow-div_binary64_2199 pow-flip_binary64_2198 add-log-exp_binary64_2163 rem-sqrt-square_binary64_2137
div-exp_binary64_2175
cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123
sqrt-undiv_binary64_2145 associate-/l/_binary64_2071 1-exp_binary64_2168 rec-exp_binary64_2174
Counts
4 → 401
Calls

4 calls:

33.0ms
(/.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
11.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
11.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
9.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 14370 to 10613 computations (26.1% saved)

series99.0ms (1.3%)

Error
0b
Counts
4 → 12
Calls

4 calls:

26.0ms
(sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
25.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
20.0ms
(/.f64 (sqrt.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
20.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
Compiler

Compiled 518 to 447 computations (13.7% saved)

simplify243.0ms (3.2%)

Algorithm
egg-herbie
Counts
413 → 413
Iterations

Useful iterations: 0 (111.0ms)

IterNodesCost
0485516587
1485516587

prune1.1s (14.2%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New4130413
Fresh055
Picked011
Done022
Total4138421
Error
0b
Counts
421 → 8
Compiler

Compiled 12310 to 8845 computations (28.1% saved)

regimes284.0ms (3.8%)

Accuracy

Total 0.2b remaining (97.7%)

Threshold costs 0.2b (97.7%)

Compiler

Compiled 3538 to 2809 computations (20.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11114
Removed

()

end0.0ms (0%)

sample2.2s (29.3%)

Algorithm
intervals
Results
192.0ms2016×body1024valid
124.0ms4293×body128valid
74.0ms984×body512valid
27.0ms497×body256valid
26.0ms210×body2048valid
0.0msbody128nan
Compiler

Compiled 1738 to 1383 computations (20.4% saved)

Profiling

Loading profile data...