Details

Time bar (total: 2.9s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
1.0ms71×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 (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

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

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

series202.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(+ 1.0 (sqrt (+ x 1.0)))
155.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify33.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0274394
11028351
25002347

prune76.0ms

Filtered
51 candidates to 38 candidates (25.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.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
311×*-un-lft-identity
236×sqrt-prod
195×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 div-exp add-log-exp
frac-2neg clear-num
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 329
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)))))

series869.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
139.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
437.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
155.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify110.0ms

Algorithm
egg-herbie
Counts
341 → 341
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
08915653
134625110
250025016

prune369.0ms

Filtered
341 candidates to 151 candidates (55.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3410341
Fresh011
Picked011
Done011
Total3413344

Merged error: 0b

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
56×add-sqr-sqrt
52×times-frac
40×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/
flip3-+ clear-num flip-+
cbrt-undiv frac-2neg div-exp prod-exp un-div-inv cbrt-unprod div-inv
+-commutative pow-prod-down sum-log *-commutative
Counts
3 → 130
Calls
3 calls:
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
5.0ms
(+ 1.0 (sqrt (+ x 1.0)))
18.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series500.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05031233
121881088
250011058

prune184.0ms

Filtered
139 candidates to 83 candidates (40.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh000
Picked011
Done022
Total1393142

Merged error: 0b

Counts
142 → 3

regimes30.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
161.0ms7999×body80valid
52.0ms2681×body80nan
0.0msbody1280valid