Details

Time bar (total: 2.9s)

sample15.0ms

Algorithm
intervals
Results
6.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity
62×add-sqr-sqrt
57×add-cube-cbrt
54×prod-diff
52×times-frac
13×distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-/r/
associate-/r*
div-inv add-log-exp
flip3-+ flip-+ associate-/l*
pow1 cbrt-undiv expm1-log1p-u fma-neg div-exp log1p-expm1-u
frac-2neg clear-num difference-of-squares
sub-neg flip3-- diff-log prod-exp flip-- cbrt-unprod distribute-lft-out--
Counts
3 → 132
Calls
3 calls:
34.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
9.0ms
(/ (* x y) 2.0)
18.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series107.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06662632
126251869
250021712

prune205.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite138.0ms

Algorithm
rewrite-expression-head
Rules
369×times-frac
332×*-un-lft-identity
255×add-sqr-sqrt
241×add-cube-cbrt
159×prod-diff
43×distribute-lft-out
22×add-exp-log associate-/r*
20×div-inv
16×add-cbrt-cube
10×div-exp
associate-/l*
cbrt-undiv add-log-exp
pow1 difference-of-squares
expm1-log1p-u associate-/r/ log1p-expm1-u
frac-2neg fma-neg clear-num
rec-exp 1-exp associate-/l/ distribute-lft-out--
sub-neg flip3-- pow-flip flip3-+ diff-log prod-exp flip-- cbrt-unprod flip-+ inv-pow
Counts
4 → 331
Calls
4 calls:
53.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
9.0ms
(/ (* x y) 2.0)
20.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
33.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series144.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
17.0ms
(/ (* x y) 2.0)
54.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
44.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify93.0ms

Algorithm
egg-herbie
Counts
343 → 343
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
014439147
150026299

prune343.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.0ms

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

series75.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
43.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

simplify50.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04561991
115631282
250011277

prune129.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ y (+ 1.0 (/ (* x y) 2.0))))
9.0b
(/ y (+ 1.0 (/ (* x y) 2.0)))
9.0b
(/ y (+ 1.0 (/ (* x y) 2.0)))
9.0b
(/ y (+ 1.0 (/ (* x y) 2.0)))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
48×times-frac
39×add-sqr-sqrt add-cube-cbrt
18×cbrt-prod
15×distribute-lft-out
12×associate-/r*
10×add-exp-log add-cbrt-cube
associate-/l*
associate-/r/
pow1 expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv add-log-exp
cbrt-undiv frac-2neg div-exp clear-num
cbrt-div pow1/3
Counts
4 → 134
Calls
4 calls:
9.0ms
(cbrt (/ y (+ 1.0 (/ (* x y) 2.0))))
14.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))
14.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))
15.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series385.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(cbrt (/ y (+ 1.0 (/ (* x y) 2.0))))
60.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))
62.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))
55.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04541279
115191207
250021168

prune422.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample387.0ms

Algorithm
intervals
Results
202.0ms7998×body80valid
0.0msbody1280valid