Details

Time bar (total: 5.7s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

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

simplify118.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune100.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite150.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:
14.0ms
(/ x (- 2.0 (+ x y)))
15.0ms
(/ y (- 2.0 (+ x y)))
116.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series162.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0377899
11162864
25001858

prune222.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
139×*-un-lft-identity
126×add-sqr-sqrt
101×times-frac
66×cbrt-prod
57×add-cube-cbrt
52×unpow-prod-down cube-prod
33×distribute-lft-out--
30×difference-of-squares
16×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-- associate-/r* flip-- add-log-exp
pow1 div-inv
sqr-pow
cube-div pow-unpow associate-/l*
cbrt-undiv cube-mult cbrt-div unpow3 div-exp pow-exp rem-cube-cbrt
pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log clear-num frac-sub rem-cbrt-cube
Counts
4 → 201
Calls
4 calls:
16.0ms
(/ y (- 2.0 (+ x y)))
167.0ms
(- (/ x (- 2.0 (+ x y))) (cbrt (pow (/ y (- 2.0 (+ x y))) 3)))
20.0ms
(pow (/ y (- 2.0 (+ x y))) 3)
18.0ms
(cbrt (pow (/ y (- 2.0 (+ x y))) 3))

series281.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ y (- 2.0 (+ x y)))
93.0ms
(- (/ x (- 2.0 (+ x y))) (cbrt (pow (/ y (- 2.0 (+ x y))) 3)))
71.0ms
(pow (/ y (- 2.0 (+ x y))) 3)
65.0ms
(cbrt (pow (/ y (- 2.0 (+ x y))) 3))

simplify89.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06641850
128411710
250011688

prune336.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
3.2b
(/ x (- (pow 2.0 3) (pow (+ x y) 3)))
5.8b
(/ y (- (pow 2.0 3) (pow (+ x y) 3)))
25.2b
(* (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))) (- (/ x (- (pow 2.0 3) (pow (+ x y) 3))) (/ y (- (pow 2.0 3) (pow (+ x y) 3)))))

rewrite2.0s

Algorithm
rewrite-expression-head
Rules
816×*-un-lft-identity
408×add-sqr-sqrt
392×times-frac
312×distribute-lft-out--
304×unpow-prod-down cube-prod
204×difference-of-squares
122×associate-*r*
102×distribute-lft-out
88×sqr-pow
80×add-cube-cbrt
58×associate-/r*
13×pow1
12×add-exp-log frac-times add-cbrt-cube
11×flip3-+ flip-+
10×difference-cubes
associate-/r/
flip3-- associate-*l* flip--
associate-*r/ swap-sqr associate-/l*
associate-*l/ div-inv add-log-exp
distribute-rgt-in distribute-rgt-out-- distribute-lft-in frac-sub sub-div
cbrt-undiv sub-neg frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus pow-sqr pow-prod-up
Counts
4 → 457
Calls
4 calls:
18.0ms
(* (+ x y) (+ x y))
46.0ms
(/ x (- (pow 2.0 3) (pow (+ x y) 3)))
48.0ms
(/ y (- (pow 2.0 3) (pow (+ x y) 3)))
1.9s
(* (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))) (- (/ x (- (pow 2.0 3) (pow (+ x y) 3))) (/ y (- (pow 2.0 3) (pow (+ x y) 3)))))

series430.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (+ x y) (+ x y))
109.0ms
(/ x (- (pow 2.0 3) (pow (+ x y) 3)))
115.0ms
(/ y (- (pow 2.0 3) (pow (+ x y) 3)))
190.0ms
(* (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))) (- (/ x (- (pow 2.0 3) (pow (+ x y) 3))) (/ y (- (pow 2.0 3) (pow (+ x y) 3)))))

simplify96.0ms

Algorithm
egg-herbie
Counts
469 → 469
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
010845064
150014892

prune925.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
197

end0.0ms

sample309.0ms

Algorithm
intervals
Results
173.0ms7996×body80valid
0.0msbody640valid
0.0msbody320valid