Details

Time bar (total: 4.8s)

sample14.0ms

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

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

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

series189.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ 1.0 (sqrt (+ x 1.0)))
147.0ms
(/ x (+ 1.0 (sqrt (+ x 1.0))))

simplify36.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0290412
11095368
25001361

prune122.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
96×*-un-lft-identity
62×add-sqr-sqrt add-cube-cbrt
19×associate-/r*
17×distribute-lft-out
16×add-exp-log
10×add-cbrt-cube
div-exp
associate-/l*
div-inv
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u fma-def log1p-expm1-u
rec-exp frac-2neg flip3-+ 1-exp clear-num flip-+ associate-/l/
+-commutative pow-flip sum-log associate-/r/ inv-pow
Counts
3 → 142
Calls
3 calls:
9.0ms
(+ 1.0 (sqrt (+ x 1.0)))
26.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
24.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

series283.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(+ 1.0 (sqrt (+ x 1.0)))
88.0ms
(/ (+ 1.0 (sqrt (+ x 1.0))) x)
146.0ms
(/ 1 (/ (+ 1.0 (sqrt (+ x 1.0))) x))

simplify68.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05721353
125951204
250021111

prune217.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt (+ x 1.0)) 3)
0.1b
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
3.8b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
8.9b
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

rewrite110.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:
6.0ms
(pow (sqrt (+ x 1.0)) 3)
21.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
14.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
59.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

series349.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(pow (sqrt (+ x 1.0)) 3)
23.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
61.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))
201.0ms
(/ x (+ (pow 1.0 3) (pow (sqrt (+ x 1.0)) 3)))

simplify140.0ms

Algorithm
egg-herbie
Counts
206 → 206
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
08251791
141231518
250011510

prune446.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ (/ x (* (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))) 1)) (+ 1.0 (sqrt (+ x 1.0)))) (+ (* 1.0 1.0) (- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))))
0.1b
(/ (/ x (* (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))) 1)) (+ 1.0 (sqrt (+ x 1.0))))
0.1b
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
3.8b
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))

rewrite584.0ms

Algorithm
rewrite-expression-head
Rules
132×times-frac
127×*-un-lft-identity
96×sqrt-div
76×add-sqr-sqrt
70×flip3-+ flip-+
66×associate-*r/
65×associate-*l*
63×associate-*l/
59×add-cube-cbrt
58×associate-/r/
52×frac-sub
36×add-exp-log
33×distribute-lft-out
29×add-cbrt-cube
26×sqrt-prod
21×pow1
14×frac-times div-exp
13×associate-/l*
11×swap-sqr div-inv
10×cbrt-undiv flip3-- associate-*r* prod-exp flip--
sqrt-pow1 pow1/2
cbrt-unprod
add-log-exp unswap-sqr
pow-prod-up
expm1-log1p-u pow-prod-down associate-/r* log1p-expm1-u sub-div
pow-sqr
1-exp *-commutative
pow2 distribute-rgt-in sub-neg distribute-rgt-out-- frac-2neg distribute-lft-in pow-plus fma-neg sqrt-unprod diff-log prod-diff clear-num rem-square-sqrt associate-/l/
Counts
4 → 282
Calls
4 calls:
380.0ms
(* (/ (/ x (* (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))) 1)) (+ 1.0 (sqrt (+ x 1.0)))) (+ (* 1.0 1.0) (- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))))
149.0ms
(/ (/ x (* (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))) 1)) (+ 1.0 (sqrt (+ x 1.0))))
21.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
14.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))

series830.0ms

Counts
4 → 12
Calls
4 calls:
296.0ms
(* (/ (/ x (* (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))) 1)) (+ 1.0 (sqrt (+ x 1.0)))) (+ (* 1.0 1.0) (- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))))
449.0ms
(/ (/ x (* (- (+ (* 1.0 1.0) (+ x 1.0)) (* 1.0 (sqrt (+ x 1.0)))) 1)) (+ 1.0 (sqrt (+ x 1.0))))
23.0ms
(* (sqrt (+ x 1.0)) (sqrt (+ x 1.0)))
61.0ms
(- (* (sqrt (+ x 1.0)) (sqrt (+ x 1.0))) (* 1.0 (sqrt (+ x 1.0))))

simplify95.0ms

Algorithm
egg-herbie
Counts
294 → 294
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
018595826
150025319

prune813.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes41.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02625
12825
22825

end0.0ms

sample318.0ms

Algorithm
intervals
Results
152.0ms7997×body80valid
46.0ms2797×body80nan
0.0msbody1280valid