Details

Time bar (total: 3.7s)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

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

series42.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

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

rewrite271.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
add-cbrt-cube 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 → 336
Calls
4 calls:
178.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
18.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
18.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
21.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))

series577.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
155.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
154.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
153.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))

simplify90.0ms

Algorithm
egg-herbie
Counts
348 → 348
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05025127
115915026
250024604

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

rewrite135.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
pow-unpow 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 → 238
Calls
3 calls:
39.0ms
(/ (- x y) (- 2.0 (+ x y)))
42.0ms
(pow (/ (- x y) (- 2.0 (+ x y))) 3)
40.0ms
(cbrt (pow (/ (- x y) (- 2.0 (+ x y))) 3))

series172.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
07202331
130992212
250012188

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

rewrite320.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 frac-times rec-exp 1-exp associate-*l/ cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 98
Calls
2 calls:
29.0ms
(/ 1 (- 2.0 (+ x y)))
286.0ms
(* (- x y) (/ 1 (- 2.0 (+ x y))))

series81.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0364646
11671565
25002515

prune141.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample349.0ms

Algorithm
intervals
Results
167.0ms7999×body80valid
0.0msbody160valid