Details

Time bar (total: 3.8s)

sample16.0ms

Algorithm
intervals
Results
8.0ms293×body80valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite51.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:
30.0ms
(* x (+ (/ x y) 1.0))
19.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series72.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0296332
11504285
25001283

prune109.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite55.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:
25.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
22.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series114.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
70.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04941442
123441386
250021384

prune311.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
0.3b
(cbrt (+ (/ x y) 1.0))
0.3b
(cbrt (+ (/ x y) 1.0))
0.3b
(cbrt (+ (/ x y) 1.0))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
58.0ms
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
7.0ms
(cbrt (+ (/ x y) 1.0))
7.0ms
(cbrt (+ (/ x y) 1.0))
10.0ms
(cbrt (+ (/ x y) 1.0))

series1.0s

Counts
4 → 12
Calls
4 calls:
278.0ms
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
245.0ms
(cbrt (+ (/ x y) 1.0))
238.0ms
(cbrt (+ (/ x y) 1.0))
242.0ms
(cbrt (+ (/ x y) 1.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0203858
1628805
22438732
35001719

prune266.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0)))
0.2b
(* (/ x y) (/ x y))
4.3b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
5.6b
(* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
77×times-frac
76×add-sqr-sqrt
74×*-un-lft-identity
54×add-cube-cbrt
35×associate-*l*
32×add-exp-log add-cbrt-cube
19×associate-*r*
13×pow1 swap-sqr
11×difference-of-squares
10×cbrt-undiv div-exp
associate-/r/ distribute-lft-out
prod-exp cbrt-unprod
div-inv associate-/l*
flip3-- flip-- unswap-sqr
frac-times associate-*r/ associate-/r*
add-log-exp
associate-*l/
distribute-rgt-in sub-neg frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative associate-/l/
pow2 flip3-+ pow-plus pow-sqr pow-prod-up flip-+ distribute-lft-out--
Counts
4 → 187
Calls
4 calls:
19.0ms
(/ x (* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0)))
13.0ms
(* (/ x y) (/ x y))
19.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
77.0ms
(* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

series281.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ x (* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0)))
35.0ms
(* (/ x y) (/ x y))
74.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
98.0ms
(* (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (- (/ x y) 1.0))

simplify116.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
08531975
145731745
250011741

prune425.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

end0.0ms

sample433.0ms

Algorithm
intervals
Results
273.0ms9086×body80valid