Details

Time bar (total: 3.7s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

series58.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

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

rewrite283.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
(/ y (- 2.0 (+ x y)))
18.0ms
(/ x (- 2.0 (+ x y)))
162.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series187.0ms

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

simplify275.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (93.0ms)

IterNodesCost
0130423967
1366517833
2500117718

prune1.0s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
41×add-sqr-sqrt
36×times-frac
25×add-cube-cbrt
16×distribute-lft-out--
12×associate-/r*
add-exp-log
distribute-lft-out difference-of-squares
add-cbrt-cube
associate-/l*
pow1 associate-/r/
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg clear-num flip-- div-inv
rec-exp pow-flip 1-exp fma-udef inv-pow
Counts
3 → 100
Calls
3 calls:
20.0ms
(/ y (- 2.0 (+ x y)))
16.0ms
(/ 1 (- 2.0 (+ x y)))
0.0ms
(fma x (/ 1 (- 2.0 (+ x y))) (- (/ y (- 2.0 (+ x y)))))

series180.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0318676
11122613
25002583

prune218.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
292×*-un-lft-identity
258×times-frac
214×add-sqr-sqrt
100×add-cube-cbrt
83×distribute-lft-out--
57×difference-of-squares
41×associate-/r*
26×distribute-lft-out
15×add-exp-log
11×associate-/r/
add-cbrt-cube associate-/l*
div-exp
flip3-- flip-- div-inv
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 230
Calls
2 calls:
30.0ms
(/ (- 2.0 (+ x y)) (- x y))
26.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series187.0ms

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

simplify97.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
06582336
131502130
250011941

prune304.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample307.0ms

Algorithm
intervals
Results
172.0ms8000×body80valid