Details

Time bar (total: 4.7s)

sample17.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

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

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

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.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

prune107.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.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))))

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

series159.0ms

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

simplify247.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0130423967
1366517833
2500117718

prune961.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
143×*-un-lft-identity
98×add-sqr-sqrt
92×times-frac
57×add-cube-cbrt
34×distribute-lft-out--
24×fma-neg associate-*r* prod-diff
19×add-exp-log
17×distribute-lft-out difference-of-squares
13×add-cbrt-cube
12×associate-/r*
10×associate-/r/
pow1
flip3-- flip-- div-inv associate-/l* add-log-exp
div-exp
expm1-log1p-u prod-exp log1p-expm1-u
cbrt-undiv associate-*r/ associate-*l* un-div-inv unswap-sqr
rec-exp frac-2neg 1-exp clear-num frac-sub cbrt-unprod sub-div
sub-neg distribute-rgt-out-- pow-flip diff-log pow-prod-down *-commutative inv-pow
Counts
4 → 206
Calls
4 calls:
14.0ms
(/ 1 (- 2.0 (+ x y)))
94.0ms
(- (/ x (- 2.0 (+ x y))) (* y (/ 1 (- 2.0 (+ x y)))))
14.0ms
(/ x (- 2.0 (+ x y)))
38.0ms
(* y (/ 1 (- 2.0 (+ x y))))

series199.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (- 2.0 (+ x y)))
63.0ms
(- (/ x (- 2.0 (+ x y))) (* y (/ 1 (- 2.0 (+ x y)))))
48.0ms
(/ x (- 2.0 (+ x y)))
49.0ms
(* y (/ 1 (- 2.0 (+ x y))))

simplify78.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05851722
124031475
250021396

prune396.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (/ y (- 2.0 (+ x y)))) (cbrt (/ y (- 2.0 (+ x y)))))
6.7b
(cbrt (/ y (- 2.0 (+ x y))))
6.7b
(cbrt (/ y (- 2.0 (+ x y))))
6.7b
(cbrt (/ y (- 2.0 (+ x y))))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
267×*-un-lft-identity
216×cbrt-prod
168×times-frac
156×add-sqr-sqrt
90×add-cube-cbrt
66×distribute-lft-out--
45×swap-sqr
33×distribute-lft-out
27×associate-*r* associate-*l*
21×difference-of-squares
14×associate-/r/
11×pow1
pow1/3 unswap-sqr
cbrt-div flip3-- flip-- div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 236
Calls
4 calls:
82.0ms
(* (cbrt (/ y (- 2.0 (+ x y)))) (cbrt (/ y (- 2.0 (+ x y)))))
8.0ms
(cbrt (/ y (- 2.0 (+ x y))))
8.0ms
(cbrt (/ y (- 2.0 (+ x y))))
9.0ms
(cbrt (/ y (- 2.0 (+ x y))))

series502.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(* (cbrt (/ y (- 2.0 (+ x y)))) (cbrt (/ y (- 2.0 (+ x y)))))
124.0ms
(cbrt (/ y (- 2.0 (+ x y))))
122.0ms
(cbrt (/ y (- 2.0 (+ x y))))
127.0ms
(cbrt (/ y (- 2.0 (+ x y))))

simplify82.0ms

Algorithm
egg-herbie
Counts
248 → 248
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04702940
115672847
250012699

prune638.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes34.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0148
1148

end0.0ms

sample439.0ms

Algorithm
intervals
Results
305.0ms8000×body80valid