Details

Time bar (total: 2.2s)

sample15.0ms

Algorithm
intervals
Results
7.0ms288×body80valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 7.9b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series70.0ms

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

prune99.0ms

Filtered
56 candidates to 38 candidates (67.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New50656
Fresh000
Picked101
Done000
Total51657

Merged error: 0.0b

Counts
57 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.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:
17.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series108.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04941442
123441386
250021384

prune247.0ms

Filtered
152 candidates to 95 candidates (62.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1493152
Fresh325
Picked101
Done000
Total1535158

Merged error: 0b

Counts
158 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.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))
17.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

series79.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0461516
11966468
25002468

prune147.0ms

Filtered
83 candidates to 59 candidates (71.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New81283
Fresh224
Picked011
Done000
Total83588

Merged error: 0b

Counts
88 → 5

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
73×times-frac
70×*-un-lft-identity
52×add-cube-cbrt
32×add-exp-log add-cbrt-cube
31×associate-*l*
17×associate-*r*
13×pow1 swap-sqr
10×cbrt-undiv div-exp associate-/r*
prod-exp cbrt-unprod
div-inv distribute-lft-out
associate-/r/ unswap-sqr
frac-times flip3-- associate-*r/ flip-- associate-/l/ difference-of-squares
associate-/l* add-log-exp
associate-*l/
distribute-rgt-in sub-neg frac-2neg distribute-lft-in flip3-+ pow-prod-down clear-num *-commutative flip-+ distribute-lft-out--
pow2 pow-plus pow-sqr pow-prod-up
Counts
4 → 182
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
10.0ms
(* (/ x y) (/ x y))
14.0ms
(* (/ x (+ x 1.0)) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
19.0ms
(/ (* (/ x (+ x 1.0)) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

series219.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ x (+ x 1.0))
25.0ms
(* (/ x y) (/ x y))
79.0ms
(* (/ x (+ x 1.0)) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
83.0ms
(/ (* (/ x (+ x 1.0)) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09171647
150011433

prune366.0ms

Filtered
194 candidates to 131 candidates (67.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1940194
Fresh033
Picked011
Done011
Total1945199

Merged error: 0b

Counts
199 → 5

regimes40.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
0115
1115

end0.0ms

sample358.0ms

Algorithm
intervals
Results
225.0ms9130×body80valid