Details

Time bar (total: 2.2s)

sample17.0ms

Algorithm
intervals
Results
9.0ms295×body80valid

simplify95.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: 9.8b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series72.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0296332
11504285
25001283

prune92.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: 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))

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

series111.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04941442
123441386
250021384

prune207.0ms

Filtered
152 candidates to 96 candidates (63.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1511152
Fresh145
Picked011
Done000
Total1526158

Merged error: 0b

Counts
158 → 6

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

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

series81.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0461516
11966468
25002468

prune125.0ms

Filtered
83 candidates to 59 candidates (71.1%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh044
Picked011
Done011
Total83689

Merged error: 0b

Counts
89 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
17×add-sqr-sqrt
15×*-un-lft-identity
13×associate-*l*
11×add-cube-cbrt
associate-*r*
pow1 times-frac
associate-*r/ prod-exp cbrt-unprod add-log-exp
flip3-- flip-- difference-of-squares
cbrt-undiv div-exp associate-/r* associate-/r/
distribute-rgt-in sub-neg distribute-lft-in
frac-times flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg diff-log associate-*l/ clear-num distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 103
Calls
4 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
9.0ms
(* x (+ (/ x y) 1.0))
17.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series225.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
05411012
13112864
25002863

prune192.0ms

Filtered
115 candidates to 81 candidates (70.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1150115
Fresh033
Picked011
Done022
Total1156121

Merged error: 0b

Counts
121 → 6

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

sample433.0ms

Algorithm
intervals
Results
284.0ms9101×body80valid