Details

Time bar (total: 2.5s)

sample22.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.012207%

Guaranteed chance to sample good point: 99.991861%

Results
11.0ms256×body80valid

simplify4.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 3 expressions with local error:

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

rewrite17.0ms

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

series25.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
16.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify47.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0460585
11938554
25002551

prune128.0ms

Filtered
55 candidates to 70 candidates (-27.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New67370
Fresh000
Picked011
Done000
Total67471

Merged error: 0b

Counts
71 → 4

localize24.0ms

Local error

Found 2 expressions with local error:

0.0b
(* -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))))
8.0b
(+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
42×add-exp-log
22×prod-exp
12×div-exp associate-*r*
11×add-cbrt-cube
add-sqr-sqrt times-frac
pow-to-exp pow-exp
add-cube-cbrt *-un-lft-identity
associate-*r/
pow1 cbrt-unprod add-log-exp
unpow-prod-down associate-*l* frac-add
cbrt-undiv
+-commutative frac-times flip3-+ pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv unpow2 unswap-sqr sqr-pow
Counts
2 → 56
Calls
2 calls:
16.0ms
(* -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))))
24.0ms
(+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))))

series63.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(* -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))))
44.0ms
(+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (* -1/2 (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0427805
12127729
25002729

prune235.0ms

Filtered
36 candidates to 62 candidates (-72.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh022
Picked011
Done011
Total62466

Merged error: 0b

Counts
66 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
56×add-sqr-sqrt
52×times-frac
39×add-cube-cbrt sqrt-prod
30×associate-*r*
15×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/l* add-log-exp unswap-sqr
flip3-+ associate-/r* associate-/r/ flip-+
cbrt-undiv sqrt-div div-exp prod-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
4 → 132
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
17.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series54.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
4.0ms
(+ 1.0 (sqrt (+ x 1.0)))
30.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
15.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
08561494
141691377
250021353

prune198.0ms

Filtered
92 candidates to 144 candidates (-56.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1440144
Fresh011
Picked011
Done022
Total1444148

Merged error: 0b

Counts
148 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
438×sqrt-prod
384×times-frac
364×add-sqr-sqrt
331×*-un-lft-identity
197×add-cube-cbrt
94×swap-sqr
59×distribute-lft-out
48×associate-*r* associate-*l*
25×unswap-sqr
20×add-exp-log add-cbrt-cube
14×sqrt-div associate-/r*
12×pow1 associate-/r/ associate-/l*
flip3-+ flip-+
cbrt-undiv sqrt-undiv div-exp div-inv
prod-exp cbrt-unprod add-log-exp
frac-2neg clear-num
pow2 frac-times rem-sqrt-square sqrt-pow1 pow-plus pow1/2 sqrt-unprod associate-*r/ pow-prod-down associate-*l/ rem-square-sqrt pow-sqr *-commutative pow-prod-up
Counts
4 → 397
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
9.0ms
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
9.0ms
(/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
52.0ms
(* (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ (sqrt x) (sqrt (+ 1.0 (sqrt (+ x 1.0))))))

series114.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
409 → 409
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013707649
150016889

prune664.0ms

Filtered
174 candidates to 409 candidates (-135.1%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New4090409
Fresh000
Picked011
Done033
Total4094413

Merged error: 0b

Counts
413 → 4

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

sample342.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 25.012207%

Guaranteed chance to sample good point: 99.991861%

Results
214.0ms7998×body80valid
0.0msbody1280valid

Profiling

Loading profile data...