Details

Time bar (total: 2.7s)

analyze3.0ms

Algorithm
search
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

sample27.0ms

Algorithm
intervals
Results
7.0ms49×body1280valid
6.0ms56×body640valid
6.0ms27×body320valid
3.0ms117×body80valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (7.0ms)

IterNodesCost
07211
17211

prune1.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.6b

Counts
2 → 1

localize5.0ms

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64 add-sqr-sqrt_binary64 sqrt-prod_binary64
add-log-exp_binary64 difference-of-squares_binary64
pow1_binary64 add-cube-cbrt_binary64 distribute-lft-out--_binary64
distribute-lft-out_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 sqrt-div_binary64
flip3-+_binary64 sub-neg_binary64 pow1/2_binary64 flip3--_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip--_binary64 flip-+_binary64
Counts
2 → 34
Calls
2 calls:
3.0ms
(sqrt.f64 (+.f64 x 1))
8.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

series55.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(sqrt.f64 (+.f64 x 1))
40.0ms
(-.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))

simplify84.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
04986774
14986774

prune38.0ms

Filtered
30 candidates to 40 candidates (-33.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New36440
Fresh000
Picked101
Done000
Total37441

Merged error: 0.1b

Counts
41 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity_binary64
24×sqrt-prod_binary64
21×distribute-lft-out_binary64
18×times-frac_binary64
16×add-sqr-sqrt_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
associate-/r*_binary64
add-log-exp_binary64 pow1_binary64 add-cbrt-cube_binary64
flip3-+_binary64 associate-/l*_binary64 flip-+_binary64
associate-/r/_binary64 div-exp_binary64 sqrt-div_binary64
pow1/2_binary64 1-exp_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 inv-pow_binary64 frac-2neg_binary64 rec-exp_binary64 div-inv_binary64 +-commutative_binary64 pow-flip_binary64 sum-log_binary64
Counts
3 → 75
Calls
3 calls:
3.0ms
(sqrt.f64 (+.f64 x 1))
8.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
12.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

series69.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(sqrt.f64 (+.f64 x 1))
24.0ms
(+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))
31.0ms
(/.f64 1 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))

simplify92.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049551536
149551536

prune79.0ms

Filtered
56 candidates to 84 candidates (-50.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New78684
Fresh303
Picked011
Done000
Total81788

Merged error: 0.0b

Counts
88 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity_binary64
700×sqrt-prod_binary64
594×times-frac_binary64
280×distribute-lft-out_binary64
254×add-sqr-sqrt_binary64
252×add-cube-cbrt_binary64
36×associate-/l*_binary64
28×sqrt-div_binary64
24×associate-/r/_binary64
18×associate-/r*_binary64
17×add-exp-log_binary64
14×flip3-+_binary64 flip-+_binary64
12×div-inv_binary64
11×add-cbrt-cube_binary64
pow1_binary64 div-exp_binary64
add-log-exp_binary64 cbrt-undiv_binary64
pow1/2_binary64 sqrt-pow1_binary64 pow-flip_binary64
1-exp_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
associate-/l/_binary64 inv-pow_binary64
Counts
4 → 453
Calls
4 calls:
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
13.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
35.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))

series219.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
44.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
55.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
78.0ms
(/.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))

simplify193.0ms

Algorithm
egg-herbie
Counts
465 → 465
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
0491217620
1491217620

prune274.0ms

Filtered
131 candidates to 465 candidates (-255.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New4614465
Fresh325
Picked011
Done011
Total4648472

Merged error: 0b

Counts
472 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
334×*-un-lft-identity_binary64
284×sqrt-prod_binary64
238×times-frac_binary64
200×add-sqr-sqrt_binary64
117×add-cube-cbrt_binary64
108×distribute-lft-out_binary64
53×swap-sqr_binary64
52×add-exp-log_binary64
33×associate-*r*_binary64 associate-*l*_binary64
32×pow1_binary64
30×pow-flip_binary64
25×unswap-sqr_binary64
20×add-cbrt-cube_binary64 div-exp_binary64
18×associate-/r*_binary64
16×prod-exp_binary64
14×sqrt-div_binary64
12×associate-/r/_binary64
11×pow1/2_binary64 sqrt-pow1_binary64
10×1-exp_binary64 inv-pow_binary64 rec-exp_binary64
pow-prod-up_binary64
div-inv_binary64
flip3-+_binary64 flip-+_binary64
cbrt-undiv_binary64 associate-/l*_binary64
pow-prod-down_binary64 pow-sqr_binary64
add-log-exp_binary64 cbrt-unprod_binary64
clear-num_binary64 frac-2neg_binary64
associate-*r/_binary64 pow-plus_binary64 rem-sqrt-square_binary64 un-div-inv_binary64 frac-times_binary64 pow2_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
4 → 333
Calls
4 calls:
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
12.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
12.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
45.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))

series174.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))
46.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
48.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
35.0ms
(*.f64 (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))) (/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))

simplify158.0ms

Algorithm
egg-herbie
Counts
345 → 345
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049099778
149099778

prune250.0ms

Filtered
136 candidates to 345 candidates (-153.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New3450345
Fresh055
Picked011
Done022
Total3458353

Merged error: 0b

Counts
353 → 8

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01214
11214

end0.0ms

sample669.0ms

Algorithm
intervals
Results
240.0ms1656×body1280valid
137.0ms1251×body640valid
122.0ms4148×body80valid
54.0ms635×body320valid
17.0ms310×body160valid
0.0msbody80nan

Profiling

Loading profile data...