Details

Time bar (total: 2.3s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

simplify114.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune98.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

rewrite147.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:
114.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)))

series152.0ms

Counts
3 → 9
Calls
3 calls:
64.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
41.0ms
(/ y (- 2.0 (+ x y)))
47.0ms
(/ x (- 2.0 (+ x y)))

simplify42.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0377899
11162864
25001858

prune230.0ms

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

rewrite62.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)))
42.0ms
(* (/ 1 (- 2.0 (+ x y))) (- x y))

series83.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0408684
11833597
25001559

prune148.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

series228.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ y (- 2.0 (+ x y)))
43.0ms
(/ x (- 2.0 (+ x y)))
68.0ms
(pow (/ x (- 2.0 (+ x y))) 3)
67.0ms
(cbrt (pow (/ x (- 2.0 (+ x y))) 3))

simplify81.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06161589
127141487
250011467

prune360.0ms

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

sample299.0ms

Algorithm
intervals
Results
175.0ms8000×body80valid