Details

Time bar (total: 4.0s)

sample13.0ms

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

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
17×add-sqr-sqrt
14×add-cube-cbrt
12×times-frac
distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* sqrt-prod
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 71
Calls
3 calls:
8.0ms
(+ 1.0 (sqrt (+ x 1.0)))
4.0ms
(sqrt (+ x 1.0))
16.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series217.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ 1.0 (sqrt (+ x 1.0)))
29.0ms
(sqrt (+ x 1.0))
142.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify39.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0334508
11222457
25002445

prune165.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.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))))
5.9b
(cbrt (pow (sqrt (+ x 1.0)) 3))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
27×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 expm1-log1p-u flip3-+ associate-/r* flip-+ log1p-expm1-u 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 hypot-def div-inv rem-cube-cbrt
Counts
4 → 125
Calls
4 calls:
4.0ms
(sqrt (+ x 1.0))
5.0ms
(pow (sqrt (+ x 1.0)) 3)
44.0ms
(/ x (+ 1.0 (cbrt (pow (sqrt (+ x 1.0)) 3))))
6.0ms
(cbrt (pow (sqrt (+ x 1.0)) 3))

series275.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ x 1.0))
69.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))

simplify58.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0455860
11900759
25002732

prune262.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize26.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (/ x (+ (sqrt 1.0) 1.0)))
0.0b
(/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))
7.2b
(fma (- 1/2) (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))) (fma 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2))) (+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (/ x (+ (sqrt 1.0) 1.0)))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log
12×div-exp
prod-exp
times-frac add-cbrt-cube associate-/l*
add-sqr-sqrt pow-to-exp add-cube-cbrt *-un-lft-identity pow-exp
unpow-prod-down
add-log-exp
pow1 expm1-log1p-u frac-add log1p-expm1-u
cbrt-undiv unpow2 sqr-pow
+-commutative frac-times fma-def frac-2neg flip3-+ associate-*r/ associate-*l/ clear-num associate-/r* sum-log cbrt-unprod flip-+ fma-udef div-inv
Counts
3 → 70
Calls
3 calls:
44.0ms
(+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (/ x (+ (sqrt 1.0) 1.0)))
13.0ms
(/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))
0.0ms
(fma (- 1/2) (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))) (fma 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2))) (+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (/ x (+ (sqrt 1.0) 1.0)))))

series1.0s

Counts
3 → 9
Calls
3 calls:
328.0ms
(+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (/ x (+ (sqrt 1.0) 1.0)))
178.0ms
(/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2)))
497.0ms
(fma (- 1/2) (/ (pow x 2) (* (sqrt 1.0) (pow (+ (sqrt 1.0) 1.0) 2))) (fma 1/8 (/ (pow x 3) (* (pow (sqrt 1.0) 3) (pow (+ (sqrt 1.0) 1.0) 2))) (+ (* (/ 1/4 1.0) (/ (pow x 3) (pow (+ (sqrt 1.0) 1.0) 3))) (/ x (+ (sqrt 1.0) 1.0)))))

simplify70.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04241151
121481011
25001995

prune338.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
73×*-un-lft-identity
60×add-sqr-sqrt
52×times-frac
43×sqrt-prod
41×add-cube-cbrt
30×associate-*r*
16×distribute-lft-out
11×add-exp-log add-cbrt-cube
pow1 fma-def
associate-*l* associate-/l* add-log-exp unswap-sqr
expm1-log1p-u flip3-+ associate-/r* associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv sqrt-div div-exp prod-exp cbrt-unprod div-inv
+-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down clear-num sum-log *-commutative hypot-def
Counts
4 → 148
Calls
4 calls:
21.0ms
(/ (sqrt x) (+ (sqrt (+ x 1.0)) 1.0))
19.0ms
(+ (sqrt (+ x 1.0)) 1.0)
4.0ms
(sqrt (+ x 1.0))
53.0ms
(* (sqrt x) (/ (sqrt x) (+ (sqrt (+ x 1.0)) 1.0)))

series512.0ms

Counts
4 → 12
Calls
4 calls:
294.0ms
(/ (sqrt x) (+ (sqrt (+ x 1.0)) 1.0))
48.0ms
(+ (sqrt (+ x 1.0)) 1.0)
29.0ms
(sqrt (+ x 1.0))
141.0ms
(* (sqrt x) (/ (sqrt x) (+ (sqrt (+ x 1.0)) 1.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05531320
123231172
250011139

prune312.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes21.0ms

Accuracy

99.8% (0.0b remaining)

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

bsearch32.0ms

Steps
ItersRangePoint
9
1.560051953962792e-13
7.712829756242493e-08
8.626548691723187e-11

simplify7.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02013
12013

end0.0ms

sample304.0ms

Algorithm
intervals
Results
150.0ms7999×body80valid
42.0ms2652×body80nan
0.0msbody1280valid