Details

Time bar (total: 1.2s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1284
2424
3444
4444

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 12.2b

localize5.0ms

Local error

Found 1 expressions with local error:

11.7b
(/ (+ x y) (* (* x 2.0) y))

rewrite13.0ms

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

series51.0ms

Counts
1 → 3
Calls
1 calls:
51.0ms
(/ (+ x y) (* (* x 2.0) y))

simplify30.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0225198
1956161
25001161

prune51.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma 0.5 (/ 1 y) (* 0.5 (/ 1 x)))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 0.5 (/ 1 y) (* 0.5 (/ 1 x)))

series28.0ms

Counts
1 → 3
Calls
1 calls:
28.0ms
(fma 0.5 (/ 1 y) (* 0.5 (/ 1 x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
03074
18665
243564
3198859
4500159

prune32.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x y) (* x 2.0))
6.9b
(/ (/ (+ x y) (* x 2.0)) y)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
33×*-un-lft-identity
21×add-sqr-sqrt add-cube-cbrt
16×add-exp-log add-cbrt-cube
12×associate-/l*
cbrt-undiv div-exp
div-inv distribute-lft-out
associate-/r*
associate-/l/
pow1 expm1-log1p-u frac-2neg prod-exp clear-num cbrt-unprod log1p-expm1-u add-log-exp
flip3-+ flip-+
Counts
2 → 81
Calls
2 calls:
8.0ms
(/ (+ x y) (* x 2.0))
11.0ms
(/ (/ (+ x y) (* x 2.0)) y)

series84.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0345558
11350499
25001496

prune144.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 0.5 (/ y x) 0.5)
6.9b
(/ (fma 0.5 (/ y x) 0.5) y)

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma 0.5 (/ y x) 0.5)
2.0ms
(/ (fma 0.5 (/ y x) 0.5) y)

series71.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(fma 0.5 (/ y x) 0.5)
48.0ms
(/ (fma 0.5 (/ y x) 0.5) y)

simplify39.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0108237
1319218
21171218
35001215

prune85.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes52.0ms

Accuracy

98.5% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 7.7b

bsearch63.0ms

Steps
ItersRangePoint
8
4.7008950119850614e-20
5.939545479408298e-16
9.433587360001542e-18
10
-0.00012459925560949148
-2.0394064324876335e-16
-5.221187662641635e-12

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02813
12813

end0.0ms

sample308.0ms

Algorithm
intervals
Results
181.0ms8000×body80valid