Details

Time bar (total: 3.4s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
2.0ms80×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 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
13×add-sqr-sqrt
12×add-cube-cbrt times-frac
distribute-lft-out
add-exp-log associate-/r* sqrt-prod add-cbrt-cube
pow1 associate-/l*
flip3-+ sqrt-div associate-/r/ flip-+ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
2 → 49
Calls
2 calls:
3.0ms
(sqrt (+ x 1.0))
7.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series170.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(sqrt (+ x 1.0))
141.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify34.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0292385
11096351
25002346

prune95.0ms

Filtered
55 candidates to 40 candidates (72.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New52355
Fresh000
Picked101
Done000
Total53356

Merged error: 0b

Counts
56 → 3

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

rewrite62.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:
6.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)))))
20.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

series808.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
125.0ms
(sqrt (+ 1.0 (sqrt (+ x 1.0))))
415.0ms
(/ x (sqrt (+ 1.0 (sqrt (+ x 1.0)))))
136.0ms
(/ (/ x (sqrt (+ 1.0 (sqrt (+ x 1.0))))) (sqrt (+ 1.0 (sqrt (+ x 1.0)))))

simplify111.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
08875646
135015039
250024953

prune377.0ms

Filtered
329 candidates to 144 candidates (43.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3290329
Fresh022
Picked011
Done000
Total3293332

Merged error: 0b

Counts
332 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(pow (sqrt (+ x 1.0)) 3)
0.2b
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
8.3b
(cbrt (pow (sqrt (+ x 1.0)) 3))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
25×add-sqr-sqrt
24×add-cube-cbrt
20×cbrt-prod sqrt-prod
14×unpow-prod-down cube-prod
12×times-frac
distribute-lft-out
pow1 add-exp-log add-cbrt-cube
sqrt-div
cube-div flip3-+ associate-/r* flip-+ add-log-exp
pow-unpow pow-pow associate-/l*
cube-mult cbrt-div sqrt-pow1 pow1/2 unpow3 associate-/r/ sqr-pow
cbrt-undiv pow-to-exp rem-sqrt-square frac-2neg pow1/3 div-exp pow-exp clear-num sqrt-pow2 rem-cbrt-cube div-inv rem-cube-cbrt
Counts
4 → 116
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
5.0ms
(pow (sqrt (+ x 1.0)) 3)
16.0ms
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
6.0ms
(cbrt (pow (sqrt (+ x 1.0)) 3))

series272.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(sqrt (+ x 1.0))
68.0ms
(pow (sqrt (+ x 1.0)) 3)
144.0ms
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
31.0ms
(cbrt (pow (sqrt (+ x 1.0)) 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0438828
11823728
25001713

prune178.0ms

Filtered
128 candidates to 75 candidates (58.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1280128
Fresh011
Picked011
Done011
Total1283131

Merged error: 0b

Counts
131 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
55×add-sqr-sqrt
52×times-frac
39×sqrt-prod
38×add-cube-cbrt
30×associate-*r*
14×distribute-lft-out
10×add-exp-log add-cbrt-cube
pow1 associate-*l* associate-/l* unswap-sqr
associate-/r* associate-/r/
flip3-+ flip-+ add-log-exp
cbrt-undiv sqrt-div div-exp prod-exp cbrt-unprod div-inv
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num *-commutative
Counts
3 → 120
Calls
3 calls:
3.0ms
(sqrt (+ x 1.0))
8.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
17.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series470.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(sqrt (+ x 1.0))
297.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
143.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05041183
121801050
250011023

prune187.0ms

Filtered
129 candidates to 80 candidates (62.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1290129
Fresh000
Picked011
Done022
Total1293132

Merged error: 0b

Counts
132 → 3

regimes13.0ms

Accuracy

0% (0.8b remaining)

Error of 0.8b against oracle of 0.0b and baseline of 0.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01010
11010

end0.0ms

sample394.0ms

Algorithm
intervals
Results
209.0ms7999×body80valid
65.0ms2663×body80nan
0.0msbody1280valid

Profiling

Loading profile data...