Details

Time bar (total: 10.3s)

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

sample25.0ms

Algorithm
intervals
Results
9.0ms137×body80valid
6.0ms46×body1280valid
3.0ms35×body640valid
2.0ms24×body320valid
1.0ms14×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
07211
17211

prune1.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.4b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

series58.0ms

Counts
2 → 6
Calls
2 calls:
14.0ms
(sqrt.f64 (+.f64 x 1))
43.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)))

series63.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(sqrt.f64 (+.f64 x 1))
20.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 (69.0ms)

IterNodesCost
049551536
149551536

prune78.0ms

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

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New77784
Fresh123
Picked011
Done000
Total781088

Merged error: 0.0b

Counts
88 → 10

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite102.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)))
12.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
32.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))))

series197.0ms

Counts
4 → 12
Calls
4 calls:
39.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)))
48.0ms
(/.f64 1 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))
66.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))))

simplify200.0ms

Algorithm
egg-herbie
Counts
465 → 465
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
0491217620
1491217620

prune270.0ms

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

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New4614465
Fresh448
Picked011
Done011
Total46510475

Merged error: 0b

Counts
475 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
21574×sqrt-prod_binary64
15023×*-un-lft-identity_binary64
14958×times-frac_binary64
5512×distribute-lft-out_binary64
5378×add-sqr-sqrt_binary64
5377×add-cube-cbrt_binary64
584×sqrt-div_binary64
555×associate-/l*_binary64
292×associate-/r/_binary64
147×flip3-+_binary64 flip-+_binary64
146×div-inv_binary64
33×associate-/r*_binary64
32×add-exp-log_binary64
21×sqrt-pow1_binary64
20×add-cbrt-cube_binary64
19×pow1_binary64 div-exp_binary64
14×pow-flip_binary64
11×pow1/2_binary64
10×pow-div_binary64 cbrt-undiv_binary64
add-log-exp_binary64
1-exp_binary64 clear-num_binary64 frac-2neg_binary64 rec-exp_binary64
associate-/l/_binary64 inv-pow_binary64
rem-sqrt-square_binary64
Counts
4 → 5808
Calls
4 calls:
8.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
196.0ms
(/.f64 (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
37.0ms
(/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
13.0ms
(/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))

series228.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x)))
70.0ms
(/.f64 (/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 x 1)) (sqrt.f64 x))))
50.0ms
(/.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x))))) (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))
64.0ms
(/.f64 1 (sqrt.f64 (sqrt.f64 (+.f64 (sqrt.f64 (+.f64 1 x)) (sqrt.f64 x)))))

simplify3.8s

Algorithm
egg-herbie
Counts
5820 → 5820
Iterations

Useful iterations: 0 (286.0ms)

IterNodesCost
05015379967

prune3.1s

Filtered
606 candidates to 5820 candidates (-860.4%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New582005820
Fresh077
Picked011
Done022
Total5820105830

Merged error: 0b

Counts
5830 → 10

regimes27.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

sample609.0ms

Algorithm
intervals
Results
231.0ms1743×body1280valid
120.0ms1235×body640valid
109.0ms4135×body80valid
44.0ms600×body320valid
14.0ms287×body160valid
0.0msbody80nan

Profiling

Loading profile data...