Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
9.0ms292×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

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: 9.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
8.5b
(/ (* 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:
10.0ms
(* x (+ (/ x y) 1.0))
14.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series71.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0296332
11504285
25001283

prune96.0ms

Filtered
56 candidates to 38 candidates (67.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New51556
Fresh000
Picked101
Done000
Total52557

Merged error: 0.0b

Counts
57 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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:
14.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series112.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
66.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04941442
123441386
250021384

prune201.0ms

Filtered
152 candidates to 96 candidates (63.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1511152
Fresh044
Picked011
Done000
Total1516157

Merged error: 0b

Counts
157 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
8.5b
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

rewrite45.0ms

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

series147.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
81.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04801005
12628874
25001820

prune332.0ms

Filtered
127 candidates to 66 candidates (52.0%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1261127
Fresh224
Picked011
Done011
Total1285133

Merged error: 0b

Counts
133 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 1.0) x)
0.1b
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
794×times-frac
632×*-un-lft-identity
336×add-sqr-sqrt add-cube-cbrt
148×distribute-lft-out
77×associate-/r*
31×add-exp-log
28×div-inv
23×associate-/l*
19×div-exp add-cbrt-cube
11×associate-/r/
10×cbrt-undiv
flip3-+ flip-+
pow1
rec-exp frac-2neg 1-exp clear-num associate-/l/ add-log-exp
pow-flip inv-pow
Counts
3 → 442
Calls
3 calls:
6.0ms
(/ (+ x 1.0) x)
15.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
24.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

series171.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ (+ x 1.0) x)
81.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
42.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
451 → 451
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
011755469
150014942

prune509.0ms

Filtered
451 candidates to 223 candidates (49.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New4510451
Fresh022
Picked011
Done022
Total4515456

Merged error: 0b

Counts
456 → 5

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

end0.0ms

sample424.0ms

Algorithm
intervals
Results
284.0ms9093×body80valid

Profiling

Loading profile data...