Details

Time bar (total: 3.2s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0154
1364
2734
31274
41674
51854
61874
71874

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.0b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
142×add-sqr-sqrt
110×times-frac
100×*-un-lft-identity
90×associate-*l*
54×add-cube-cbrt
36×associate-*r*
24×unswap-sqr
23×distribute-lft-out-- difference-of-squares
22×associate-/l*
12×*-commutative
10×add-exp-log add-cbrt-cube
associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-/r/
pow1 expm1-log1p-u flip3-- frac-2neg clear-num flip-- log1p-expm1-u div-inv add-log-exp
Counts
1 → 157
Calls
1 calls:
15.0ms
(/ (* (* x 2.0) y) (- x y))

series64.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06791325
138171292
250011292

prune260.0ms

Filtered
160 candidates to 108 candidates (67.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1573160
Fresh000
Picked011
Done000
Total1574161

Merged error: 0b

Counts
161 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
151×add-sqr-sqrt
122×times-frac
120×*-un-lft-identity
102×associate-*r*
66×add-cube-cbrt
40×associate-*l*
26×associate-/l* distribute-lft-out-- difference-of-squares
20×associate-*r/
16×add-exp-log add-cbrt-cube unswap-sqr
13×*-commutative
10×associate-/r*
prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp associate-/r/
clear-num un-div-inv
expm1-log1p-u flip3-- frac-2neg flip-- log1p-expm1-u div-inv add-log-exp
pow-prod-down
Counts
2 → 207
Calls
2 calls:
9.0ms
(/ (* x 2.0) (- x y))
28.0ms
(* y (/ (* x 2.0) (- x y)))

series118.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
06331218
134391166
250021166

prune332.0ms

Filtered
213 candidates to 141 candidates (66.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2121213
Fresh112
Picked011
Done011
Total2134217

Merged error: 0b

Counts
217 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x (sqrt 2.0)) (/ (sqrt 2.0) (- x y)))
0.4b
(* x (sqrt 2.0))
0.4b
(/ (sqrt 2.0) (- x y))
6.7b
(* y (* (* x (sqrt 2.0)) (/ (sqrt 2.0) (- x y))))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
231×add-sqr-sqrt
156×associate-*r*
120×*-un-lft-identity
108×times-frac
84×sqrt-prod
76×add-cube-cbrt
61×unswap-sqr
44×associate-*r/ associate-*l*
38×add-exp-log add-cbrt-cube
21×distribute-lft-out-- difference-of-squares
20×pow1 associate-/l*
18×prod-exp cbrt-unprod
15×associate-/r*
10×pow-prod-down
associate-/r/ *-commutative
cbrt-undiv div-exp clear-num
expm1-log1p-u un-div-inv log1p-expm1-u add-log-exp
flip3-- frac-2neg flip-- div-inv
Counts
4 → 296
Calls
4 calls:
29.0ms
(* (* x (sqrt 2.0)) (/ (sqrt 2.0) (- x y)))
5.0ms
(* x (sqrt 2.0))
6.0ms
(/ (sqrt 2.0) (- x y))
40.0ms
(* y (* (* x (sqrt 2.0)) (/ (sqrt 2.0) (- x y))))

series423.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(* (* x (sqrt 2.0)) (/ (sqrt 2.0) (- x y)))
39.0ms
(* x (sqrt 2.0))
80.0ms
(/ (sqrt 2.0) (- x y))
156.0ms
(* y (* (* x (sqrt 2.0)) (/ (sqrt 2.0) (- x y))))

simplify120.0ms

Algorithm
egg-herbie
Counts
308 → 308
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
07582233
146142049
250012010

prune480.0ms

Filtered
308 candidates to 176 candidates (57.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3080308
Fresh011
Picked011
Done022
Total3084312

Merged error: 0b

Counts
312 → 4

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
151×add-sqr-sqrt
122×times-frac
120×*-un-lft-identity
102×associate-*r*
66×add-cube-cbrt
40×associate-*l*
26×associate-/l* distribute-lft-out-- difference-of-squares
20×associate-*r/
16×add-exp-log add-cbrt-cube unswap-sqr
13×*-commutative
10×associate-/r*
prod-exp cbrt-unprod
pow1 cbrt-undiv div-exp associate-/r/
clear-num un-div-inv
expm1-log1p-u flip3-- frac-2neg flip-- log1p-expm1-u div-inv add-log-exp
pow-prod-down
Counts
2 → 207
Calls
2 calls:
9.0ms
(/ (* 2.0 y) (- x y))
26.0ms
(* x (/ (* 2.0 y) (- x y)))

series119.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06321218
133511166
250011166

prune325.0ms

Filtered
213 candidates to 142 candidates (66.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New2130213
Fresh000
Picked011
Done033
Total2134217

Merged error: 0b

Counts
217 → 4

regimes86.0ms

Accuracy

94.4% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 6.8b

bsearch49.0ms

Steps
ItersRangePoint
9
1.2746623650553951e-89
4.662004956175406e-84
4.587569430300808e-84
6
-4.1115514380901975e+36
-3.164714101386257e+35
-7.119606653325013e+35

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0238
1238

end0.0ms

sample316.0ms

Algorithm
intervals
Results
191.0ms8000×body80valid