Details

Time bar (total: 4.7s)

sample13.0ms

Algorithm
intervals
Results
5.0ms255×body80valid
1.0ms84×body80nan
0.0msbody1280valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

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

series225.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ 1.0 (sqrt (+ x 1.0)))
31.0ms
(sqrt (+ x 1.0))
147.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0314484
11135435
25001427

prune100.0ms

Filtered
70 candidates to 52 candidates (74.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.1b
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
0.4b
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.4b
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
0.7b
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
242×*-un-lft-identity
210×associate-/r*
196×add-sqr-sqrt
183×sqrt-prod
169×frac-times
149×add-cube-cbrt
106×times-frac
91×associate-/l*
43×distribute-lft-out
32×add-exp-log
31×clear-num
30×frac-2neg
27×associate-*r* associate-*l*
20×add-cbrt-cube
15×unswap-sqr
13×associate-*r/ associate-*l/
11×div-exp
10×sqrt-div
pow1
prod-exp associate-/r/
cbrt-undiv
flip3-+ flip-+
cbrt-unprod div-inv add-log-exp
rec-exp pow-flip 1-exp
sqrt-pow1 pow1/2 un-div-inv
rem-sqrt-square pow-prod-down *-commutative inv-pow
Counts
4 → 399
Calls
4 calls:
6.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
40.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
9.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series919.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
430.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
147.0ms
(* (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
212.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
411 → 411
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
013005163
150014445

prune394.0ms

Filtered
411 candidates to 166 candidates (40.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New4101411
Fresh112
Picked101
Done011
Total4123415

Merged error: 0b

Counts
415 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.6b
(sqrt (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
0.6b
(sqrt (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
0.7b
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
0.7b
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
122×sqrt-prod
106×*-un-lft-identity
92×times-frac
84×add-sqr-sqrt
70×add-cube-cbrt
34×sqrt-div
28×associate-/r*
16×distribute-lft-out
14×pow1 sqrt-pow1
12×add-exp-log pow-flip associate-/l*
10×rem-sqrt-square
associate-/r/ add-cbrt-cube
pow1/2
frac-2neg flip3-+ div-exp clear-num flip-+ div-inv inv-pow add-log-exp
cbrt-undiv rec-exp 1-exp
Counts
4 → 218
Calls
4 calls:
10.0ms
(sqrt (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
10.0ms
(sqrt (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
8.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
9.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
364.0ms
(sqrt (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
353.0ms
(sqrt (/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0))))))
208.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
208.0ms
(/ 1 (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify62.0ms

Algorithm
egg-herbie
Counts
230 → 230
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04462380
116852138
250011940

prune324.0ms

Filtered
230 candidates to 100 candidates (43.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2300230
Fresh011
Picked011
Done011
Total2303233

Merged error: 0b

Counts
233 → 3

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
75×*-un-lft-identity
59×add-sqr-sqrt
52×times-frac
42×add-cube-cbrt sqrt-prod
30×associate-*r*
16×distribute-lft-out
13×associate-*r/ associate-/l*
11×add-exp-log add-cbrt-cube
associate-/r*
pow1
associate-*l* add-log-exp unswap-sqr
flip3-+ associate-/r/ flip-+
clear-num
cbrt-undiv frac-2neg sqrt-div div-exp prod-exp un-div-inv cbrt-unprod div-inv
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down sum-log *-commutative
Counts
4 → 146
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))))
21.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series531.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(+ 1.0 (sqrt (+ x 1.0)))
31.0ms
(sqrt (+ x 1.0))
305.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
145.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify67.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05421323
122971172
250011140

prune214.0ms

Filtered
158 candidates to 98 candidates (62.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1580158
Fresh000
Picked011
Done022
Total1583161

Merged error: 0b

Counts
161 → 3

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

sample304.0ms

Algorithm
intervals
Results
148.0ms7997×body80valid
45.0ms2601×body80nan
0.0msbody1280valid