Details

Time bar (total: 2.5s)

analyze1.0ms

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

sample25.0ms

Algorithm
intervals
Results
8.0ms60×body640valid
5.0ms31×body1280valid
5.0ms146×body80valid
1.0ms10×body320valid
1.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07411
17411

prune7.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: 17.5b

Counts
2 → 1

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

rewrite57.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))
34.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

series30.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(sqrt.f64 (+.f64 x 1))
5.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
8.0ms
(/.f64 1 (sqrt.f64 x))
14.0ms
(-.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))

simplify56.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
052992132

prune116.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: 16.9b

Counts
175 → 13

localize11.0ms

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

rewrite162.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)))
5.0ms
(/.f64 1 (sqrt.f64 x))
64.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
19.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
8.0ms
(/.f64 1 (sqrt.f64 x))
15.0ms
(/.f64 (-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))
3.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (+.f64 1 x)))

simplify118.0ms

Algorithm
egg-herbie
Counts
548 → 548
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
0499814185
1499814185

prune228.0ms

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

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New5453548
Fresh10212
Picked101
Done000
Total5565561

Merged error: 5.3b

Counts
561 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.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)))
9.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
5.0ms
(/.f64 1 (sqrt.f64 x))
44.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))

series36.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/.f64 1 (sqrt.f64 (+.f64 1 x)))
3.0ms
(/.f64 1 (*.f64 x (+.f64 1 x)))
8.0ms
(/.f64 1 (sqrt.f64 x))
20.0ms
(/.f64 (/.f64 1 (*.f64 x (+.f64 1 x))) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 1 x)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
331 → 331
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049946216
149946216

prune199.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3229331
Fresh314
Picked101
Done000
Total32610336

Merged error: 0.0b

Counts
336 → 10

localize10.0ms

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

rewrite109.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:
44.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)))
5.0ms
(/.f64 1 (sqrt.f64 x))
44.0ms
(/.f64 (/.f64 1 x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))

series41.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1)))))
5.0ms
(/.f64 1 (sqrt.f64 (+.f64 x 1)))
8.0ms
(/.f64 1 (sqrt.f64 x))
20.0ms
(/.f64 (/.f64 1 x) (*.f64 (+.f64 x 1) (+.f64 (/.f64 1 (sqrt.f64 x)) (/.f64 1 (sqrt.f64 (+.f64 x 1))))))

simplify68.0ms

Algorithm
egg-herbie
Counts
214 → 214
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049472867
149472867

prune152.0ms

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

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2113214
Fresh639
Picked101
Done000
Total2186224

Merged error: 0b

Counts
224 → 6

regimes22.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01525
11525

end0.0ms

sample788.0ms

Algorithm
intervals
Results
262.0ms1845×body640valid
203.0ms1129×body1280valid
148.0ms4112×body80valid
64.0ms634×body320valid
19.0ms280×body160valid

Profiling

Loading profile data...