Details

Time bar (total: 2.7s)

sample17.0ms

Algorithm
intervals
Results
9.0ms298×body80valid

simplify64.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: 10.4b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
flip3-+ times-frac associate-*r/ associate-*r* associate-/r* flip-+ distribute-lft-out
associate-*l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 62
Calls
3 calls:
9.0ms
(+ (/ x y) 1.0)
8.0ms
(* x (+ (/ x y) 1.0))
11.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series82.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0301391
11508339
25001337

prune118.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New65671
Fresh000
Picked101
Done000
Total66672

Merged error: 0.0b

Counts
72 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
158×*-un-lft-identity
146×times-frac
72×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
26×associate-/r*
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative sum-log
Counts
3 → 158
Calls
3 calls:
6.0ms
(+ (/ x y) 1.0)
12.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series126.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (/ x y) 1.0)
47.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
67.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04991501
123491440
250011438

prune227.0ms

Filtered
167 candidates to 105 candidates (62.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1661167
Fresh145
Picked011
Done000
Total1676173

Merged error: 0b

Counts
173 → 6

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

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

series90.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* x (/ x y)) (* x 1.0))
18.0ms
(* x (/ x y))
39.0ms
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0390634
11859571
25001566

prune140.0ms

Filtered
93 candidates to 65 candidates (69.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New91293
Fresh224
Picked011
Done011
Total93699

Merged error: 0b

Counts
99 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
794×times-frac
635×*-un-lft-identity
337×add-sqr-sqrt add-cube-cbrt
149×distribute-lft-out
77×associate-/r*
32×add-exp-log
28×div-inv
23×associate-/l*
20×add-cbrt-cube
19×div-exp
11×associate-/r/
10×cbrt-undiv
flip3-+ flip-+
add-log-exp
pow1
rec-exp frac-2neg 1-exp clear-num associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 454
Calls
4 calls:
6.0ms
(+ (/ x y) 1.0)
5.0ms
(/ (+ x 1.0) x)
14.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
26.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

series367.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (/ x y) 1.0)
50.0ms
(/ (+ x 1.0) x)
257.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
49.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
466 → 466
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011805528
150014996

prune557.0ms

Filtered
466 candidates to 233 candidates (50.0%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4660466
Fresh033
Picked011
Done022
Total4666472

Merged error: 0b

Counts
472 → 6

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

sample416.0ms

Algorithm
intervals
Results
277.0ms9045×body80valid