Details

Time bar (total: 2.8s)

sample17.0ms

Algorithm
intervals
Results
9.0ms298×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
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))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
16×add-sqr-sqrt
14×add-cube-cbrt
13×fma-def times-frac
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
flip3-+ associate-*r/ associate-*r* associate-/r* flip-+ distribute-lft-out
expm1-log1p-u associate-*l* log1p-expm1-u
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod div-inv associate-/l/
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative associate-/l* unswap-sqr
Counts
3 → 81
Calls
3 calls:
7.0ms
(+ (/ x y) 1.0)
9.0ms
(* x (+ (/ x y) 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series82.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
25.0ms
(* x (+ (/ x y) 1.0))
46.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0313417
11574364
25002363

prune157.0ms

Filtered
90 candidates to 67 candidates (74.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New84690
Fresh000
Picked101
Done000
Total85691

Merged error: 0.0b

Counts
91 → 6

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
165×*-un-lft-identity
155×times-frac
79×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
26×associate-/r*
13×fma-def
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ div-inv associate-/l*
add-log-exp
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg clear-num associate-/l/
+-commutative sum-log
Counts
3 → 177
Calls
3 calls:
7.0ms
(+ (/ x y) 1.0)
17.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series140.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
42.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
87.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify73.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05111529
123971465
250021463

prune271.0ms

Filtered
186 candidates to 124 candidates (66.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1851186
Fresh145
Picked011
Done000
Total1866192

Merged error: 0b

Counts
192 → 6

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

rewrite24.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*
expm1-log1p-u flip3-+ associate-*l* flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 91
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))

series92.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x (/ x y)) (* x 1.0))
23.0ms
(* x (/ x y))
40.0ms
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

simplify61.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0404663
11903601
25001596

prune163.0ms

Filtered
100 candidates to 72 candidates (72.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New982100
Fresh224
Picked011
Done011
Total1006106

Merged error: 0b

Counts
106 → 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)))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
803×times-frac
642×*-un-lft-identity
344×add-sqr-sqrt add-cube-cbrt
149×distribute-lft-out
77×associate-/r*
32×add-exp-log
29×div-inv
23×associate-/l*
20×add-cbrt-cube
19×div-exp
13×fma-def
11×associate-/r/
10×cbrt-undiv
flip3-+ flip-+
add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
rec-exp frac-2neg 1-exp clear-num associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 475
Calls
4 calls:
7.0ms
(+ (/ x y) 1.0)
5.0ms
(/ (+ x 1.0) x)
14.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
23.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

series193.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (/ x y) 1.0)
52.0ms
(/ (+ x 1.0) x)
86.0ms
(/ (/ (+ x 1.0) x) (+ (/ x y) 1.0))
43.0ms
(/ 1 (/ (/ (+ x 1.0) x) (+ (/ x y) 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
487 → 487
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
011955563
150015028

prune609.0ms

Filtered
487 candidates to 254 candidates (52.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4870487
Fresh033
Picked011
Done022
Total4876493

Merged error: 0b

Counts
493 → 6

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

sample492.0ms

Algorithm
intervals
Results
321.0ms9045×body80valid