Details

Time bar (total: 5.3s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2
Compiler

Compiled 12 to 11 computations (8.3% saved)

sample23.0ms (0.4%)

Algorithm
intervals
Results
8.0ms57×body1024valid
5.0ms143×body128valid
4.0ms39×body512valid
1.0ms17×body256valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify100.0ms (1.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07517
17517

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
19.9b
Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite70.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
127×add-sqr-sqrt_binary64_2146
118×times-frac_binary64_2130
117×*-un-lft-identity_binary64_2124
76×sqrt-prod_binary64_2140
56×add-cube-cbrt_binary64_2159
27×cancel-sign-sub-inv_binary64_2090
25×difference-of-squares_binary64_2093
13×distribute-lft-out--_binary64_2076 associate-/r*_binary64_2068
12×add-exp-log_binary64_2162
11×distribute-lft-out_binary64_2075
pow1_binary64_2185
add-cbrt-cube_binary64_2160
div-inv_binary64_2121
associate-/l*_binary64_2069 sqrt-div_binary64_2141 add-log-exp_binary64_2163 pow-flip_binary64_2198
associate-/r/_binary64_2070 div-exp_binary64_2175
sqrt-pow1_binary64_2142 pow1/2_binary64_2204 flip3-+_binary64_2127 flip-+_binary64_2098
clear-num_binary64_2123 cbrt-undiv_binary64_2158 1-exp_binary64_2168 inv-pow_binary64_2209 frac-2neg_binary64_2135 rec-exp_binary64_2174
flip--_binary64_2099 flip3--_binary64_2128 diff-log_binary64_2216 rem-sqrt-square_binary64_2137 sub-neg_binary64_2117 frac-sub_binary64_2133
Counts
4 → 189
Calls

4 calls:

39.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
4.0ms
(/.f64 1 (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

series98.0ms (1.9%)

Counts
4 → 12
Calls

4 calls:

40.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
26.0ms
(/.f64 1 (sqrt.f64 x))
18.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
14.0ms
(sqrt.f64 (+.f64 x 1))

simplify98.0ms (1.9%)

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
049453696
149453696

prune241.0ms (4.6%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New18813201
Fresh000
Picked101
Done000
Total18913202
Error
19.3b
Counts
202 → 13
Compiler

Compiled 3859 to 2842 computations (26.4% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1 x))
0.1b
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
0.3b
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
2.0b
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

rewrite48.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt_binary64_2146
42×sqrt-prod_binary64_2140
38×*-un-lft-identity_binary64_2124
13×add-cube-cbrt_binary64_2159
12×difference-of-squares_binary64_2093
11×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
10×associate-/l*_binary64_2069 times-frac_binary64_2130
distribute-lft-out--_binary64_2076 pow1_binary64_2185
associate-*r*_binary64_2064
cancel-sign-sub-inv_binary64_2090 sqrt-div_binary64_2141 add-log-exp_binary64_2163 associate-*l*_binary64_2065
distribute-lft-out_binary64_2075
unswap-sqr_binary64_2092 associate-*r/_binary64_2066
pow-prod-down_binary64_2195 sqrt-pow1_binary64_2142 pow1/2_binary64_2204 flip3-+_binary64_2127 flip-+_binary64_2098
flip--_binary64_2099 flip3--_binary64_2128 cbrt-undiv_binary64_2158 associate-/r/_binary64_2070 prod-exp_binary64_2173 associate-/l/_binary64_2071 div-exp_binary64_2175 cbrt-unprod_binary64_2157
clear-num_binary64_2123 sqrt-unprod_binary64_2144 *-commutative_binary64_2055 associate-/r*_binary64_2068 diff-log_binary64_2216 rem-sqrt-square_binary64_2137 sub-neg_binary64_2117 div-sub_binary64_2129 div-inv_binary64_2121 frac-2neg_binary64_2135
Counts
4 → 113
Calls

4 calls:

17.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
10.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
9.0ms
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 1 x))

series168.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

84.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
38.0ms
(-.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))
31.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
14.0ms
(sqrt.f64 (+.f64 1 x))

simplify76.0ms (1.4%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049562693
149562693

prune150.0ms (2.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1223125
Fresh11112
Picked101
Done000
Total1344138
Error
0.2b
Counts
138 → 4
Compiler

Compiled 2897 to 1877 computations (35.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite197.0ms (3.7%)

Algorithm
rewrite-expression-head
Rules
118×*-un-lft-identity_binary64_2124
78×times-frac_binary64_2130
55×sqrt-prod_binary64_2140
47×add-sqr-sqrt_binary64_2146
45×distribute-lft-out_binary64_2075
39×add-cube-cbrt_binary64_2159
32×add-exp-log_binary64_2162
27×associate-/l*_binary64_2069
20×add-cbrt-cube_binary64_2160
14×div-exp_binary64_2175
pow1_binary64_2185
associate-/r/_binary64_2070
cbrt-undiv_binary64_2158 associate-/r*_binary64_2068 associate-*r*_binary64_2064
add-log-exp_binary64_2163 associate-*l*_binary64_2065 flip3-+_binary64_2127 flip-+_binary64_2098
prod-exp_binary64_2173
unswap-sqr_binary64_2092 sqrt-div_binary64_2141 associate-*r/_binary64_2066 div-inv_binary64_2121
pow-prod-down_binary64_2195 1-exp_binary64_2168 cbrt-unprod_binary64_2157 rec-exp_binary64_2174
clear-num_binary64_2123 sqrt-pow1_binary64_2142 pow1/2_binary64_2204 frac-2neg_binary64_2135
sqrt-unprod_binary64_2144 sum-log_binary64_2215 *-commutative_binary64_2055 +-commutative_binary64_2054 pow-flip_binary64_2198 associate-/l/_binary64_2071 inv-pow_binary64_2209
Counts
4 → 166
Calls

4 calls:

154.0ms
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
10.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
9.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
8.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

series169.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

91.0ms
(/.f64 (/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))) (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x))))
29.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
27.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 1 x)))
21.0ms
(+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))

