Details

Time bar (total: 3.2s)

sample18.0ms

Algorithm
intervals
Results
5.0ms199×body80valid
2.0ms26×body640valid
1.0ms18×body320valid
1.0ms10×body1280valid
0.0msbody160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
1.4b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.1b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
10.0ms
(* (- 1.0 x) y)
13.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series142.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* (- 1.0 x) y)
69.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune158.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 1 expressions with local error:

1.4b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity diff-log add-cbrt-cube flip--
Counts
1 → 12
Calls
1 calls:
2.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series69.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0112128
1351115
21878114
35001114

prune35.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (- 1.0 x) (/ y (+ y 1.0))) (+ (* (- 1.0 x) (/ y (+ y 1.0))) 1.0))
0.1b
(pow (* (- 1.0 x) (/ y (+ y 1.0))) 3)
1.3b
(- (pow 1.0 3) (pow (* (- 1.0 x) (/ y (+ y 1.0))) 3))
12.3b
(/ (- (pow 1.0 3) (pow (* (- 1.0 x) (/ y (+ y 1.0))) 3)) (+ (* (* (- 1.0 x) (/ y (+ y 1.0))) (+ (* (- 1.0 x) (/ y (+ y 1.0))) 1.0)) (* 1.0 1.0)))

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
40×difference-of-squares
39×times-frac
34×*-un-lft-identity
31×sqr-pow
24×add-cube-cbrt
21×add-exp-log add-cbrt-cube
18×frac-times
13×associate-*l/ associate-/l*
12×pow1
11×unpow-prod-down cube-prod
10×flip3-- flip--
flip3-+ prod-exp cbrt-unprod flip-+
associate-*r/ add-log-exp
difference-cubes cube-div distribute-lft-out--
pow-prod-down
cbrt-undiv pow-unpow div-exp associate-*r* pow-exp associate-/r* rem-cube-cbrt
pow-pow associate-/r/ associate-/l/
distribute-rgt-in cube-mult pow-to-exp sub-neg frac-2neg distribute-lft-in diff-log unpow3 div-sub associate-*l* clear-num *-commutative div-inv
Counts
4 → 162
Calls
4 calls:
52.0ms
(* (* (- 1.0 x) (/ y (+ y 1.0))) (+ (* (- 1.0 x) (/ y (+ y 1.0))) 1.0))
10.0ms
(pow (* (- 1.0 x) (/ y (+ y 1.0))) 3)
13.0ms
(- (pow 1.0 3) (pow (* (- 1.0 x) (/ y (+ y 1.0))) 3))
103.0ms
(/ (- (pow 1.0 3) (pow (* (- 1.0 x) (/ y (+ y 1.0))) 3)) (+ (* (* (- 1.0 x) (/ y (+ y 1.0))) (+ (* (- 1.0 x) (/ y (+ y 1.0))) 1.0)) (* 1.0 1.0)))

series868.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (* (- 1.0 x) (/ y (+ y 1.0))) (+ (* (- 1.0 x) (/ y (+ y 1.0))) 1.0))
58.0ms
(pow (* (- 1.0 x) (/ y (+ y 1.0))) 3)
148.0ms
(- (pow 1.0 3) (pow (* (- 1.0 x) (/ y (+ y 1.0))) 3))
532.0ms
(/ (- (pow 1.0 3) (pow (* (- 1.0 x) (/ y (+ y 1.0))) 3)) (+ (* (* (- 1.0 x) (/ y (+ y 1.0))) (+ (* (- 1.0 x) (/ y (+ y 1.0))) 1.0)) (* 1.0 1.0)))

simplify61.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010053719
150023556

prune570.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
diff-log associate-*r/ frac-sub
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt sub-neg flip3-- *-un-lft-identity flip3-+ associate--l+ sum-log add-cbrt-cube flip-- flip-+
Counts
1 → 16
Calls
1 calls:
13.0ms
(- (+ x (* 1.0 (/ 1 y))) (* 1.0 (/ x y)))

series36.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0168199
1660181
24085176
35001176

prune33.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.1b

regimes85.0ms

Accuracy

100% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 14.2b

bsearch83.0ms

Steps
ItersRangePoint
8
28638621.607503247
50024088429.266525
212488777.89840698
10
-7.884632933156152e+16
-925426.909356872
-104628043.80156818

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
13111

end0.0ms

sample433.0ms

Algorithm
intervals
Results
153.0ms6133×body80valid
67.0ms719×body640valid
37.0ms347×body1280valid
34.0ms515×body320valid
13.0ms286×body160valid