Details

Time bar (total: 4.9s)

sample16.0ms

Algorithm
intervals
Results
7.0ms288×body80valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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.1b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.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 expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u 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 → 54
Calls
2 calls:
50.0ms
(* x (+ (/ x y) 1.0))
31.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series66.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0306352
11568305
25001304

prune116.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

rewrite83.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 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
36.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
40.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series104.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05041464
123901406
250021404

prune275.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ x y) (/ x y))
0.5b
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
5.8b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
10.7b
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

rewrite272.0ms

Algorithm
rewrite-expression-head
Rules
1482×times-frac
895×add-sqr-sqrt
877×*-un-lft-identity
523×add-cube-cbrt
249×difference-of-squares
105×distribute-lft-out
78×associate-/l*
72×distribute-lft-out--
62×associate-/r/
39×div-inv
32×add-exp-log associate-/r* add-cbrt-cube
27×flip3-- flip--
14×cbrt-undiv div-exp
13×swap-sqr associate-*r* associate-*l*
11×pow1
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num associate-/l/
pow2 frac-times flip3-+ pow-plus associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+
Counts
4 → 743
Calls
4 calls:
22.0ms
(* (/ x y) (/ x y))
42.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
37.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
104.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

series263.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (/ x y) (/ x y))
80.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
73.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
86.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

simplify203.0ms

Algorithm
egg-herbie
Counts
755 → 755
Iterations

Useful iterations: 1 (59.0ms)

IterNodesCost
0269715197
1500114905

prune1.9s

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

4.5b
(- (+ x (/ (pow x 2) y)) (/ (pow x 3) y))
5.7b
(/ (pow x 3) y)
8.1b
(/ (pow x 2) y)

rewrite241.0ms

Algorithm
rewrite-expression-head
Rules
261×*-un-lft-identity
208×times-frac
187×add-sqr-sqrt
174×add-cube-cbrt
160×prod-diff
61×unpow-prod-down
49×cube-prod
42×distribute-lft-out
21×sqr-pow
20×associate-/l*
16×cube-mult unpow3
13×add-exp-log
add-log-exp
add-cbrt-cube
div-exp associate-/r* div-inv
difference-of-squares
fma-neg unpow2
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 307
Calls
3 calls:
203.0ms
(- (+ x (/ (pow x 2) y)) (/ (pow x 3) y))
9.0ms
(/ (pow x 3) y)
9.0ms
(/ (pow x 2) y)

series59.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(- (+ x (/ (pow x 2) y)) (/ (pow x 3) y))
19.0ms
(/ (pow x 3) y)
17.0ms
(/ (pow x 2) y)

simplify191.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 2 (142.0ms)

IterNodesCost
010315490
141153820
250013716

prune362.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

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

sample404.0ms

Algorithm
intervals
Results
218.0ms9134×body80valid