Details

Time bar (total: 3.5s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite41.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 frac-2neg div-sub div-exp clear-num div-inv add-log-exp
Counts
1 → 58
Calls
1 calls:
37.0ms
(/ (- x y) (- 2.0 (+ x y)))

series57.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

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

rewrite111.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
rec-exp frac-2neg 1-exp clear-num associate-/l/ add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 226
Calls
2 calls:
49.0ms
(/ (- 2.0 (+ x y)) (- x y))
45.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series144.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
232 → 232
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06452314
131022113
250011926

prune242.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
(* (/ 1 (- 2.0 (+ x y))) (- x y))

rewrite115.0ms

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

series77.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0408684
11833597
25001559

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

rewrite502.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 distribute-lft-in associate-/r/
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 frac-2neg pow-plus div-sub clear-num sum-log pow-sqr pow-prod-up
Counts
4 → 444
Calls
4 calls:
32.0ms
(* (+ x y) (+ x y))
20.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
86.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
326.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

series281.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(* (+ x y) (+ x y))
36.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
104.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
127.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

simplify97.0ms

Algorithm
egg-herbie
Counts
456 → 456
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
017406006
150025806

prune887.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample330.0ms

Algorithm
intervals
Results
160.0ms7999×body80valid
0.0msbody320valid