Details

Time bar (total: 2.9s)

sample42.0ms

Algorithm
intervals
Results
28.0ms280×body80valid

simplify89.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
1350015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.4b

localize12.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
11.5b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 50
Calls
2 calls:
55.0ms
(* x (+ (/ x y) 1.0))
27.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series67.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* x (+ (/ x y) 1.0))
43.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0296332
11504285
25001283

prune101.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 146
Calls
2 calls:
21.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
20.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series108.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
65.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04941442
123441386
250021384

prune245.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity associate-*l*
15×add-sqr-sqrt
13×times-frac
10×add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r* distribute-lft-out
pow1 flip3-+ flip-+
frac-times associate-*r/ prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down associate-*l/ *-commutative div-inv add-log-exp
Counts
1 → 44
Calls
1 calls:
43.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0401342
11605307
25001307

prune92.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
812×times-frac
619×*-un-lft-identity
343×add-sqr-sqrt add-cube-cbrt
138×distribute-lft-out
77×associate-/r*
35×associate-/r/
31×add-exp-log
29×associate-/l*
23×div-inv
19×div-exp add-cbrt-cube
18×flip3-+ flip-+
10×cbrt-undiv
pow1
rec-exp frac-2neg 1-exp clear-num associate-/l/ add-log-exp
pow-flip inv-pow
Counts
3 → 454
Calls
3 calls:
31.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
19.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
37.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series200.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
61.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
48.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify85.0ms

Algorithm
egg-herbie
Counts
463 → 463
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012865755
150015222

prune664.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes30.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample656.0ms

Algorithm
intervals
Results
507.0ms9172×body80valid