Details

Time bar (total: 7.9s)

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)

sample31.0ms (0.4%)

Algorithm
intervals
Results
18.0ms90×body1024valid
5.0ms123×body128valid
3.0ms31×body512valid
1.0ms12×body256valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify101.0ms (1.3%)

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

Merged error: 21.5b

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.2b
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
0.3b
(/.f64 1 (sqrt.f64 x))
3.4b
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

rewrite68.0ms (0.9%)

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:

38.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
6.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
4.0ms
(/.f64 1 (sqrt.f64 x))
3.0ms
(sqrt.f64 (+.f64 x 1))

series102.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

35.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))
34.0ms
(/.f64 1 (sqrt.f64 x))
18.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
14.0ms
(sqrt.f64 (+.f64 x 1))

simplify100.0ms (1.3%)

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049453696
149453696

prune237.0ms (3%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New19110201
Fresh000
Picked101
Done000
Total19210202

Merged error: 20.9b

Counts
202 → 10
Compiler

Compiled 3808 to 2803 computations (26.4% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
0.3b
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
0.3b
(/.f64 1 (sqrt.f64 x))
3.4b
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

rewrite205.0ms (2.6%)

Algorithm
rewrite-expression-head
Rules
1332×*-un-lft-identity_binary64_2124
1249×times-frac_binary64_2130
725×add-sqr-sqrt_binary64_2146
429×distribute-lft-out_binary64_2075
304×sqrt-prod_binary64_2140
293×add-cube-cbrt_binary64_2159
180×distribute-lft-out--_binary64_2076
168×div-inv_binary64_2121
162×difference-of-squares_binary64_2093
29×associate-/r*_binary64_2068
28×associate-/l*_binary64_2069
18×cancel-sign-sub-inv_binary64_2090
14×add-exp-log_binary64_2162
10×add-cbrt-cube_binary64_2160
pow1_binary64_2185
associate-/r/_binary64_2070
add-log-exp_binary64_2163 pow-flip_binary64_2198
div-exp_binary64_2175
clear-num_binary64_2123 cbrt-undiv_binary64_2158 flip3-+_binary64_2127 flip-+_binary64_2098 associate-/l/_binary64_2071 frac-2neg_binary64_2135
flip--_binary64_2099 flip3--_binary64_2128 sqrt-pow1_binary64_2142 sqrt-div_binary64_2141 pow1/2_binary64_2204 frac-sub_binary64_2133 1-exp_binary64_2168 inv-pow_binary64_2209 rec-exp_binary64_2174
diff-log_binary64_2216 sub-neg_binary64_2117 div-sub_binary64_2129 frac-add_binary64_2132
Counts
4 → 554
Calls

4 calls:

63.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
20.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
4.0ms
(/.f64 1 (sqrt.f64 x))

series126.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

60.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
35.0ms
(/.f64 1 (sqrt.f64 x))
17.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
14.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

simplify237.0ms (3%)

Algorithm
egg-herbie
Counts
566 → 566
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
0505022210

prune1.9s (24.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New5633566
Fresh819
Picked101
Done000
Total5724576

Merged error: 6.9b

Counts
576 → 4
Compiler

Compiled 17933 to 13985 computations (22% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite111.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
417×times-frac_binary64_2130
399×*-un-lft-identity_binary64_2124
164×distribute-lft-out_binary64_2075
148×sqrt-prod_binary64_2140
141×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146
61×div-inv_binary64_2121
42×add-exp-log_binary64_2162
41×associate-/r/_binary64_2070
36×associate-*r/_binary64_2066
30×associate-/r*_binary64_2068
22×add-cbrt-cube_binary64_2160
20×flip3-+_binary64_2127 flip-+_binary64_2098
19×div-exp_binary64_2175
18×associate-/l*_binary64_2069
11×pow1_binary64_2185
cbrt-undiv_binary64_2158
pow-flip_binary64_2198
prod-exp_binary64_2173 1-exp_binary64_2168 rec-exp_binary64_2174
clear-num_binary64_2123 add-log-exp_binary64_2163 frac-2neg_binary64_2135
inv-pow_binary64_2209
sqrt-pow1_binary64_2142 sqrt-div_binary64_2141 pow1/2_binary64_2204 cbrt-unprod_binary64_2157
pow-prod-down_binary64_2195 associate-/l/_binary64_2071 frac-add_binary64_2132
Counts
4 → 319
Calls

4 calls:

45.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
6.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
4.0ms
(/.f64 1 (sqrt.f64 x))

series132.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

77.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
27.0ms
(/.f64 1 (sqrt.f64 x))
16.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
12.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))

simplify155.0ms (2%)

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049469572
149469572

prune687.0ms (8.7%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3238331
Fresh213
Picked101
Done000
Total3269335

Merged error: 0.0b

Counts
335 → 9
Compiler

Compiled 9075 to 6843 computations (24.6% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite117.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity_binary64_2124
88×times-frac_binary64_2130
59×add-sqr-sqrt_binary64_2146
57×add-cube-cbrt_binary64_2159
40×sqrt-prod_binary64_2140
36×add-exp-log_binary64_2162
22×add-cbrt-cube_binary64_2160
21×distribute-lft-out_binary64_2075
19×associate-/l*_binary64_2069
16×associate-*r*_binary64_2064 div-exp_binary64_2175
15×flip3-+_binary64_2127 flip-+_binary64_2098
14×associate-/r*_binary64_2068
13×associate-/r/_binary64_2070
12×frac-times_binary64_2134
10×pow1_binary64_2185
div-inv_binary64_2121
cbrt-undiv_binary64_2158
pow-flip_binary64_2198 associate-*r/_binary64_2066 frac-add_binary64_2132
prod-exp_binary64_2173
add-log-exp_binary64_2163 associate-*l*_binary64_2065 associate-*l/_binary64_2067 1-exp_binary64_2168 rec-exp_binary64_2174
clear-num_binary64_2123 cbrt-unprod_binary64_2157 frac-2neg_binary64_2135
sqrt-pow1_binary64_2142 sqrt-div_binary64_2141 pow1/2_binary64_2204 inv-pow_binary64_2209
pow-prod-down_binary64_2195 unswap-sqr_binary64_2092 *-commutative_binary64_2055 distribute-rgt-in_binary64_2074 associate-/l/_binary64_2071 distribute-lft-in_binary64_2073
Counts
4 → 202
Calls

4 calls:

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

series146.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

74.0ms
(/.f64 (/.f64 1 x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))
31.0ms
(*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1)))))
25.0ms
(/.f64 1 (sqrt.f64 x))
16.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))

simplify134.0ms (1.7%)

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049664534
149664534

prune320.0ms (4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2113214
Fresh538
Picked101
Done000
Total2176223

Merged error: 0b

Counts
223 → 6
Compiler

Compiled 5511 to 3985 computations (27.7% saved)

regimes314.0ms (4%)

Compiler

Compiled 4246 to 3500 computations (17.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01639
11639

end0.0ms (0%)

sample2.6s (33.4%)

Algorithm
intervals
Results
322.0ms2248×body1024valid
166.0ms4294×body128valid
111.0ms1002×body512valid
32.0ms456×body256valid
Compiler

Compiled 2163 to 1782 computations (17.6% saved)

Profiling

Loading profile data...