Details

Time bar (total: 2.6s)

sample22.0ms

Algorithm
intervals
Results
10.0ms256×body80valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1364
2734
31274
41674
51854
61874
71874

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.4b

localize11.0ms

Local error

Found 1 expressions with local error:

15.9b
(/ (* (* x 2.0) y) (- x y))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
times-frac associate-/r*
cbrt-undiv add-cube-cbrt div-exp prod-exp cbrt-unprod
associate-/r/ distribute-lft-out-- difference-of-squares
pow1 flip3-- frac-2neg clear-num flip-- div-inv associate-/l* add-log-exp
Counts
1 → 29
Calls
1 calls:
15.0ms
(/ (* (* x 2.0) y) (- x y))

series63.0ms

Counts
1 → 3
Calls
1 calls:
63.0ms
(/ (* (* x 2.0) y) (- x y))

simplify32.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0211184
11144151
25002151

prune62.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (- x y))
0.5b
(cbrt (- x y))
0.5b
(cbrt (- x y))
5.9b
(* (/ (* x 2.0) (* (cbrt (- x y)) (cbrt (- x y)))) (/ y (cbrt (- x y))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log
43×add-sqr-sqrt
35×*-un-lft-identity
32×add-cbrt-cube
31×cbrt-prod
30×associate-*r*
27×times-frac
23×add-cube-cbrt
20×cbrt-div
18×prod-exp cbrt-unprod
13×cbrt-undiv div-exp associate-*l*
10×flip3-- associate-/r/ flip--
pow1 distribute-lft-out-- difference-of-squares
frac-times
add-log-exp
pow1/3 associate-*r/ associate-*l/ unswap-sqr
div-inv
pow-prod-down *-commutative
Counts
4 → 123
Calls
4 calls:
2.0ms
(cbrt (- x y))
2.0ms
(cbrt (- x y))
2.0ms
(cbrt (- x y))
62.0ms
(* (/ (* x 2.0) (* (cbrt (- x y)) (cbrt (- x y)))) (/ y (cbrt (- x y))))

series505.0ms

Counts
4 → 12
Calls
4 calls:
143.0ms
(cbrt (- x y))
149.0ms
(cbrt (- x y))
150.0ms
(cbrt (- x y))
63.0ms
(* (/ (* x 2.0) (* (cbrt (- x y)) (cbrt (- x y)))) (/ y (cbrt (- x y))))

simplify91.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06451447
135111244
250011150

prune558.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (- x y))
8.1b
(* (* x 2.0) (/ y (- x y)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×times-frac
21×add-cube-cbrt associate-*r*
16×add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod
associate-/r*
associate-/r/
cbrt-undiv div-exp pow-prod-down associate-/l*
flip3-- flip-- div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num *-commutative
Counts
2 → 78
Calls
2 calls:
5.0ms
(/ y (- x y))
17.0ms
(* (* x 2.0) (/ y (- x y)))

series108.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0310435
11657385
25001385

prune136.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- x y))
0.2b
(* y (/ 1 (- x y)))
8.1b
(* (* x 2.0) (* y (/ 1 (- x y))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
51×add-exp-log
44×add-sqr-sqrt
38×*-un-lft-identity
32×times-frac
31×add-cbrt-cube
27×prod-exp
23×add-cube-cbrt
22×associate-*r*
18×pow1
15×cbrt-unprod
pow-prod-down
div-exp
distribute-lft-out-- difference-of-squares
associate-/r*
cbrt-undiv rec-exp 1-exp associate-*r/ associate-*l* associate-/r/
associate-/l* add-log-exp unswap-sqr
flip3-- un-div-inv *-commutative flip-- div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 117
Calls
3 calls:
5.0ms
(/ 1 (- x y))
18.0ms
(* y (/ 1 (- x y)))
21.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

series136.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ 1 (- x y))
45.0ms
(* y (/ 1 (- x y)))
58.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

simplify52.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0379634
11779506
25001464

prune151.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes134.0ms

Accuracy

88% (0.9b remaining)

Error of 0.9b against oracle of 0.0b and baseline of 7.2b

bsearch1.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 2 (1.0ms)

IterNodesCost
02736
13036
23624
33924
44524
55624
66324
76424
86424

end0.0ms

sample312.0ms

Algorithm
intervals
Results
185.0ms8000×body80valid