Details

Time bar (total: 2.5s)

sample19.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
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.1b

Counts
2 → 1

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.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:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
8.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series24.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
4.0ms
(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

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

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.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:
8.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
5.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
9.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)))))

series70.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
15.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
29.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
16.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify127.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
011265982
146615345
250025337

prune533.0ms

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3290329
Fresh022
Picked011
Done011
Total3294333

Merged error: 0b

Counts
333 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ x (+ 1.0 (/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))))
7.0b
(/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))
7.7b
(sqrt (+ (pow x 3) (pow 1.0 3)))
10.5b
(sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
143×*-un-lft-identity
114×sqrt-prod
84×times-frac
57×add-sqr-sqrt
55×add-cube-cbrt
44×distribute-lft-out
32×unpow-prod-down cube-prod
15×associate-/l*
10×associate-/r*
add-exp-log sqrt-div sum-cubes add-cbrt-cube
pow1
flip3-+ flip-+
associate-/r/ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv associate-/l/
sqrt-undiv
Counts
4 → 176
Calls
4 calls:
38.0ms
(/ x (+ 1.0 (/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))))
20.0ms
(/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))
11.0ms
(sqrt (+ (pow x 3) (pow 1.0 3)))
5.0ms
(sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(/ x (+ 1.0 (/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))))
7.0ms
(/ (sqrt (+ (pow x 3) (pow 1.0 3))) (sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))
4.0ms
(sqrt (+ (pow x 3) (pow 1.0 3)))
4.0ms
(sqrt (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))

simplify92.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06993257
130473043
250023032

prune378.0ms

Filtered
104 candidates to 188 candidates (-80.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1880188
Fresh011
Picked011
Done022
Total1884192

Merged error: 0b

Counts
192 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite39.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:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
16.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series50.0ms

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

simplify96.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
08561494
141691377
250021353

prune199.0ms

Filtered
94 candidates to 144 candidates (-53.2%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1440144
Fresh000
Picked011
Done033
Total1444148

Merged error: 0b

Counts
148 → 4

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

sample378.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
238.0ms7996×body80valid
1.0msbody1280valid

Profiling

Loading profile data...