Details

Time bar (total: 2.0s)

sample20.0ms

Algorithm
intervals
Results
9.0ms284×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
1350015

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ (/ x y) 1.0))
10.3b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 50
Calls
2 calls:
9.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series11.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* x (+ (/ x y) 1.0))
7.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0296332
11504285
25001283

prune74.0ms

Filtered
56 candidates to 38 candidates (32.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New52456
Fresh000
Picked101
Done000
Total53457

Merged error: 0b

Counts
57 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))
0.1b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 146
Calls
2 calls:
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
15.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

series14.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
7.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04941442
123441386
250011384

prune169.0ms

Filtered
152 candidates to 96 candidates (36.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1520152
Fresh033
Picked011
Done000
Total1524156

Merged error: 0b

Counts
156 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
0.1b
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
0.1b
(/ x (sqrt (+ x 1.0)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
133×*-un-lft-identity
110×times-frac
100×add-sqr-sqrt
74×sqrt-prod
69×add-cube-cbrt
34×associate-*r*
32×distribute-lft-out
27×associate-*l*
20×add-exp-log add-cbrt-cube
14×associate-/r*
10×sqrt-div
unswap-sqr
associate-/r/
pow1 associate-/l*
cbrt-undiv flip3-+ div-exp flip-+
prod-exp cbrt-unprod div-inv add-log-exp
frac-2neg clear-num associate-/l/
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 206
Calls
4 calls:
3.0ms
(sqrt (+ x 1.0))
12.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
34.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
6.0ms
(/ x (sqrt (+ x 1.0)))

series34.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
12.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
7.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
8.0ms
(/ x (sqrt (+ x 1.0)))

simplify90.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
07702129
134881988
250011892

prune316.0ms

Filtered
218 candidates to 132 candidates (39.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2180218
Fresh022
Picked011
Done011
Total2184222

Merged error: 0b

Counts
222 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (/ x y) 1.0))
0.0b
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
0.0b
(* x (sqrt (+ (/ x y) 1.0)))
4.7b
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
28×sqrt-div
22×*-un-lft-identity
20×add-exp-log add-cbrt-cube
18×associate-*r/
17×add-sqr-sqrt
15×flip3-+ flip-+
14×associate-*r*
13×sqrt-prod
12×pow1 add-cube-cbrt
frac-times associate-/l/
prod-exp cbrt-unprod
distribute-lft-out
times-frac associate-*l* pow-prod-down associate-*l/ associate-/r* add-log-exp
cbrt-undiv div-exp
associate-/r/ *-commutative unswap-sqr
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num div-inv associate-/l*
Counts
4 → 106
Calls
4 calls:
7.0ms
(sqrt (+ (/ x y) 1.0))
17.0ms
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
9.0ms
(* x (sqrt (+ (/ x y) 1.0)))
22.0ms
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

series46.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (+ (/ x y) 1.0))
4.0ms
(* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))
19.0ms
(* x (sqrt (+ (/ x y) 1.0)))
7.0ms
(/ (* (* x (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0))) (+ x 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04721016
12379854
25001828

prune161.0ms

Filtered
118 candidates to 80 candidates (32.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1171118
Fresh101
Picked011
Done022
Total1184122

Merged error: 0b

Counts
122 → 4

regimes79.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
0105
1105

end0.0ms

sample534.0ms

Algorithm
intervals
Results
297.0ms9112×body80valid

Profiling

Loading profile data...