Details

Time bar (total: 2.1s)

sample16.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2265
3295
4305
5305

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: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
7.6b
(/ y (+ 1.0 (/ (* x y) 2.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
59×add-sqr-sqrt
54×add-cube-cbrt prod-diff
49×times-frac
13×distribute-lft-out
associate-/r/
add-exp-log flip3-+ associate-/r* add-cbrt-cube flip-+ div-inv add-log-exp
fma-neg associate-/l*
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- distribute-lft-out--
Counts
2 → 109
Calls
2 calls:
12.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
6.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series99.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
66.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05742548
120671795
250011637

prune140.0ms

Filtered
115 candidates to 57 candidates (49.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1114115
Fresh000
Picked101
Done000
Total1124116

Merged error: 0b

Counts
116 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
0.6b
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
7.0b
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
30×add-sqr-sqrt
26×times-frac
23×add-cube-cbrt
18×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
div-exp prod-exp associate-/r* associate-/r/
expm1-log1p-u fma-neg associate-*l* prod-diff log1p-expm1-u associate-/l* unswap-sqr
cbrt-undiv rec-exp flip3-+ 1-exp cbrt-unprod flip-+ div-inv
sub-neg flip3-- pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv *-commutative flip-- inv-pow
Counts
3 → 102
Calls
3 calls:
3.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
6.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
11.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

series146.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
52.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
60.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify56.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0440853
11984745
25001690

prune158.0ms

Filtered
111 candidates to 73 candidates (65.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1110111
Fresh033
Picked011
Done000
Total1114115

Merged error: 0b

Counts
115 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
0.2b
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
7.5b
(/ (+ 1.0 (/ (* x y) 2.0)) y)

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
366×times-frac
329×*-un-lft-identity
252×add-sqr-sqrt
238×add-cube-cbrt
159×prod-diff
43×distribute-lft-out
19×associate-/r* div-inv
16×add-exp-log
10×add-cbrt-cube
div-exp
associate-/l*
add-log-exp difference-of-squares
pow1 cbrt-undiv associate-/r/
expm1-log1p-u fma-neg log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num associate-/l/ distribute-lft-out--
sub-neg flip3-- pow-flip flip3-+ diff-log flip-- flip-+ inv-pow
Counts
3 → 308
Calls
3 calls:
27.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
9.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
7.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series151.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
57.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
56.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify92.0ms

Algorithm
egg-herbie
Counts
317 → 317
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013509058
150026271

prune269.0ms

Filtered
317 candidates to 108 candidates (34.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3161317
Fresh112
Picked101
Done011
Total3183321

Merged error: 0b

Counts
321 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
0.0b
(fma 0.5 x (* 1.0 (/ 1 y)))
0.2b
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
50×*-un-lft-identity
46×add-cube-cbrt
39×prod-diff
38×times-frac
add-exp-log
add-cbrt-cube div-inv add-log-exp
pow1
expm1-log1p-u fma-neg associate-/r* log1p-expm1-u associate-/l* difference-of-squares
div-exp distribute-lft-out--
cbrt-undiv sub-neg rec-exp flip3-- pow-flip frac-2neg diff-log 1-exp clear-num flip-- fma-udef inv-pow
Counts
3 → 104
Calls
3 calls:
8.0ms
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
1.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
3.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

series123.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
38.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
52.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

simplify59.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04612049
115341464
250021328

prune132.0ms

Filtered
113 candidates to 55 candidates (48.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done011
Total1133116

Merged error: 0b

Counts
116 → 3

regimes31.0ms

Accuracy

0% (0.0b 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
0166
1166

end0.0ms

sample394.0ms

Algorithm
intervals
Results
258.0ms8000×body80valid