simplify90.0ms (1.7%)

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049524177
149524177

prune260.0ms (4.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1699178
Fresh213
Picked101
Done000
Total17210182
Error
0.0b
Counts
182 → 10
Compiler

Compiled 4468 to 3062 computations (31.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite64.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
234×times-frac_binary64_2130
159×*-un-lft-identity_binary64_2124
156×add-sqr-sqrt_binary64_2146
119×add-cube-cbrt_binary64_2159
87×sqrt-prod_binary64_2140
49×distribute-lft-out_binary64_2075
21×associate-/l*_binary64_2069
20×associate-/r/_binary64_2070
19×add-exp-log_binary64_2162
13×add-cbrt-cube_binary64_2160
12×flip3-+_binary64_2127 flip-+_binary64_2098
11×associate-/r*_binary64_2068
10×div-inv_binary64_2121
pow1_binary64_2185
div-exp_binary64_2175
associate-*r*_binary64_2064
add-log-exp_binary64_2163 associate-*l*_binary64_2065
cbrt-undiv_binary64_2158 unswap-sqr_binary64_2092 sqrt-div_binary64_2141
pow-prod-down_binary64_2195
clear-num_binary64_2123 sqrt-pow1_binary64_2142 pow1/2_binary64_2204 associate-*r/_binary64_2066 1-exp_binary64_2168 frac-2neg_binary64_2135 rec-exp_binary64_2174
sqrt-unprod_binary64_2144 sum-log_binary64_2215 *-commutative_binary64_2055 prod-exp_binary64_2173 +-commutative_binary64_2054 pow-flip_binary64_2198 associate-/l/_binary64_2071 inv-pow_binary64_2209 cbrt-unprod_binary64_2157
Counts
4 → 252
Calls

4 calls:

13.0ms
(/.f64 (/.f64 1 (+.f64 x (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 x)))
9.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))
6.0ms
(+.f64 x (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1))))
5.0ms
(/.f64 1 (+.f64 x (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))))

series168.0ms (3.2%)

Counts
4 → 12
Calls

4 calls:

82.0ms
(/.f64 (/.f64 1 (+.f64 x (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1))))) (sqrt.f64 (+.f64 1 x)))
39.0ms
(/.f64 1 (+.f64 x (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))))
24.0ms
(*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1)))
22.0ms
(+.f64 x (*.f64 (sqrt.f64 x) (sqrt.f64 (+.f64 x 1))))

simplify151.0ms (2.9%)

Algorithm
egg-herbie
Counts
264 → 264
Iterations

Useful iterations: 0 (69.0ms)

IterNodesCost
049479729
149479729

prune473.0ms (9%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2613264
Fresh279
Picked011
Done000
Total26311274
Error
0b
Counts
274 → 11
Compiler

Compiled 7549 to 5393 computations (28.6% saved)

regimes278.0ms (5.3%)

Accuracy

Total 0.3b remaining (98.6%)

Threshold costs 0.3b (98.6%)

Compiler

Compiled 3432 to 2720 computations (20.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01425
11425

end0.0ms (0%)

sample2.3s (43.8%)

Algorithm
intervals
Results
324.0ms2266×body1024valid
162.0ms4241×body128valid
107.0ms987×body512valid
35.0ms506×body256valid
Compiler

Compiled 1747 to 1386 computations (20.7% saved)

Profiling

Loading profile data...