Details

Time bar (total: 3.5s)

sample15.0ms

Algorithm
intervals
Results
7.0ms296×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 11.4b

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

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

series67.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0296332
11504285
25001283

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

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

series109.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
64.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04941442
123441386
250021384

prune264.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 flip3-+ pow1/3 add-cbrt-cube flip-+ distribute-lft-out add-log-exp
Counts
4 → 56
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))

series515.0ms

Counts
4 → 12
Calls
4 calls:
240.0ms
(cbrt (+ (/ x y) 1.0))
97.0ms
(cbrt (+ x 1.0))
87.0ms
(cbrt (+ x 1.0))
91.0ms
(cbrt (+ x 1.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0249469
1641441
22137404
35002400

prune248.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

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

rewrite103.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 frac-times add-log-exp
pow1/3 div-inv
associate-*l/
frac-2neg clear-num associate-/l*
Counts
4 → 142
Calls
4 calls:
7.0ms
(cbrt (+ (/ x y) 1.0))
7.0ms
(cbrt (+ (/ x y) 1.0))
7.0ms
(cbrt (+ (/ x y) 1.0))
77.0ms
(/ (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (/ (+ x 1.0) (cbrt (+ (/ x y) 1.0))))

series784.0ms

Counts
4 → 12
Calls
4 calls:
247.0ms
(cbrt (+ (/ x y) 1.0))
237.0ms
(cbrt (+ (/ x y) 1.0))
252.0ms
(cbrt (+ (/ x y) 1.0))
48.0ms
(/ (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (/ (+ x 1.0) (cbrt (+ (/ x y) 1.0))))

simplify84.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06362166
129511905
250011754

prune379.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

sample371.0ms

Algorithm
intervals
Results
233.0ms9179×body80valid