Details

Time bar (total: 2.7s)

sample28.0ms

Algorithm
intervals
Results
12.0ms293×body80valid

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
1350015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.8b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite94.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:
16.0ms
(+ (/ x y) 1.0)
47.0ms
(* x (+ (/ x y) 1.0))
29.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series76.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0313417
11574364
25002363

prune211.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite92.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:
15.0ms
(+ (/ x y) 1.0)
35.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
34.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series139.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (/ x y) 1.0)
56.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
61.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05111529
123971465
250021463

prune312.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity
42×times-frac
35×add-sqr-sqrt
30×add-cube-cbrt
22×associate-*r*
19×distribute-lft-out
13×fma-def
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
flip3-+ associate-/r* associate-/r/ flip-+ associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u div-inv
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ unswap-sqr
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 112
Calls
3 calls:
17.0ms
(+ (/ x y) 1.0)
47.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
64.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

series82.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0357703
11629643
25001639

prune232.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* x (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
9.2b
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
59×times-frac
50×*-un-lft-identity
36×add-sqr-sqrt
34×add-cube-cbrt
32×add-exp-log
20×add-cbrt-cube
14×div-exp
13×fma-def
12×associate-*r/
11×associate-/r* associate-/r/
flip3-+ flip-+ distribute-lft-out
pow1 cbrt-undiv div-inv associate-/l*
add-log-exp
prod-exp
expm1-log1p-u associate-*r* log1p-expm1-u
rec-exp 1-exp associate-*l* cbrt-unprod
frac-2neg clear-num associate-/l/
+-commutative distribute-rgt-in pow-flip distribute-lft-in pow-prod-down sum-log *-commutative inv-pow unswap-sqr
Counts
4 → 151
Calls
4 calls:
15.0ms
(+ (/ x y) 1.0)
45.0ms
(* x (+ (/ x y) 1.0))
38.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
32.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

series144.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(+ (/ x y) 1.0)
21.0ms
(* x (+ (/ x y) 1.0))
42.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
69.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify91.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05001104
12698964
25003909

prune237.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample396.0ms

Algorithm
intervals
Results
213.0ms9128×body80valid