Details

Time bar (total: 1.8s)

sample214.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 11.073234%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
8.0ms256×body80valid
0.0msbody80invalid

simplify61.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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite26.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

prune81.0ms

Filtered
38 candidates to 56 candidates (-47.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50656
Fresh000
Picked101
Done000
Total51657

Merged error: 0b

Counts
57 → 6

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

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

simplify65.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04941442
123441386
250011384

prune171.0ms

Filtered
95 candidates to 152 candidates (-60.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1520152
Fresh055
Picked011
Done000
Total1526158

Merged error: 0b

Counts
158 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
33×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt associate-*r*
18×distribute-lft-out
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/r/ associate-/l*
flip3-+ associate-*l* flip-+
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 81
Calls
2 calls:
11.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
17.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

series12.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0328616
11518563
25001558

prune99.0ms

Filtered
55 candidates to 87 candidates (-58.2%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New86187
Fresh134
Picked011
Done011
Total87693

Merged error: 0b

Counts
93 → 6

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
31×add-exp-log
29×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
19×associate-*r* add-cbrt-cube
13×prod-exp
11×pow1
associate-*r/ distribute-lft-out
associate-*l* cbrt-unprod
flip3-+ div-exp flip-+
frac-times pow-prod-down associate-*l/ associate-/r* associate-/r/
cbrt-undiv rec-exp 1-exp associate-/l* add-log-exp unswap-sqr
un-div-inv *-commutative div-inv
pow-flip frac-2neg clear-num inv-pow
Counts
3 → 111
Calls
3 calls:
5.0ms
(/ 1 (+ x 1.0))
16.0ms
(* (+ (/ x y) 1.0) (/ 1 (+ x 1.0)))
15.0ms
(* x (* (+ (/ x y) 1.0) (/ 1 (+ x 1.0))))

series17.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ 1 (+ x 1.0))
6.0ms
(* (+ (/ x y) 1.0) (/ 1 (+ x 1.0)))
9.0ms
(* x (* (+ (/ x y) 1.0) (/ 1 (+ x 1.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0461770
12205649
25003614

prune122.0ms

Filtered
69 candidates to 120 candidates (-73.9%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1200120
Fresh033
Picked011
Done022
Total1206126

Merged error: 0b

Counts
126 → 6

regimes87.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

sample575.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 11.073234%

Space saved by search: 0.097632%

Guaranteed chance to sample good point: 0%

Results
256.0ms8000×body80valid
4.0ms139×body80invalid

Profiling

Loading profile data...