Details

Time bar (total: 2.4s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify27.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite22.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:
19.0ms
(/ (- x y) (- 2.0 (+ x y)))

series51.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune103.0ms

Filtered
61 candidates to 38 candidates (62.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite155.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:
117.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
14.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))

series174.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
52.0ms
(/ y (- 2.0 (+ x y)))
52.0ms
(/ x (- 2.0 (+ x y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0377899
11162864
25001858

prune222.0ms

Filtered
125 candidates to 85 candidates (68.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
47×add-sqr-sqrt
38×times-frac
24×add-cube-cbrt associate-*l*
15×add-exp-log distribute-lft-out--
add-cbrt-cube
difference-of-squares
distribute-lft-out
associate-/r*
pow1 associate-*r*
flip3-- div-exp prod-exp associate-/r/ flip--
associate-/l* unswap-sqr
cbrt-undiv distribute-rgt-in frac-times sub-neg rec-exp distribute-lft-in 1-exp associate-*r/ cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
2 → 101
Calls
2 calls:
14.0ms
(/ 1 (- 2.0 (+ x y)))
45.0ms
(* (/ 1 (- 2.0 (+ x y))) (- x y))

series88.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(/ 1 (- 2.0 (+ x y)))
52.0ms
(* (/ 1 (- 2.0 (+ x y))) (- x y))

simplify47.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0408684
11833597
25001559

prune153.0ms

Filtered
107 candidates to 61 candidates (57.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
168×*-un-lft-identity
108×add-sqr-sqrt times-frac
68×add-cube-cbrt
54×cbrt-prod
48×unpow-prod-down cube-prod
40×distribute-lft-out--
20×distribute-lft-out difference-of-squares
12×associate-/r* associate-/r/
11×add-exp-log add-cbrt-cube
flip3-- flip-- div-inv associate-/l*
pow1
add-log-exp
cbrt-undiv pow-unpow div-exp
cube-div cube-mult frac-2neg unpow3 pow-exp clear-num rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow pow1/3 rem-cbrt-cube
Counts
4 → 214
Calls
4 calls:
14.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))
17.0ms
(pow (/ x (- 2.0 (+ x y))) 3)
18.0ms
(cbrt (pow (/ x (- 2.0 (+ x y))) 3))

series238.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(/ y (- 2.0 (+ x y)))
51.0ms
(/ x (- 2.0 (+ x y)))
73.0ms
(pow (/ x (- 2.0 (+ x y))) 3)
69.0ms
(cbrt (pow (/ x (- 2.0 (+ x y))) 3))

simplify78.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06161589
127141487
250011467

prune371.0ms

Filtered
226 candidates to 114 candidates (50.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0135
1135

end0.0ms

sample298.0ms

Algorithm
intervals
Results
177.0ms8000×body80valid