Details

Time bar (total: 2.6s)

sample26.0ms

Algorithm
intervals
Results
18.0ms293×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.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:
29.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series63.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0296332
11504285
25001283

prune102.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

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

rewrite46.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:
20.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
19.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series112.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
66.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04941442
123441386
250021384

prune261.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite50.0ms

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

series79.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0461516
11966468
25002468

prune155.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.0b
(/ (+ x 1.0) x)
0.0b
(* (/ 1 (/ (+ x 1.0) x)) (+ (/ x y) 1.0))
0.1b
(/ 1 (/ (+ x 1.0) x))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
198×times-frac
157×*-un-lft-identity
117×add-sqr-sqrt
103×add-cube-cbrt
53×associate-*l*
35×add-exp-log
26×distribute-lft-out
19×associate-/r* add-cbrt-cube
15×div-exp
10×div-inv
cbrt-undiv prod-exp associate-/l*
pow1
unswap-sqr
rec-exp 1-exp associate-*r*
flip3-+ cbrt-unprod flip-+ add-log-exp
frac-times frac-2neg associate-*r/ clear-num associate-/r/ associate-/l/
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down associate-*l/ *-commutative inv-pow
Counts
3 → 209
Calls
3 calls:
7.0ms
(/ (+ x 1.0) x)
56.0ms
(* (/ 1 (/ (+ x 1.0) x)) (+ (/ x y) 1.0))
8.0ms
(/ 1 (/ (+ x 1.0) x))

series125.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ (+ x 1.0) x)
39.0ms
(* (/ 1 (/ (+ x 1.0) x)) (+ (/ x y) 1.0))
37.0ms
(/ 1 (/ (+ x 1.0) x))

simplify101.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
09411563
149841363
250011363

prune366.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes39.0ms

Accuracy

0% (0.1b 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
0105
1105

end0.0ms

sample666.0ms

Algorithm
intervals
Results
503.0ms9105×body80valid