Details

Time bar (total: 4.2s)

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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

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:
21.0ms
(/ (- x y) (- 2.0 (+ x y)))

series50.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune107.0ms

Filtered
63 candidates to 40 candidates (63.5%)
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)))

rewrite258.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:
152.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
16.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))

series372.0ms

Counts
3 → 9
Calls
3 calls:
277.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
43.0ms
(/ y (- 2.0 (+ x y)))
51.0ms
(/ x (- 2.0 (+ x y)))

simplify254.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
0130423967
1366317833
2500117718

prune961.0ms

Filtered
731 candidates to 259 candidates (35.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
42×add-sqr-sqrt
36×times-frac
26×add-cube-cbrt
16×distribute-lft-out--
12×associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out difference-of-squares
associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u associate-/r/ add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
log1p-udef expm1-log1p log1p-expm1 expm1-udef
Counts
4 → 108
Calls
4 calls:
0.0ms
(expm1 (/ x (- 2.0 (+ x y))))
14.0ms
(/ y (- 2.0 (+ x y)))
18.0ms
(/ x (- 2.0 (+ x y)))
0.0ms
(log1p (expm1 (/ x (- 2.0 (+ x y)))))

series278.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(expm1 (/ x (- 2.0 (+ x y))))
44.0ms
(/ y (- 2.0 (+ x y)))
49.0ms
(/ x (- 2.0 (+ x y)))
94.0ms
(log1p (expm1 (/ x (- 2.0 (+ x y)))))

simplify174.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0348701
11097653
24877648
35001648

prune288.0ms

Filtered
120 candidates to 86 candidates (71.7%)
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))

rewrite79.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
expm1-log1p-u log1p-expm1-u 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 → 222
Calls
4 calls:
17.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))
18.0ms
(pow (/ x (- 2.0 (+ x y))) 3)
19.0ms
(cbrt (pow (/ x (- 2.0 (+ x y))) 3))

series231.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ y (- 2.0 (+ x y)))
50.0ms
(/ x (- 2.0 (+ x y)))
66.0ms
(pow (/ x (- 2.0 (+ x y))) 3)
71.0ms
(cbrt (pow (/ x (- 2.0 (+ x y))) 3))

simplify93.0ms

Algorithm
egg-herbie
Counts
234 → 234
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
06331620
127641512
250011490

prune408.0ms

Filtered
234 candidates to 121 candidates (51.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes52.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
0119
1119

end0.0ms

sample301.0ms

Algorithm
intervals
Results
174.0ms8000×body80valid