Details

Time bar (total: 3.4s)

sample19.0ms

Algorithm
intervals
Results
9.0ms255×body80valid
3.0ms77×body80nan
0.0msbody1280valid

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

rewrite26.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:
7.0ms
(sqrt (+ x 1.0))
17.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series173.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(sqrt (+ x 1.0))
140.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0292386
11084351
25002346

prune104.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
96×*-un-lft-identity
63×add-sqr-sqrt
62×add-cube-cbrt
19×associate-/r*
17×distribute-lft-out
16×add-exp-log
10×add-cbrt-cube
div-exp
associate-/l*
div-inv
pow1
cbrt-undiv sqrt-prod
add-log-exp
rec-exp frac-2neg flip3-+ sqrt-div 1-exp clear-num flip-+ associate-/l/
rem-sqrt-square pow-flip sqrt-pow1 pow1/2 associate-/r/ inv-pow
Counts
3 → 137
Calls
3 calls:
4.0ms
(sqrt (+ x 1.0))
25.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
21.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

series257.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(sqrt (+ x 1.0))
85.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
136.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

simplify65.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05711316
125721174
250011087

prune189.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
0.2b
(pow (sqrt (+ x 1.0)) 3)
3.5b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
6.8b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite111.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
62×sqrt-div
43×add-sqr-sqrt
34×sqrt-prod
32×flip3-+ flip-+
31×add-cube-cbrt
28×associate-*r/ distribute-lft-out
27×times-frac
23×unpow-prod-down cube-prod
21×pow1
16×frac-sub
12×frac-times
11×swap-sqr
add-exp-log sqrt-pow1 pow1/2 associate-/r* add-cbrt-cube
associate-*l/
associate-*r* associate-*l*
add-log-exp
pow-prod-up
sum-cubes sub-div unswap-sqr
pow-unpow pow-pow pow-prod-down pow-sqr associate-/l*
cube-div associate-/r/
cbrt-undiv pow2 cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- frac-2neg pow-plus sqrt-unprod diff-log unpow3 div-exp pow-exp prod-exp clear-num rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod div-inv rem-cube-cbrt sqr-pow
Counts
4 → 184
Calls
4 calls:
21.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
6.0ms
(pow (sqrt (+ x 1.0)) 3)
16.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
60.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series345.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
70.0ms
(pow (sqrt (+ x 1.0)) 3)
66.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
192.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify131.0ms

Algorithm
egg-herbie
Counts
196 → 196
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
07711703
138731474
250021459

prune402.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
360×times-frac
284×*-un-lft-identity
190×sqrt-prod
185×add-sqr-sqrt
184×add-cube-cbrt
50×distribute-lft-out
34×associate-/r*
10×add-exp-log add-cbrt-cube associate-/l*
div-inv
pow1 cbrt-undiv div-exp
add-log-exp
frac-2neg flip3-+ sqrt-div clear-num flip-+ associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
Counts
3 → 281
Calls
3 calls:
4.0ms
(sqrt (+ x 1.0))
26.0ms
(/ (sqrt x) (/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x)))
29.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x))

series319.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(sqrt (+ x 1.0))
140.0ms
(/ (sqrt x) (/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x)))
150.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) (sqrt x))

simplify118.0ms

Algorithm
egg-herbie
Counts
290 → 290
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
08483946
141853532
250023517

prune375.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample493.0ms

Algorithm
intervals
Results
304.0ms7996×body80valid
72.0ms2563×body80nan
1.0msbody1280valid