Details

Time bar (total: 3.4s)

analyze2.0ms

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

sample26.0ms

Algorithm
intervals
Results
8.0ms58×body640valid
5.0ms137×body80valid
4.0ms24×body1280valid
2.0ms23×body320valid
1.0ms14×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
07617
17617

prune3.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 19.1b

Counts
2 → 1

localize9.0ms

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

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
113×add-sqr-sqrt_binary64
97×*-un-lft-identity_binary64 times-frac_binary64
64×sqrt-prod_binary64
42×add-cube-cbrt_binary64
25×difference-of-squares_binary64
13×associate-/r*_binary64 distribute-lft-out--_binary64
12×add-exp-log_binary64
pow1_binary64
distribute-lft-out_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 associate-/l*_binary64 div-inv_binary64 pow-flip_binary64
div-exp_binary64 sqrt-div_binary64
pow1/2_binary64 sqrt-pow1_binary64
flip3-+_binary64 1-exp_binary64 cbrt-undiv_binary64 associate-/r/_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 rec-exp_binary64 flip-+_binary64
sub-neg_binary64 flip3--_binary64 diff-log_binary64 rem-sqrt-square_binary64 flip--_binary64 frac-sub_binary64
Counts
4 → 162
Calls
4 calls:
3.0ms
(sqrt.f64 (+.f64 x 1))
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
5.0ms
(/.f64 1 (sqrt.f64 x))
39.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

series97.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt.f64 (+.f64 x 1))
18.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
28.0ms
(/.f64 1 (sqrt.f64 x))
38.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

simplify92.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049323393
149323393

prune146.0ms

Filtered
95 candidates to 174 candidates (-83.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New16113174
Fresh000
Picked101
Done000
Total16213175

Merged error: 18.3b

Counts
175 → 13

localize13.0ms

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

rewrite168.0ms

Algorithm
rewrite-expression-head
Rules
1318×*-un-lft-identity_binary64
1237×times-frac_binary64
717×add-sqr-sqrt_binary64
426×distribute-lft-out_binary64
304×sqrt-prod_binary64
285×add-cube-cbrt_binary64
180×distribute-lft-out--_binary64
167×div-inv_binary64
162×difference-of-squares_binary64
29×associate-/r*_binary64
28×associate-/l*_binary64
14×add-exp-log_binary64
10×add-cbrt-cube_binary64
pow1_binary64
add-log-exp_binary64 pow-flip_binary64
associate-/r/_binary64 div-exp_binary64
associate-/l/_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64
flip3-+_binary64 pow1/2_binary64 flip3--_binary64 1-exp_binary64 sqrt-pow1_binary64 inv-pow_binary64 rec-exp_binary64 flip--_binary64 flip-+_binary64 frac-sub_binary64 sqrt-div_binary64
sub-neg_binary64 diff-log_binary64 frac-add_binary64 div-sub_binary64
Counts
4 → 536
Calls
4 calls:
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
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)))))
4.0ms
(/.f64 1 (sqrt.f64 x))
18.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

series115.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
58.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
27.0ms
(/.f64 1 (sqrt.f64 x))
13.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

simplify213.0ms

Algorithm
egg-herbie
Counts
548 → 548
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0512322047

prune314.0ms

Filtered
142 candidates to 548 candidates (-285.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New5462548
Fresh10212
Picked011
Done000
Total5565561

Merged error: 3.1b

Counts
561 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
417×times-frac_binary64
399×*-un-lft-identity_binary64
164×distribute-lft-out_binary64
148×sqrt-prod_binary64
141×add-cube-cbrt_binary64 add-sqr-sqrt_binary64
61×div-inv_binary64
42×add-exp-log_binary64
41×associate-/r/_binary64
36×associate-*r/_binary64
30×associate-/r*_binary64
22×add-cbrt-cube_binary64
20×flip3-+_binary64 flip-+_binary64
19×div-exp_binary64
18×associate-/l*_binary64
11×pow1_binary64
cbrt-undiv_binary64
pow-flip_binary64
1-exp_binary64 prod-exp_binary64 rec-exp_binary64
add-log-exp_binary64 clear-num_binary64 frac-2neg_binary64
inv-pow_binary64
pow1/2_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 sqrt-div_binary64
pow-prod-down_binary64 associate-/l/_binary64 frac-add_binary64
Counts
4 → 319
Calls
4 calls:
7.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
7.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
5.0ms
(/.f64 1 (sqrt.f64 x))
49.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))

series143.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
10.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
28.0ms
(/.f64 1 (sqrt.f64 x))
86.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))

simplify130.0ms

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
051069598

prune272.0ms

Filtered
129 candidates to 331 candidates (-156.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3238331
Fresh213
Picked101
Done101
Total3279336

Merged error: 0.0b

Counts
336 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
92×*-un-lft-identity_binary64
88×times-frac_binary64
59×add-sqr-sqrt_binary64
57×add-cube-cbrt_binary64
40×sqrt-prod_binary64
36×add-exp-log_binary64
22×add-cbrt-cube_binary64
21×distribute-lft-out_binary64
19×associate-/l*_binary64
16×associate-*r*_binary64 div-exp_binary64
15×flip3-+_binary64 flip-+_binary64
14×associate-/r*_binary64
13×associate-/r/_binary64
12×frac-times_binary64
10×pow1_binary64
div-inv_binary64
cbrt-undiv_binary64
associate-*r/_binary64 frac-add_binary64 pow-flip_binary64
prod-exp_binary64
add-log-exp_binary64 1-exp_binary64 associate-*l*_binary64 rec-exp_binary64 associate-*l/_binary64
cbrt-unprod_binary64 clear-num_binary64 frac-2neg_binary64
pow1/2_binary64 sqrt-pow1_binary64 inv-pow_binary64 sqrt-div_binary64
pow-prod-down_binary64 associate-/l/_binary64 distribute-lft-in_binary64 distribute-rgt-in_binary64 unswap-sqr_binary64 *-commutative_binary64
Counts
4 → 202
Calls
4 calls:
43.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))
41.0ms
(/.f64 (/.f64 1 x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))

series153.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1)))))
16.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
33.0ms
(/.f64 1 (sqrt.f64 x))
73.0ms
(/.f64 (/.f64 1 x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))

simplify138.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (91.0ms)

IterNodesCost
049584482
149584482

prune211.0ms

Filtered
128 candidates to 214 candidates (-67.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2104214
Fresh628
Picked101
Done000
Total2176223

Merged error: 0b

Counts
223 → 6

regimes15.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 0.3b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01739
11739

end0.0ms

sample882.0ms

Algorithm
intervals
Results
284.0ms1841×body640valid
229.0ms1142×body1280valid
170.0ms4130×body80valid
70.0ms602×body320valid
22.0ms285×body160valid

Profiling

Loading profile data...