Details

Time bar (total: 2.4s)

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
14×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube
flip3-- associate-/r/ flip-- associate-/l/
pow1 cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv add-log-exp
Counts
1 → 58
Calls
1 calls:
9.0ms
(/ (- x y) (- 2.0 (+ x y)))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(/ (- x y) (- 2.0 (+ x y)))

simplify112.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0275489
1853468
24104466
35001466

prune88.0ms

Filtered
61 candidates to 38 candidates (62.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New58361
Fresh000
Picked101
Done000
Total59362

Merged error: 0.0b

Counts
62 → 3

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(/ x (- 2.0 (+ x y)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
127×*-un-lft-identity
64×times-frac
59×add-sqr-sqrt
41×distribute-lft-out--
27×add-cube-cbrt
14×distribute-lft-out difference-of-squares
12×associate-/r*
associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-- flip-- add-log-exp
div-inv
pow1 distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 116
Calls
3 calls:
59.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
15.0ms
(/ y (- 2.0 (+ x y)))
12.0ms
(/ x (- 2.0 (+ x y)))

series190.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
66.0ms
(/ y (- 2.0 (+ x y)))
53.0ms
(/ x (- 2.0 (+ x y)))

simplify71.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0377899
11162864
25001858

prune213.0ms

Filtered
125 candidates to 85 candidates (68.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1241125
Fresh022
Picked101
Done000
Total1253128

Merged error: 0b

Counts
128 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (- 2.0 (+ x y))) (* y (/ 1 (- 2.0 (+ x y)))))
0.0b
(/ 1 (- 2.0 (+ x y)))
0.0b
(/ x (- 2.0 (+ x y)))
0.1b
(* y (/ 1 (- 2.0 (+ x y))))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
93×*-un-lft-identity
66×add-sqr-sqrt
56×times-frac
37×add-cube-cbrt
24×associate-*r*
22×distribute-lft-out--
19×add-exp-log
13×add-cbrt-cube
12×associate-/r*
11×distribute-lft-out difference-of-squares
pow1
associate-/r/ associate-/l* add-log-exp
div-exp
flip3-- prod-exp flip-- div-inv
cbrt-undiv associate-*r/ associate-*l* un-div-inv unswap-sqr
rec-exp frac-2neg 1-exp clear-num frac-sub cbrt-unprod sub-div
sub-neg distribute-rgt-out-- pow-flip diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 150
Calls
4 calls:
14.0ms
(- (/ x (- 2.0 (+ x y))) (* y (/ 1 (- 2.0 (+ x y)))))
7.0ms
(/ 1 (- 2.0 (+ x y)))
7.0ms
(/ x (- 2.0 (+ x y)))
12.0ms
(* y (/ 1 (- 2.0 (+ x y))))

series182.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (/ x (- 2.0 (+ x y))) (* y (/ 1 (- 2.0 (+ x y)))))
33.0ms
(/ 1 (- 2.0 (+ x y)))
45.0ms
(/ x (- 2.0 (+ x y)))
42.0ms
(* y (/ 1 (- 2.0 (+ x y))))

simplify58.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0481996
11979899
25001845

prune191.0ms

Filtered
162 candidates to 97 candidates (59.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1620162
Fresh022
Picked011
Done000
Total1623165

Merged error: 0b

Counts
165 → 3

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))
0.0b
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
5.3b
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
258×*-un-lft-identity
180×add-sqr-sqrt
150×times-frac
83×distribute-lft-out--
78×cbrt-prod
72×unpow-prod-down cube-prod
66×add-cube-cbrt
57×difference-of-squares
26×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-- associate-/r* flip--
div-inv associate-/l*
pow1
pow-unpow add-log-exp
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 div-sub clear-num rem-cbrt-cube
Counts
3 → 238
Calls
3 calls:
17.0ms
(/ (- x y) (- 2.0 (+ x y)))
22.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
29.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

series171.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (- x y) (- 2.0 (+ x y)))
74.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
53.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

simplify94.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07202331
130992212
250012188

prune243.0ms

Filtered
247 candidates to 99 candidates (40.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2470247
Fresh011
Picked011
Done011
Total2473250

Merged error: 0b

Counts
250 → 3

regimes43.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
0148
1148

end0.0ms

sample343.0ms

Algorithm
intervals
Results
209.0ms7999×body80valid
0.0msbody1280valid

Profiling

Loading profile data...