Details

Time bar (total: 3.6s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

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

series44.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune109.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
0.2b
(cbrt (/ (- x y) (- 2.0 (+ x y))))
0.2b
(cbrt (/ (- x y) (- 2.0 (+ x y))))
0.2b
(cbrt (/ (- x y) (- 2.0 (+ x y))))

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
651×*-un-lft-identity
372×cbrt-prod
324×times-frac
318×add-sqr-sqrt
212×distribute-lft-out--
108×add-cube-cbrt
93×swap-sqr difference-of-squares
67×distribute-lft-out
39×associate-*r* associate-*l*
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 → 344
Calls
4 calls:
167.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
17.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
17.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
21.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))

series597.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
160.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
160.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
157.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))

simplify98.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05165166
116515068
250024650

prune709.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))
0.1b
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
7.5b
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
258×*-un-lft-identity
180×add-sqr-sqrt
150×times-frac
83×distribute-lft-out--
78×cbrt-prod
72×unpow-prod-down cube-prod
66×add-cube-cbrt
57×difference-of-squares
26×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-- associate-/r* flip--
div-inv associate-/l*
pow1
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp associate-/l/ rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 div-sub clear-num rem-cbrt-cube
Counts
3 → 244
Calls
3 calls:
39.0ms
(/ (- x y) (- 2.0 (+ x y)))
39.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
41.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

series166.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(/ (- x y) (- 2.0 (+ x y)))
78.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
44.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

simplify100.0ms

Algorithm
egg-herbie
Counts
253 → 253
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07372362
131602232
250022206

prune333.0ms

Pruning

4 alts after pruning (2 fresh and 2 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))))

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

series79.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0377663
11708581
25002530

prune152.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes62.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
0135
1135

end0.0ms

sample322.0ms

Algorithm
intervals
Results
158.0ms7999×body80valid
0.0msbody160valid