Details

Time bar (total: 2.1s)

sample15.0ms

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
15×times-frac
13×add-sqr-sqrt add-cube-cbrt
add-exp-log add-cbrt-cube
associate-/r*
distribute-lft-out associate-/l*
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num associate-/r/ log1p-expm1-u div-inv add-log-exp
flip3-+ prod-exp cbrt-unprod flip-+
Counts
2 → 58
Calls
2 calls:
7.0ms
(/ (* x y) 2.0)
10.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series105.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ (* x y) 2.0)
85.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0306377
11339349
25001342

prune101.0ms

Filtered
64 candidates to 47 candidates (73.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New62264
Fresh000
Picked011
Done000
Total62365

Merged error: 0b

Counts
65 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
111×times-frac
95×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
21×add-exp-log
16×distribute-lft-out
15×add-cbrt-cube
10×div-exp
associate-/l*
div-inv
cbrt-undiv
pow1
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
rec-exp 1-exp associate-/l/
pow-flip flip3-+ prod-exp associate-/r/ cbrt-unprod flip-+ inv-pow
Counts
3 → 148
Calls
3 calls:
5.0ms
(/ (* x y) 2.0)
9.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
7.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series128.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(/ (* x y) 2.0)
59.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
49.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify72.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05451294
126781161
250011051

prune205.0ms

Filtered
157 candidates to 86 candidates (54.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1570157
Fresh011
Picked011
Done011
Total1573160

Merged error: 0b

Counts
160 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1 (sqrt (+ 1.0 (/ (* x y) 2.0)))) (/ y (sqrt (+ 1.0 (/ (* x y) 2.0)))))
0.1b
(/ 1 (sqrt (+ 1.0 (/ (* x y) 2.0))))
3.8b
(sqrt (+ 1.0 (/ (* x y) 2.0)))
3.8b
(sqrt (+ 1.0 (/ (* x y) 2.0)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
102×add-sqr-sqrt
85×times-frac
80×*-un-lft-identity
59×sqrt-prod
50×add-cube-cbrt
30×add-exp-log
27×associate-*r* associate-*l*
18×add-cbrt-cube
15×unswap-sqr
12×distribute-lft-out
10×pow1 sqrt-div div-exp
prod-exp
associate-/r*
associate-/r/
cbrt-undiv flip3-+ flip-+
expm1-log1p-u cbrt-unprod log1p-expm1-u add-log-exp
rec-exp pow-flip sqrt-pow1 pow1/2 1-exp div-inv associate-/l*
rem-sqrt-square hypot-def
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
4 → 186
Calls
4 calls:
26.0ms
(* (/ 1 (sqrt (+ 1.0 (/ (* x y) 2.0)))) (/ y (sqrt (+ 1.0 (/ (* x y) 2.0)))))
9.0ms
(/ 1 (sqrt (+ 1.0 (/ (* x y) 2.0))))
5.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))
5.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))

series454.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (/ 1 (sqrt (+ 1.0 (/ (* x y) 2.0)))) (/ y (sqrt (+ 1.0 (/ (* x y) 2.0)))))
187.0ms
(/ 1 (sqrt (+ 1.0 (/ (* x y) 2.0))))
115.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))
96.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06992277
135161990
250021819

prune294.0ms

Filtered
198 candidates to 113 candidates (57.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1980198
Fresh000
Picked011
Done022
Total1983201

Merged error: 0b

Counts
201 → 3

regimes47.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0156
1156

end0.0ms

sample388.0ms

Algorithm
intervals
Results
257.0ms7997×body80valid
0.0msbody2560valid
0.0msbody1280valid

Profiling

Loading profile data...