Details

Time bar (total: 3.8s)

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

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

series59.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune122.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

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

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

series182.0ms

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

simplify277.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
0130423967
1366317833
2500117718

prune1.3s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(* (+ x y) (+ x y))
6.3b
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
17.4b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
52×add-sqr-sqrt
43×times-frac
37×add-cube-cbrt
22×associate-*l*
15×add-exp-log add-cbrt-cube
13×pow1 distribute-lft-out
11×difference-of-squares
10×associate-/r*
associate-*r*
flip3-+ flip-+ distribute-lft-out--
frac-times swap-sqr associate-/r/ associate-/l*
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
cbrt-undiv flip3-- div-exp associate-*l/ prod-exp flip-- cbrt-unprod div-inv unswap-sqr
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative
pow2 pow-plus pow-sqr pow-prod-up
Counts
4 → 167
Calls
4 calls:
18.0ms
(/ y (- 2.0 (+ x y)))
17.0ms
(* (+ x y) (+ x y))
42.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
6.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series244.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ y (- 2.0 (+ x y)))
16.0ms
(* (+ x y) (+ x y))
93.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
87.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify135.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
08001399
143971278
250011278

prune515.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample309.0ms

Algorithm
intervals
Results
175.0ms7998×body80valid
0.0msbody640valid
0.0msbody320valid