Details

Time bar (total: 5.6s)

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms99×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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
(+ 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
26×*-un-lft-identity
17×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 71
Calls
3 calls:
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
3.0ms
(sqrt (+ x 1.0))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series209.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ 1.0 (sqrt (+ x 1.0)))
28.0ms
(sqrt (+ x 1.0))
137.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify37.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0334508
11222457
25002445

prune132.0ms

Filtered
80 candidates to 62 candidates (77.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New77380
Fresh000
Picked011
Done000
Total77481

Merged error: 0b

Counts
81 → 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.5b
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
306×*-un-lft-identity
234×sqrt-prod
200×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 expm1-log1p-u div-exp hypot-def log1p-expm1-u add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 329
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
24.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series815.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
129.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
417.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
143.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify114.0ms

Algorithm
egg-herbie
Counts
341 → 341
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
09065694
135745078
250015052

prune401.0ms

Filtered
341 candidates to 153 candidates (44.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3401341
Fresh112
Picked011
Done011
Total3414345

Merged error: 0b

Counts
345 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.0b
(sqrt (sqrt (+ x 1.0)))
0.4b
(/ x (hypot (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
0.5b
(/ (/ x (hypot (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
172×times-frac
131×*-un-lft-identity
106×add-sqr-sqrt
99×add-cube-cbrt
73×sqrt-prod
16×distribute-lft-out associate-/l*
11×add-exp-log add-cbrt-cube
10×associate-/r* div-inv
sqrt-div
pow1
sqrt-pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
rem-sqrt-square flip3-+ pow1/2 flip-+
frac-2neg clear-num associate-/r/ hypot-def
associate-/l/
Counts
4 → 203
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
4.0ms
(sqrt (sqrt (+ x 1.0)))
3.0ms
(/ x (hypot (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
12.0ms
(/ (/ x (hypot (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series1.9s

Counts
4 → 12
Calls
4 calls:
128.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
85.0ms
(sqrt (sqrt (+ x 1.0)))
593.0ms
(/ x (hypot (sqrt 1.0) (sqrt (sqrt (+ x 1.0)))))
1.1s
(/ (/ x (hypot (sqrt 1.0) (sqrt (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013274059
150013853

prune518.0ms

Filtered
215 candidates to 142 candidates (66.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2150215
Fresh011
Picked011
Done022
Total2154219

Merged error: 0b

Counts
219 → 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)))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
59×add-sqr-sqrt
52×times-frac
40×add-cube-cbrt
39×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
expm1-log1p-u flip3-+ associate-/r* associate-/r/ flip-+ log1p-expm1-u
fma-def
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 hypot-def
Counts
4 → 144
Calls
4 calls:
6.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)))))

series494.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(+ 1.0 (sqrt (+ x 1.0)))
28.0ms
(sqrt (+ x 1.0))
288.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
133.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05541324
123241174
250011140

prune239.0ms

Filtered
156 candidates to 103 candidates (66.0%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1560156
Fresh000
Picked011
Done033
Total1564160

Merged error: 0b

Counts
160 → 4

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

sample406.0ms

Algorithm
intervals
Results
220.0ms7999×body80valid
69.0ms2660×body80nan
0.0msbody1280valid