Details

Time bar (total: 3.6s)

sample17.0ms

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

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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

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

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

series143.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune154.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize12.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:
10.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))
13.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))))

series530.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
48.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
398.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))))

simplify75.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04311543
120191406
250011406

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

rewrite30.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:
11.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))

series140.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* (- 1.0 x) y)
69.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 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune145.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.3b

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

rewrite64.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:
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
13.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
27.0ms
(/ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

series666.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
47.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
535.0ms
(/ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

simplify77.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05391456
130341132
250011099

prune277.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

regimes188.0ms

Accuracy

100% (0.0b remaining)

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

bsearch59.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
03111
13311
23311

end0.0ms

sample445.0ms

Algorithm
intervals
Results
155.0ms6115×body80valid
70.0ms738×body640valid
45.0ms367×body1280valid
34.0ms496×body320valid
13.0ms284×body160valid