Details

Time bar (total: 2.9s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid
1.0ms80×body80nan

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
084
184

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
15×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*
expm1-log1p-u flip3-+ sqrt-div associate-/r/ flip-+ log1p-expm1-u add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num hypot-def div-inv
Counts
2 → 54
Calls
2 calls:
8.0ms
(sqrt (+ x 1.0))
34.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series155.0ms

Counts
2 → 6
Calls
2 calls:
26.0ms
(sqrt (+ x 1.0))
128.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify34.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0304400
11151366
25002357

prune111.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
32×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
18×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
div-exp prod-exp associate-/r* sqrt-prod associate-/r/
expm1-log1p-u flip3-+ associate-*l* flip-+ log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv rec-exp sqrt-div 1-exp cbrt-unprod div-inv
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num un-div-inv *-commutative hypot-def inv-pow
Counts
3 → 101
Calls
3 calls:
8.0ms
(sqrt (+ x 1.0))
34.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
72.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))

series246.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(sqrt (+ x 1.0))
91.0ms
(/ 1 (+ 1.0 (sqrt (+ x 1.0))))
128.0ms
(* x (/ 1 (+ 1.0 (sqrt (+ x 1.0)))))

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0442749
11974650
25001606

prune171.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
106×sqrt-prod
62×add-sqr-sqrt
46×*-un-lft-identity
40×sqrt-pow1
32×sqrt-div
31×pow1
28×add-cube-cbrt
20×pow1/2
18×swap-sqr
10×associate-*r* associate-*l*
flip3-+ times-frac pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube distribute-lft-out
pow-prod-down pow-sqr
expm1-log1p-u frac-times rem-sqrt-square log1p-expm1-u add-log-exp
associate-/r* associate-/l*
associate-*r/ associate-*l/ associate-/r/
cbrt-undiv pow2 frac-2neg pow-plus sqrt-unprod div-exp prod-exp clear-num rem-square-sqrt *-commutative cbrt-unprod div-inv
Counts
4 → 169
Calls
4 calls:
8.0ms
(sqrt (sqrt (+ x 1.0)))
8.0ms
(sqrt (sqrt (+ x 1.0)))
11.0ms
(/ x (+ 1.0 (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))))
47.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(sqrt (sqrt (+ x 1.0)))
80.0ms
(sqrt (sqrt (+ x 1.0)))
130.0ms
(/ x (+ 1.0 (* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))))
27.0ms
(* (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))))

simplify71.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05301344
123961172
250011118

prune306.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
57×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/
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u 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 hypot-def
Counts
3 → 127
Calls
3 calls:
7.0ms
(sqrt (+ x 1.0))
34.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
81.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

series415.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(sqrt (+ x 1.0))
272.0ms
(/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0))))
117.0ms
(* (sqrt x) (/ (sqrt x) (+ 1.0 (sqrt (+ x 1.0)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05241217
122421083
250011050

prune233.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes16.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
0135
1135

end0.0ms

sample345.0ms

Algorithm
intervals
Results
154.0ms7998×body80valid
39.0ms2712×body80nan
0.0msbody1280valid