Details

Time bar (total: 3.8s)

sample16.0ms

Algorithm
intervals
Results
7.0ms296×body80valid

simplify83.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: 11.4b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite49.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:
31.0ms
(* x (+ (/ x y) 1.0))
17.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series77.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0306352
11568305
25001304

prune122.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

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

rewrite54.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:
23.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
24.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series125.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
75.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05041464
123901406
250021404

prune304.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×cbrt-prod *-un-lft-identity
add-sqr-sqrt add-cube-cbrt cbrt-div
pow1 add-exp-log expm1-log1p-u flip3-+ pow1/3 add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out add-log-exp
Counts
4 → 64
Calls
4 calls:
7.0ms
(cbrt (+ (/ x y) 1.0))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))

series545.0ms

Counts
4 → 12
Calls
4 calls:
254.0ms
(cbrt (+ (/ x y) 1.0))
95.0ms
(cbrt (+ x 1.0))
102.0ms
(cbrt (+ x 1.0))
94.0ms
(cbrt (+ x 1.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0263492
1693461
22350427
35001414

prune287.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
89×*-un-lft-identity
44×cbrt-prod
39×add-sqr-sqrt add-cube-cbrt
34×associate-/r*
25×add-exp-log distribute-lft-out
22×cbrt-div
18×add-cbrt-cube
11×flip3-+ flip-+
10×associate-*r/
cbrt-undiv div-exp
associate-/l/
prod-exp cbrt-unprod
associate-/r/
pow1 expm1-log1p-u frac-times log1p-expm1-u add-log-exp
pow1/3 div-inv
associate-*l/
frac-2neg clear-num associate-/l*
Counts
4 → 150
Calls
4 calls:
7.0ms
(cbrt (+ (/ x y) 1.0))
7.0ms
(cbrt (+ (/ x y) 1.0))
10.0ms
(cbrt (+ (/ x y) 1.0))
84.0ms
(/ (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (/ (+ x 1.0) (cbrt (+ (/ x y) 1.0))))

series836.0ms

Counts
4 → 12
Calls
4 calls:
264.0ms
(cbrt (+ (/ x y) 1.0))
263.0ms
(cbrt (+ (/ x y) 1.0))
261.0ms
(cbrt (+ (/ x y) 1.0))
47.0ms
(/ (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (/ (+ x 1.0) (cbrt (+ (/ x y) 1.0))))

simplify91.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06442220
129861959
250011808

prune409.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

sample379.0ms

Algorithm
intervals
Results
236.0ms9179×body80valid