Details

Time bar (total: 4.5s)

sample20.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify29.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

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 expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
22.0ms
(/ (- x y) (- 2.0 (+ x y)))

series59.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune120.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))) (/ y (- 2.0 (+ x y))))
0.0b
(/ x (- 2.0 (+ x y)))
0.0b
(/ y (- 2.0 (+ x y)))

rewrite272.0ms

Algorithm
rewrite-expression-head
Rules
1352×*-un-lft-identity
946×times-frac
843×add-sqr-sqrt
576×prod-diff
517×add-cube-cbrt
335×distribute-lft-out--
161×distribute-lft-out difference-of-squares
106×associate-/r/
54×flip3-- flip--
53×div-inv
24×fma-neg
12×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 722
Calls
3 calls:
166.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
15.0ms
(/ x (- 2.0 (+ x y)))
15.0ms
(/ y (- 2.0 (+ x y)))

series158.0ms

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

simplify268.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
0130423967
1366317833
2500117718

prune960.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (- 2.0 (+ x y))) (* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))))
0.0b
(/ x (- 2.0 (+ x y)))
6.8b
(* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
15.8b
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
108×*-un-lft-identity
79×times-frac
78×add-sqr-sqrt
53×add-cube-cbrt
24×fma-neg prod-diff
20×distribute-lft-out--
18×associate-*l*
17×difference-of-squares
13×add-exp-log add-cbrt-cube distribute-lft-out
11×associate-/r/
10×associate-/r*
flip--
pow1 flip3-- associate-/l* add-log-exp
associate-*r/ associate-*r* frac-sub flip-+ div-inv
expm1-log1p-u frac-times flip3-+ log1p-expm1-u
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in associate-*l/ prod-exp clear-num cbrt-unprod associate--r+ unswap-sqr
sub-neg distribute-rgt-out-- diff-log pow-prod-down *-commutative sub-div
Counts
4 → 196
Calls
4 calls:
100.0ms
(- (/ x (- 2.0 (+ x y))) (* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))))
15.0ms
(/ x (- 2.0 (+ x y)))
45.0ms
(* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
5.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series378.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(- (/ x (- 2.0 (+ x y))) (* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))))
48.0ms
(/ x (- 2.0 (+ x y)))
88.0ms
(* (/ y (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
73.0ms
(/ y (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify126.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
08842837
141852552
250012550

prune521.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity
51×add-sqr-sqrt
42×prod-diff
35×add-cube-cbrt
25×distribute-rgt-in distribute-lft-in
24×flip3-- flip--
19×add-exp-log add-cbrt-cube distribute-lft-out--
16×frac-times
15×distribute-lft-out
12×pow1 swap-sqr associate-*l*
11×associate-*r*
associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod difference-of-squares
cbrt-undiv sub-neg div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down *-commutative unswap-sqr
pow2 frac-2neg times-frac pow-plus clear-num associate-/r* pow-sqr pow-prod-up div-inv associate-/l*
Counts
3 → 172
Calls
3 calls:
38.0ms
(* (- 2.0 (+ x y)) (- x y))
63.0ms
(* (- 2.0 (+ x y)) (- 2.0 (+ x y)))
38.0ms
(/ (* (- 2.0 (+ x y)) (- x y)) (* (- 2.0 (+ x y)) (- 2.0 (+ x y))))

series119.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(* (- 2.0 (+ x y)) (- x y))
24.0ms
(* (- 2.0 (+ x y)) (- 2.0 (+ x y)))
53.0ms
(/ (* (- 2.0 (+ x y)) (- x y)) (* (- 2.0 (+ x y)) (- 2.0 (+ x y))))

simplify163.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
07592093
146531522
250011522

prune269.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes32.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

sample488.0ms

Algorithm
intervals
Results
344.0ms7999×body80valid
0.0msbody320valid