Details

Time bar (total: 2.5s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1364
2734
31274
41674
51854
61874
71874

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 16.4b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.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 expm1-log1p-u flip3-- frac-2neg clear-num flip-- log1p-expm1-u div-inv associate-/l* add-log-exp
Counts
1 → 31
Calls
1 calls:
12.0ms
(/ (* (* x 2.0) y) (- x y))

series64.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0214194
11150161
25001161

prune62.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite80.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
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r/ associate-*l/ unswap-sqr
div-inv
pow-prod-down *-commutative
Counts
4 → 131
Calls
4 calls:
2.0ms
(cbrt (- x y))
2.0ms
(cbrt (- x y))
2.0ms
(cbrt (- x y))
65.0ms
(* (/ (* x 2.0) (* (cbrt (- x y)) (cbrt (- x y)))) (/ y (cbrt (- x y))))

series493.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (- x y))
143.0ms
(cbrt (- x y))
147.0ms
(cbrt (- x y))
60.0ms
(* (/ (* x 2.0) (* (cbrt (- x y)) (cbrt (- x y)))) (/ y (cbrt (- x y))))

simplify104.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
06531489
135371286
250011192

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

rewrite29.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*
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num *-commutative
Counts
2 → 82
Calls
2 calls:
8.0ms
(/ y (- x y))
18.0ms
(* (* x 2.0) (/ y (- x y)))

series108.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0315451
11665401
25001401

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

rewrite52.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/
expm1-log1p-u log1p-expm1-u 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 → 123
Calls
3 calls:
6.0ms
(/ 1 (- x y))
18.0ms
(* y (/ 1 (- x y)))
24.0ms
(* (* x 2.0) (* y (/ 1 (- x y))))

series144.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0386660
11789532
25002490

prune166.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

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

sample329.0ms

Algorithm
intervals
Results
201.0ms8000×body80valid