Details

Time bar (total: 4.2s)

sample29.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.520795%

Guaranteed chance to sample good point: 65.377249%

Results
6.0ms51×body1280valid
4.0ms45×body640valid
4.0ms133×body80valid
3.0ms113×body80nan
2.0ms21×body320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.6b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
1.9b
(- (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))

simplify30.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0282318
11037308
25001297

prune73.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New37441
Fresh000
Picked101
Done000
Total38442

Merged error: 0.1b

Counts
42 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.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))
14.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

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

simplify64.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0514800
12206753
25001721

prune154.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New82789
Fresh213
Picked011
Done000
Total84993

Merged error: 0.0b

Counts
93 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite121.0ms

Algorithm
rewrite-expression-head
Rules
1122×*-un-lft-identity
900×sqrt-prod
774×times-frac
460×distribute-lft-out
294×add-sqr-sqrt
292×add-cube-cbrt
46×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
15×flip3-+ flip-+
12×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv div-exp add-log-exp
associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 547
Calls
4 calls:
8.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
8.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
14.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
36.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series58.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
11.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
20.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
10.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify123.0ms

Algorithm
egg-herbie
Counts
559 → 559
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
0130411535
150019913

prune696.0ms

Filtered
153 candidates to 559 candidates (-265.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New5545559
Fresh437
Picked101
Done011
Total5599568

Merged error: 0b

Counts
568 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
0.2b
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3)))
0.3b
(cbrt (pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3))
0.4b
(pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3)

rewrite263.0ms

Algorithm
rewrite-expression-head
Rules
2769×*-un-lft-identity
2178×times-frac
2070×sqrt-prod
1090×distribute-lft-out
1056×cbrt-prod
796×add-sqr-sqrt add-cube-cbrt
405×unpow-prod-down cube-prod
64×sqrt-div
60×associate-/r/
46×associate-/l*
45×cube-mult unpow3 sqr-pow
36×associate-/r*
33×flip3-+ flip-+
30×div-inv
12×add-exp-log
10×add-cbrt-cube
pow1 cube-div
cbrt-undiv cbrt-div div-exp add-log-exp
pow-unpow pow-pow associate-/l/
frac-2neg clear-num
pow-to-exp sqrt-pow1 pow1/2 pow1/3 pow-exp sqrt-pow2 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 1360
Calls
4 calls:
14.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
57.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3)))
10.0ms
(cbrt (pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3))
10.0ms
(pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3)

series67.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
10.0ms
(/ (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))) (cbrt (pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3)))
12.0ms
(cbrt (pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3))
21.0ms
(pow (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) 3)

simplify305.0ms

Algorithm
egg-herbie
Counts
1372 → 1372
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
0227734287
1500129059

prune1.2s

Filtered
227 candidates to 1372 candidates (-504.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New137021372
Fresh257
Picked011
Done011
Total137291381

Merged error: 0b

Counts
1381 → 9

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

sample849.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.520795%

Guaranteed chance to sample good point: 65.377249%

Results
222.0ms1703×body1280valid
134.0ms1302×body640valid
112.0ms4147×body80nan
109.0ms4033×body80valid
51.0ms639×body320valid
16.0ms323×body160valid

Profiling

Loading profile data...