Details

Time bar (total: 23.6s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

localize9.0ms

Local error

Found 1 expressions with local error:

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

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

series52.0ms

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

simplify148.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune124.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite276.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:
15.0ms
(/ x (- 2.0 (+ x y)))
15.0ms
(/ y (- 2.0 (+ x y)))
158.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series170.0ms

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

simplify265.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
0130423967
1366517833
2500117718

prune1.1s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite634.0ms

Algorithm
rewrite-expression-head
Rules
4475×times-frac
4436×*-un-lft-identity
3073×add-sqr-sqrt
2124×add-cube-cbrt
1704×prod-diff
923×distribute-lft-out--
468×difference-of-squares
459×distribute-lft-out
179×div-inv
170×associate-/r/
74×flip3-- flip--
71×fma-neg
31×associate-/r*
19×add-exp-log
13×add-cbrt-cube
12×associate-/l*
div-exp
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
rec-exp 1-exp associate-/l/
sub-neg pow-flip diff-log div-sub frac-sub inv-pow
Counts
4 → 2006
Calls
4 calls:
27.0ms
(/ (- 2.0 (+ x y)) x)
17.0ms
(/ y (- 2.0 (+ x y)))
268.0ms
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ y (- 2.0 (+ x y))))
21.0ms
(/ 1 (/ (- 2.0 (+ x y)) x))

series225.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ (- 2.0 (+ x y)) x)
49.0ms
(/ y (- 2.0 (+ x y)))
78.0ms
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ y (- 2.0 (+ x y))))
63.0ms
(/ 1 (/ (- 2.0 (+ x y)) x))

simplify885.0ms

Algorithm
egg-herbie
Counts
2018 → 2018
Iterations

Useful iterations: 1 (54.0ms)

IterNodesCost
0288376044
1500156945

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- 2.0 (+ x y)) x)
0.0b
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ 1 (/ (- 2.0 (+ x y)) y)))
0.2b
(/ 1 (/ (- 2.0 (+ x y)) x))
0.7b
(/ 1 (/ (- 2.0 (+ x y)) y))

rewrite1.5s

Algorithm
rewrite-expression-head
Rules
17672×times-frac
14535×*-un-lft-identity
10486×add-sqr-sqrt
7754×add-cube-cbrt
5041×prod-diff
2715×distribute-lft-out--
1346×difference-of-squares
1333×distribute-lft-out
595×div-inv
149×associate-/r/
71×fma-neg
47×associate-/r*
28×add-exp-log
16×add-cbrt-cube
15×div-exp
12×associate-/l*
cbrt-undiv
pow1 add-log-exp
expm1-log1p-u rec-exp 1-exp log1p-expm1-u
frac-2neg clear-num
flip3-- pow-flip flip-- associate-/l/ inv-pow
sub-neg diff-log div-sub frac-sub
Counts
4 → 5473
Calls
4 calls:
30.0ms
(/ (- 2.0 (+ x y)) x)
460.0ms
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ 1 (/ (- 2.0 (+ x y)) y)))
19.0ms
(/ 1 (/ (- 2.0 (+ x y)) x))
19.0ms
(/ 1 (/ (- 2.0 (+ x y)) y))

series211.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/ (- 2.0 (+ x y)) x)
62.0ms
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ 1 (/ (- 2.0 (+ x y)) y)))
50.0ms
(/ 1 (/ (- 2.0 (+ x y)) x))
69.0ms
(/ 1 (/ (- 2.0 (+ x y)) y))

simplify2.3s

Algorithm
egg-herbie
Counts
5485 → 5485
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05001277255

prune13.7s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

sample302.0ms

Algorithm
intervals
Results
173.0ms7999×body80valid
0.0msbody640valid