Details

Time bar (total: 3.8s)

sample15.0ms

Algorithm
intervals
Results
6.0ms256×body80valid
2.0ms97×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 3 expressions with local error:

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

rewrite58.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:
7.0ms
(sqrt (+ x 1.0))
15.0ms
(+ 1.0 (sqrt (+ x 1.0)))
34.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

series191.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(sqrt (+ x 1.0))
36.0ms
(+ 1.0 (sqrt (+ x 1.0)))
130.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify37.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0334508
11222457
25002445

prune201.0ms

Pruning

3 alts after pruning (2 fresh and 1 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)
5.0b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
7.5b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite167.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
expm1-log1p-u sum-cubes log1p-expm1-u 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 fma-neg sqrt-unprod diff-log unpow3 div-exp prod-diff pow-exp prod-exp clear-num rem-square-sqrt *-commutative sqrt-pow2 flip-- cbrt-unprod div-inv rem-cube-cbrt sqr-pow
Counts
4 → 194
Calls
4 calls:
37.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
11.0ms
(pow (sqrt (+ x 1.0)) 3)
27.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
84.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
60.0ms
(pow (sqrt (+ x 1.0)) 3)
58.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
170.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify134.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
08251791
141261518
250011510

prune776.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ x (/ (- (- (* 1.0 1.0) x) 1.0) (- 1.0 (sqrt (+ x 1.0)))))
0.2b
(/ (- (- (* 1.0 1.0) x) 1.0) (- 1.0 (sqrt (+ x 1.0))))
4.9b
(- (- (* 1.0 1.0) x) 1.0)
4.9b
(- 1.0 (sqrt (+ x 1.0)))

rewrite283.0ms

Algorithm
rewrite-expression-head
Rules
301×add-sqr-sqrt
258×times-frac
249×*-un-lft-identity
125×add-cube-cbrt
90×difference-of-squares
59×distribute-lft-out--
42×associate-/r*
39×sqrt-prod
36×prod-diff
11×add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip3-- flip-- associate-/l*
fma-neg
div-inv
associate--l+
pow1 cbrt-undiv expm1-log1p-u diff-log div-exp log1p-expm1-u
sub-neg distribute-lft-out
frac-2neg clear-num associate-/l/
associate--l- div-sub
Counts
4 → 304
Calls
4 calls:
72.0ms
(/ x (/ (- (- (* 1.0 1.0) x) 1.0) (- 1.0 (sqrt (+ x 1.0)))))
117.0ms
(/ (- (- (* 1.0 1.0) x) 1.0) (- 1.0 (sqrt (+ x 1.0))))
55.0ms
(- (- (* 1.0 1.0) x) 1.0)
19.0ms
(- 1.0 (sqrt (+ x 1.0)))

series281.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(/ x (/ (- (- (* 1.0 1.0) x) 1.0) (- 1.0 (sqrt (+ x 1.0)))))
160.0ms
(/ (- (- (* 1.0 1.0) x) 1.0) (- 1.0 (sqrt (+ x 1.0))))
10.0ms
(- (- (* 1.0 1.0) x) 1.0)
43.0ms
(- 1.0 (sqrt (+ x 1.0)))

simplify63.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09934442
150013941

prune871.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample364.0ms

Algorithm
intervals
Results
184.0ms7999×body80valid
53.0ms2791×body80nan
0.0msbody1280valid