Details

Time bar (total: 2.4s)

sample32.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 99.993897%

Results
8.0ms62×body1280valid
4.0ms46×body640valid
3.0ms125×body80valid
1.0ms20×body320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.2b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
1.3b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity sqrt-prod
add-log-exp difference-of-squares
pow1 add-cube-cbrt distribute-lft-out--
add-exp-log sqrt-div add-cbrt-cube distribute-lft-out
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+
Counts
2 → 35
Calls
2 calls:
3.0ms
(sqrt (+ x 1.0))
8.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series14.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(sqrt (+ x 1.0))
10.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify34.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0282318
11037308
25001297

prune81.0ms

Filtered
31 candidates to 41 candidates (-32.3%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New39241
Fresh000
Picked101
Done000
Total40242

Merged error: 0.1b

Counts
42 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
17×add-sqr-sqrt
16×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/ associate-/l/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log div-inv
Counts
3 → 80
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series19.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(sqrt (+ x 1.0))
6.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify70.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0514800
12206753
25001721

prune170.0ms

Filtered
59 candidates to 89 candidates (-50.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New82789
Fresh011
Picked011
Done000
Total82991

Merged error: 0.0b

Counts
91 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (+ x 1.0)))
0.1b
(sqrt (sqrt (+ x 1.0)))
0.2b
(/ (+ 1.0 0) (+ (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0)))) (sqrt x)))
0.3b
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
63×add-sqr-sqrt
55×*-un-lft-identity
40×sqrt-pow1
32×sqrt-div
31×pow1
29×add-cube-cbrt
20×pow1/2
18×swap-sqr
12×times-frac distribute-lft-out
10×flip3-+ associate-*r* associate-*l* flip-+
pow-prod-up unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times rem-sqrt-square associate-/l* add-log-exp
associate-/r*
associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod div-inv
Counts
4 → 167
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ x 1.0)))
4.0ms
(sqrt (sqrt (+ x 1.0)))
18.0ms
(/ (+ 1.0 0) (+ (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0)))) (sqrt x)))
18.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

series26.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sqrt (sqrt (+ x 1.0)))
6.0ms
(sqrt (sqrt (+ x 1.0)))
9.0ms
(/ (+ 1.0 0) (+ (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0)))) (sqrt x)))
4.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

simplify111.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
06791539
133011371
250021347

prune341.0ms

Filtered
97 candidates to 179 candidates (-84.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1781179
Fresh167
Picked011
Done011
Total1799188

Merged error: 0.0b

Counts
188 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ 1.0 0) (+ (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0)))) (sqrt x)))
0.2b
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
25×add-sqr-sqrt
19×add-cube-cbrt
13×cbrt-prod
12×times-frac
10×associate-*r*
sqrt-prod
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 cbrt-div
flip3-+ flip-+
associate-/l* add-log-exp
associate-*l* associate-/r* unswap-sqr
pow1/3 sqrt-div associate-*r/ associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv
Counts
4 → 92
Calls
4 calls:
12.0ms
(/ (+ 1.0 0) (+ (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0)))) (sqrt x)))
8.0ms
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))

series69.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ (+ 1.0 0) (+ (* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0)))) (sqrt x)))
11.0ms
(* (fabs (cbrt (+ x 1.0))) (sqrt (cbrt (+ x 1.0))))
6.0ms
(cbrt (+ x 1.0))
6.0ms
(cbrt (+ x 1.0))

simplify133.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09311718
149451624
250011624

prune400.0ms

Filtered
86 candidates to 104 candidates (-20.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1031104
Fresh156
Picked101
Done022
Total1058113

Merged error: 0.0b

Counts
113 → 8

regimes54.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1166
2166

end0.0ms

sample632.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.996948%

Guaranteed chance to sample good point: 99.993897%

Results
219.0ms1755×body1280valid
117.0ms1235×body640valid
110.0ms4143×body80valid
40.0ms574×body320valid
17.0ms293×body160valid

Profiling

Loading profile data...