Details

Time bar (total: 3.5s)

sample17.0ms

Algorithm
intervals
Results
4.0ms193×body80valid
2.0ms22×body640valid
1.0ms20×body320valid
1.0ms10×body1280valid
0.0ms11×body160valid

simplify70.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: 20.8b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.8b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite24.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:
6.0ms
(* (- 1.0 x) y)
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series138.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0338401
11456359
25001359

prune137.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.3b
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
28×times-frac
21×add-exp-log add-cbrt-cube
20×add-sqr-sqrt add-cube-cbrt
16×associate-/r*
11×distribute-lft-out
associate-/r/ associate-/l/
cbrt-undiv div-exp associate-/l*
associate-*l/
difference-of-squares
pow1 flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv add-log-exp
prod-exp cbrt-unprod
div-sub
Counts
4 → 122
Calls
4 calls:
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
15.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

series519.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
43.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
45.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
385.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

simplify64.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04311543
119801408
250011408

prune291.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.8b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite26.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:
7.0ms
(* (- 1.0 x) y)
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series143.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* (- 1.0 x) y)
64.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
47.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

prune135.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 4 expressions with local error:

5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.7b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.3b
(/ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
66×add-exp-log add-cbrt-cube
28×cbrt-undiv *-un-lft-identity div-exp
18×prod-exp cbrt-unprod
16×times-frac associate-/r*
12×add-sqr-sqrt add-cube-cbrt
associate-/l/
associate-/r/ distribute-lft-out
associate-*l/
pow1 frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l* add-log-exp
flip3-- flip--
frac-times associate-*r/
Counts
4 → 125
Calls
4 calls:
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
25.0ms
(/ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

series646.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
41.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
45.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
515.0ms
(/ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

simplify68.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05391456
130341132
250011099

prune253.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

regimes185.0ms

Accuracy

100% (0.0b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
6
39135938.24223837
166951548.0487144
45126711.2146551
7
-1608183693.8472729
-10592332.564180197
-131869364.42794824

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03312
13712
23712

end0.0ms

sample425.0ms

Algorithm
intervals
Results
145.0ms6115×body80valid
66.0ms738×body640valid
40.0ms367×body1280valid
36.0ms496×body320valid
12.0ms284×body160valid