Details

Time bar (total: 2.8s)

sample15.0ms

Algorithm
intervals
Results
7.0ms278×body80valid

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.1b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite57.0ms

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

series82.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
29.0ms
(* x (+ (/ x y) 1.0))
42.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0301391
11508339
25001337

prune119.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite60.0ms

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

series122.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
46.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
66.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify66.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04991501
123491440
250011438

prune286.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* x (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
8.5b
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
50×times-frac
43×*-un-lft-identity
32×add-exp-log
29×add-sqr-sqrt
27×add-cube-cbrt
20×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-/r* associate-/r/
flip3-+ flip-+ distribute-lft-out
pow1 cbrt-undiv associate-/l*
div-inv add-log-exp
prod-exp
associate-*r*
rec-exp 1-exp associate-*l* cbrt-unprod
frac-2neg clear-num associate-/l/
+-commutative distribute-rgt-in pow-flip distribute-lft-in pow-prod-down sum-log *-commutative inv-pow unswap-sqr
Counts
4 → 130
Calls
4 calls:
9.0ms
(+ (/ x y) 1.0)
32.0ms
(* x (+ (/ x y) 1.0))
23.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
15.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

series168.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (/ x y) 1.0)
32.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
82.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify68.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04851064
12632928
25001874

prune195.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite103.0ms

Algorithm
rewrite-expression-head
Rules
782×times-frac
617×*-un-lft-identity
327×add-sqr-sqrt add-cube-cbrt
145×distribute-lft-out
74×associate-/r*
29×add-exp-log
27×div-inv
19×associate-/l*
18×div-exp
17×add-cbrt-cube
11×associate-/r/
cbrt-undiv
flip3-+ flip-+
add-log-exp
pow1
rec-exp 1-exp
frac-2neg clear-num
+-commutative pow-flip sum-log associate-/l/ inv-pow
Counts
3 → 421
Calls
3 calls:
8.0ms
(+ (/ x y) 1.0)
24.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
37.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

series133.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
430 → 430
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011515364
150024841

prune556.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes38.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
0155
1175
2175

end0.0ms

sample374.0ms

Algorithm
intervals
Results
228.0ms9119×body80valid