Details

Time bar (total: 3.6s)

sample21.0ms

Algorithm
intervals
Results
8.0ms295×body80valid

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

prune8.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: 7.3b

Counts
2 → 1

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

rewrite21.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:
8.0ms
(* x (+ (/ x y) 1.0))
11.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series84.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0296332
11504285
25001283

prune140.0ms

Filtered
56 candidates to 38 candidates (32.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New51556
Fresh000
Picked101
Done000
Total52557

Merged error: 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))

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:
12.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
12.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series132.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
80.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
250011384

prune472.0ms

Filtered
152 candidates to 95 candidates (37.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1511152
Fresh224
Picked011
Done000
Total1534157

Merged error: 0b

Counts
157 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series94.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0461516
11966468
25002468

prune227.0ms

Filtered
83 candidates to 58 candidates (30.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh022
Picked011
Done011
Total83487

Merged error: 0b

Counts
87 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) (- (/ x y) 1.0))
0.2b
(* (/ x y) (/ x y))
0.5b
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
12.5b
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
42×times-frac
40×*-un-lft-identity
36×add-cube-cbrt
32×add-exp-log add-cbrt-cube
23×associate-*r*
20×associate-*l*
15×pow1
13×swap-sqr
10×prod-exp cbrt-unprod
frac-times associate-*r/
cbrt-undiv flip3-- div-exp associate-/r/ flip--
flip3-+ flip-+ unswap-sqr
associate-*l/ div-inv
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
pow-prod-down *-commutative difference-of-squares
associate-/l/
pow2 frac-2neg pow-plus clear-num associate-/r* pow-sqr pow-prod-up distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 157
Calls
4 calls:
11.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
10.0ms
(* (/ x y) (/ x y))
10.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
18.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

series246.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
30.0ms
(* (/ x y) (/ x y))
76.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
105.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

simplify140.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
08611390
149501142
250011142

prune1.1s

Filtered
169 candidates to 112 candidates (33.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done022
Total1694173

Merged error: 0b

Counts
173 → 4

regimes79.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample486.0ms

Algorithm
intervals
Results
263.0ms9105×body80valid

Profiling

Loading profile data...