Details

Time bar (total: 3.0s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
2.0ms71×body80nan

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
084
184

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
fma-def associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
8.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series197.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(+ 1.0 (sqrt (+ x 1.0)))
152.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0286413
11063368
25001361

prune95.0ms

Filtered
58 candidates to 45 candidates (22.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New56258
Fresh000
Picked011
Done000
Total56359

Merged error: 0b

Counts
59 → 3

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
311×*-un-lft-identity
238×sqrt-prod
203×add-sqr-sqrt
193×add-cube-cbrt
59×distribute-lft-out
33×associate-/l*
24×sqrt-div
21×associate-/r*
20×associate-/r/
13×associate-/l/
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
frac-2neg clear-num
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 341
Calls
4 calls:
7.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
7.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
9.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
27.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series873.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
138.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
447.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
156.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify114.0ms

Algorithm
egg-herbie
Counts
353 → 353
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
09105703
135275149
250015115

prune403.0ms

Filtered
353 candidates to 161 candidates (54.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3530353
Fresh011
Picked011
Done011
Total3533356

Merged error: 0b

Counts
356 → 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.2b
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
57×add-sqr-sqrt
52×times-frac
41×add-cube-cbrt
38×sqrt-prod
30×associate-*r*
15×distribute-lft-out
13×associate-*r/ associate-/l*
10×add-exp-log add-cbrt-cube
associate-/r*
associate-*l* unswap-sqr
pow1 add-log-exp
associate-/r/
expm1-log1p-u fma-def flip3-+ clear-num flip-+ log1p-expm1-u
cbrt-undiv frac-2neg div-exp prod-exp un-div-inv cbrt-unprod div-inv
+-commutative pow-prod-down sum-log *-commutative
Counts
3 → 139
Calls
3 calls:
9.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
6.0ms
(+ 1.0 (sqrt (+ x 1.0)))
22.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series502.0ms

Counts
3 → 9
Calls
3 calls:
311.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
44.0ms
(+ 1.0 (sqrt (+ x 1.0)))
146.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05231270
122401123
250011087

prune218.0ms

Filtered
148 candidates to 92 candidates (37.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1480148
Fresh000
Picked011
Done022
Total1483151

Merged error: 0b

Counts
151 → 3

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

sample333.0ms

Algorithm
intervals
Results
165.0ms7999×body80valid
46.0ms2681×body80nan
0.0msbody1280valid