Details

Time bar (total: 3.6s)

sample15.0ms

Algorithm
intervals
Results
7.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 3 expressions with local error:

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

rewrite29.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:
12.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
5.0ms
(/ (* x y) 2.0)
6.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series124.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
19.0ms
(/ (* x y) 2.0)
67.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06662632
126251869
250021712

prune215.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
0.0b
(/ (* x y) 2.0)
0.3b
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
8.9b
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

rewrite29.0ms

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

series167.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
21.0ms
(/ (* x y) 2.0)
48.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
65.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify67.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0528937
12575815
25002764

prune242.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
101×times-frac
81×*-un-lft-identity
73×add-sqr-sqrt
66×add-cube-cbrt
22×add-exp-log
18×associate-*r*
17×associate-/r*
16×add-cbrt-cube
pow1 div-exp div-inv distribute-lft-out
associate-/l* add-log-exp
cbrt-undiv associate-/r/
expm1-log1p-u prod-exp log1p-expm1-u
fma-neg associate-*l* prod-diff unswap-sqr
rec-exp frac-2neg flip3-+ 1-exp clear-num cbrt-unprod flip-+
sub-neg flip3-- pow-flip diff-log associate-*r/ pow-prod-down un-div-inv *-commutative flip-- inv-pow
Counts
4 → 174
Calls
4 calls:
3.0ms
(- x (* y (/ 1 (+ 1.0 (/ x (/ 2.0 y))))))
6.0ms
(/ x (/ 2.0 y))
22.0ms
(/ 1 (+ 1.0 (/ x (/ 2.0 y))))
27.0ms
(* y (/ 1 (+ 1.0 (/ x (/ 2.0 y)))))

series170.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(- x (* y (/ 1 (+ 1.0 (/ x (/ 2.0 y))))))
19.0ms
(/ x (/ 2.0 y))
52.0ms
(/ 1 (+ 1.0 (/ x (/ 2.0 y))))
65.0ms
(* y (/ 1 (+ 1.0 (/ x (/ 2.0 y)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
07351303
134831136
250011085

prune372.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

3.1b
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
3.1b
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
19.0b
(* (fma (/ (* x y) 2.0) (- (/ (* x y) 2.0) 1.0) (* 1.0 1.0)) (+ (- (/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))) (/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))))
25.3b
(/ (* (fma (/ (* x y) 2.0) (- (/ (* x y) 2.0) 1.0) (* 1.0 1.0)) y) (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))

rewrite286.0ms

Algorithm
rewrite-expression-head
Rules
972×*-un-lft-identity
459×times-frac
434×distribute-lft-out
296×unpow-prod-down cube-prod
229×associate-*r*
178×add-sqr-sqrt
176×add-cube-cbrt
142×distribute-lft-neg-in distribute-rgt-out
75×distribute-rgt-neg-in
27×associate-/r*
22×sum-cubes
15×add-exp-log add-cbrt-cube
14×associate-/r/
neg-mul-1 distribute-lft1-in flip3-+ flip-+
div-inv associate-/l*
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg associate-*r/ associate-*l* clear-num
prod-exp cbrt-unprod
distribute-rgt-in distribute-lft-in pow-prod-down frac-add *-commutative distribute-neg-frac unswap-sqr
Counts
4 → 398
Calls
4 calls:
17.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
17.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
186.0ms
(* (fma (/ (* x y) 2.0) (- (/ (* x y) 2.0) 1.0) (* 1.0 1.0)) (+ (- (/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))) (/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))))
19.0ms
(/ (* (fma (/ (* x y) 2.0) (- (/ (* x y) 2.0) 1.0) (* 1.0 1.0)) y) (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))

series296.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
66.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
5.0ms
(* (fma (/ (* x y) 2.0) (- (/ (* x y) 2.0) 1.0) (* 1.0 1.0)) (+ (- (/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))) (/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))))
161.0ms
(/ (* (fma (/ (* x y) 2.0) (- (/ (* x y) 2.0) 1.0) (* 1.0 1.0)) y) (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))

simplify163.0ms

Algorithm
egg-herbie
Counts
410 → 410
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
06735356
138784872
250014870

prune768.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.1b 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
0156
1156

end0.0ms

sample352.0ms

Algorithm
intervals
Results
216.0ms7999×body80valid
0.0msbody2560valid