Details

Time bar (total: 5.2s)

sample18.0ms

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

Filtered
1 candidates to 0 candidates (0.0%)
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)))

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

series126.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
06662632
126251869
250021712

prune223.0ms

Filtered
141 candidates to 76 candidates (53.9%)
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))))

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

series190.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
24.0ms
(/ (* x y) 2.0)
49.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
67.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify68.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0528937
12575815
25002764

prune252.0ms

Filtered
137 candidates to 91 candidates (66.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.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)))))

rewrite117.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:
2.0ms
(- x (* y (/ 1 (+ 1.0 (/ x (/ 2.0 y))))))
6.0ms
(/ x (/ 2.0 y))
31.0ms
(/ 1 (+ 1.0 (/ x (/ 2.0 y))))
70.0ms
(* y (/ 1 (+ 1.0 (/ x (/ 2.0 y)))))

series170.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- x (* y (/ 1 (+ 1.0 (/ x (/ 2.0 y))))))
19.0ms
(/ x (/ 2.0 y))
53.0ms
(/ 1 (+ 1.0 (/ x (/ 2.0 y))))
61.0ms
(* y (/ 1 (+ 1.0 (/ x (/ 2.0 y)))))

simplify84.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
07351303
134831136
250011085

prune397.0ms

Filtered
186 candidates to 135 candidates (72.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize21.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)))

rewrite1.5s

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:
36.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
38.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
1.3s
(* (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)))))
40.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)))

series292.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ y (+ (pow 1.0 3) (pow (/ (* x y) 2.0) 3)))
70.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)))))
152.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)))

simplify161.0ms

Algorithm
egg-herbie
Counts
410 → 410
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
06735356
138784872
250014870

prune964.0ms

Filtered
410 candidates to 157 candidates (38.3%)
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

sample332.0ms

Algorithm
intervals
Results
201.0ms7999×body80valid
0.0msbody2560valid