Details

Time bar (total: 2.7s)

sample19.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2265
3295
4305
5305

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite48.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:
24.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
18.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series124.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05742548
120671795
250011637

prune178.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
0.1b
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
6.8b
(/ (+ 1.0 (/ (* x y) 2.0)) y)

rewrite89.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:
41.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
12.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
14.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series178.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
61.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
58.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify116.0ms

Algorithm
egg-herbie
Counts
317 → 317
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013509058
150026271

prune351.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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.1b
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

rewrite14.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)))))
0.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
2.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

series123.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04612049
116191333
250021328

prune173.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 0.5 x (* 1.0 (/ 1 y)))
0.1b
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))
0.1b
(pow (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))) 3)
39.9b
(cbrt (pow (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))) 3))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
32×cbrt-prod
26×unpow-prod-down cube-prod
13×add-exp-log
add-cbrt-cube
pow1
div-inv
expm1-log1p-u div-exp pow-exp log1p-expm1-u add-log-exp
pow-unpow pow-pow associate-/r* associate-/l*
cbrt-undiv cube-div cube-mult rec-exp pow-flip 1-exp unpow3 inv-pow rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div frac-2neg pow1/3 clear-num rem-cbrt-cube fma-udef
Counts
4 → 139
Calls
4 calls:
0.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
2.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))
4.0ms
(pow (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))) 3)
4.0ms
(cbrt (pow (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))) 3))

series216.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
50.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))
71.0ms
(pow (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))) 3)
58.0ms
(cbrt (pow (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))) 3))

simplify62.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04641172
121251050
250011037

prune231.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample494.0ms

Algorithm
intervals
Results
353.0ms8000×body80valid