Details

Time bar (total: 3.2s)

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite41.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:
23.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
9.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series99.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05742548
120671795
250011637

prune172.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
0.7b
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
4.6b
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

rewrite42.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:
2.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
9.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
27.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

series156.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
49.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
68.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0440853
11984745
25001690

prune213.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 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
0.1b
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
5.4b
(/ (+ 1.0 (/ (* x y) 2.0)) y)

rewrite96.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:
42.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
12.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
15.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series150.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
65.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
50.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify98.0ms

Algorithm
egg-herbie
Counts
317 → 317
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013509058
150026271

prune336.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.1b
(/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
0.3b
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
4.6b
(* y (* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
16.0b
(* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
126×prod-diff
120×add-sqr-sqrt
115×distribute-rgt-in distribute-lft-in
112×*-un-lft-identity
109×add-cube-cbrt
92×times-frac
68×add-exp-log
56×add-cbrt-cube
28×associate-*l* prod-exp
24×div-inv
22×cbrt-unprod
19×pow1
18×div-exp
15×cbrt-undiv
13×associate-*r*
10×associate-*r/
difference-of-squares
swap-sqr
sub-neg flip3-- flip--
frac-times pow-prod-down
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u add-log-exp unswap-sqr
rec-exp 1-exp associate-*l/ *-commutative associate-/l*
pow2 pow-flip frac-2neg pow-plus clear-num pow-sqr pow-prod-up distribute-lft-out-- inv-pow
Counts
4 → 312
Calls
4 calls:
7.0ms
(/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
15.0ms
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
48.0ms
(* y (* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
41.0ms
(* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
35.0ms
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
129.0ms
(* y (* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
100.0ms
(* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

simplify99.0ms

Algorithm
egg-herbie
Counts
324 → 324
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
014247313
150015846

prune665.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

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

sample322.0ms

Algorithm
intervals
Results
201.0ms7999×body80valid
0.0msbody640valid