Details

Time bar (total: 1.8s)

sample14.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 25.048822%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
7.0ms256×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series19.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(+ 1.0 (sqrt (+ x 1.0)))
15.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify41.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0405483
11775452
25003451

prune94.0ms

Filtered
40 candidates to 51 candidates (-27.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New49251
Fresh000
Picked011
Done000
Total49352

Merged error: 0b

Counts
52 → 3

localize7.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.1b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.3b
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.4b
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
306×*-un-lft-identity
232×sqrt-prod
192×add-sqr-sqrt
190×add-cube-cbrt
58×distribute-lft-out
30×associate-/l*
24×sqrt-div
20×associate-/r/
14×associate-/r*
12×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×div-inv
pow1
cbrt-undiv div-exp add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 317
Calls
4 calls:
5.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
5.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
21.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series69.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
011265982
146615345
250025337

prune589.0ms

Filtered
147 candidates to 329 candidates (-123.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3290329
Fresh011
Picked011
Done011
Total3293332

Merged error: 0b

Counts
332 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
53×add-sqr-sqrt
52×times-frac
37×add-cube-cbrt
35×sqrt-prod
30×associate-*r*
14×distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-*l* associate-/l* unswap-sqr
pow1 add-log-exp
associate-/r* associate-/r/
flip3-+ flip-+
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 116
Calls
3 calls:
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
16.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series50.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
4.0ms
(+ 1.0 (sqrt (+ x 1.0)))
18.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify93.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
08041392
140011275
250011253

prune170.0ms

Filtered
79 candidates to 125 candidates (-58.2%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1250125
Fresh000
Picked011
Done022
Total1253128

Merged error: 0b

Counts
128 → 3

regimes62.0ms

Accuracy

0% (0.2b 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
084
184

end0.0ms

sample316.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 25.048822%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
222.0ms7998×body80valid
0.0msbody1280valid

Profiling

Loading profile data...