Details

Time bar (total: 3.5s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

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

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

series43.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune101.0ms

Pruning

3 alts after pruning (3 fresh and 0 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)))

rewrite115.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:
56.0ms
(/ (- 2.0 (+ x y)) (- x y))
45.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series150.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06582336
131502130
250011941

prune251.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
62×*-un-lft-identity
47×add-sqr-sqrt
38×times-frac
24×add-cube-cbrt associate-*r*
15×add-exp-log distribute-lft-out--
add-cbrt-cube
difference-of-squares
distribute-lft-out
associate-/r*
pow1 associate-*l*
flip3-- div-exp prod-exp associate-/r/ flip--
associate-/l* unswap-sqr
cbrt-undiv expm1-log1p-u frac-times rec-exp 1-exp associate-*l/ cbrt-unprod log1p-expm1-u div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 102
Calls
2 calls:
28.0ms
(/ 1 (- 2.0 (+ x y)))
82.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))

series75.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(/ 1 (- 2.0 (+ x y)))
44.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))

simplify53.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0377663
11708581
25002530

prune145.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.0b
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
8.3b
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
27.2b
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

rewrite495.0ms

Algorithm
rewrite-expression-head
Rules
469×add-sqr-sqrt
454×*-un-lft-identity
291×times-frac
235×difference-of-squares
176×unpow-prod-down cube-prod
158×distribute-lft-out--
155×associate-*l*
88×sqr-pow
80×add-cube-cbrt
50×distribute-lft-out
29×flip3-+ associate-/r* flip-+
24×associate-*r/
16×frac-add
14×frac-times
13×pow1 add-exp-log add-cbrt-cube
11×difference-cubes
associate-*r* associate-*l/
swap-sqr add-log-exp
associate-/l*
distribute-rgt-in expm1-log1p-u distribute-lft-in associate-/r/ log1p-expm1-u
flip3-- prod-exp flip-- cbrt-unprod unswap-sqr
cbrt-undiv associate-+l+ associate-+r+ div-exp pow-prod-down *-commutative div-inv associate-/l/
+-commutative pow2 distribute-rgt-out fma-def frac-2neg pow-plus div-sub clear-num sum-log pow-sqr pow-prod-up
Counts
4 → 453
Calls
4 calls:
31.0ms
(* (+ x y) (+ x y))
19.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
85.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
322.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

series275.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (+ x y) (+ x y))
37.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
101.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
125.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

simplify101.0ms

Algorithm
egg-herbie
Counts
465 → 465
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
017916018
150025857

prune911.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes29.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
0125
1125

end0.0ms

sample336.0ms

Algorithm
intervals
Results
168.0ms7999×body80valid
0.0msbody320valid