Details

Time bar (total: 3.9s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite246.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:
39.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 (26.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune100.0ms

Pruning

4 alts after pruning (4 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
(/ y (- 2.0 (+ x y)))
0.0b
(/ x (- 2.0 (+ x y)))

rewrite378.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:
243.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
27.0ms
(/ y (- 2.0 (+ x y)))
29.0ms
(/ x (- 2.0 (+ x y)))

series162.0ms

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

simplify228.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0130423967
1366317833
2500117718

prune874.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series51.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune96.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(/ y (- 2.0 (+ x y)))
8.1b
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
13.6b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite154.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
65×add-sqr-sqrt
61×times-frac
44×add-cube-cbrt
18×associate-*l*
16×associate-/r* distribute-lft-out--
15×add-exp-log add-cbrt-cube difference-of-squares
11×distribute-lft-out
associate-/l*
associate-/r/
pow1
associate-*r*
cbrt-undiv expm1-log1p-u flip3-- div-exp flip-- log1p-expm1-u div-inv add-log-exp
frac-2neg clear-num
frac-times flip3-+ associate-*r/ prod-exp cbrt-unprod flip-+ unswap-sqr
distribute-rgt-in distribute-lft-in pow-prod-down associate-*l/ *-commutative
Counts
4 → 168
Calls
4 calls:
27.0ms
(/ y (- 2.0 (+ x y)))
27.0ms
(/ y (- 2.0 (+ x y)))
82.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
12.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series261.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ y (- 2.0 (+ x y)))
48.0ms
(/ y (- 2.0 (+ x y)))
91.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
75.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify88.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06481463
130421351
250021346

prune468.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes46.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
084
184

end0.0ms

sample333.0ms

Algorithm
intervals
Results
163.0ms7997×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid