Details

Time bar (total: 3.6s)

sample17.0ms

Algorithm
intervals
Results
9.0ms290×body80valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.4b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
flip3-+ times-frac associate-*r/ associate-*r* associate-/r* flip-+ distribute-lft-out
associate-*l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 62
Calls
3 calls:
6.0ms
(+ (/ x y) 1.0)
9.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series87.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (/ x y) 1.0)
31.0ms
(* x (+ (/ x y) 1.0))
45.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0301391
11508339
25001337

prune119.0ms

Filtered
71 candidates to 48 candidates (67.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New65671
Fresh000
Picked101
Done000
Total66672

Merged error: 0.0b

Counts
72 → 6

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
158×*-un-lft-identity
146×times-frac
72×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
26×associate-/r*
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative sum-log
Counts
3 → 158
Calls
3 calls:
6.0ms
(+ (/ x y) 1.0)
13.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series130.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (/ x y) 1.0)
48.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
70.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04991501
123491440
250021438

prune249.0ms

Filtered
167 candidates to 106 candidates (63.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1652167
Fresh145
Picked011
Done000
Total1667173

Merged error: 0b

Counts
173 → 7

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
812×times-frac
622×*-un-lft-identity
344×add-sqr-sqrt add-cube-cbrt
139×distribute-lft-out
77×associate-/r*
35×associate-/r/
32×add-exp-log
29×associate-/l*
23×div-inv
20×add-cbrt-cube
19×flip3-+ div-exp flip-+
10×cbrt-undiv
add-log-exp
pow1
rec-exp frac-2neg 1-exp clear-num associate-/l/
+-commutative pow-flip sum-log inv-pow
Counts
4 → 466
Calls
4 calls:
11.0ms
(+ (/ x y) 1.0)
30.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
18.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
24.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

series219.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (/ x y) 1.0)
86.0ms
(/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x)
71.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))
50.0ms
(/ 1 (/ (/ (+ x 1.0) (+ (/ x y) 1.0)) x))

simplify95.0ms

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
012915812
150015274

prune613.0ms

Filtered
478 candidates to 252 candidates (52.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New4780478
Fresh055
Picked011
Done011
Total4787485

Merged error: 0b

Counts
485 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (+ x 1.0))
0.2b
(cbrt (+ x 1.0))
2.9b
(/ (/ (* x (+ (/ x y) 1.0)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (cbrt (+ x 1.0)))
5.9b
(/ (* x (+ (/ x y) 1.0)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
114×cbrt-div
100×times-frac
74×*-un-lft-identity associate-/r/
64×cbrt-prod
58×flip3-+ flip-+
42×add-sqr-sqrt add-cube-cbrt
36×frac-times
34×add-exp-log
21×add-cbrt-cube
20×associate-*r/
18×associate-*l/
16×distribute-lft-out
14×associate-/l*
13×cbrt-undiv div-exp
10×div-inv
prod-exp associate-/r* cbrt-unprod
pow1 add-log-exp
associate-/l/
frac-2neg pow1/3 clear-num
Counts
4 → 193
Calls
4 calls:
3.0ms
(cbrt (+ x 1.0))
3.0ms
(cbrt (+ x 1.0))
25.0ms
(/ (/ (* x (+ (/ x y) 1.0)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (cbrt (+ x 1.0)))
18.0ms
(/ (* x (+ (/ x y) 1.0)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))))

series502.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(cbrt (+ x 1.0))
95.0ms
(cbrt (+ x 1.0))
50.0ms
(/ (/ (* x (+ (/ x y) 1.0)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))) (cbrt (+ x 1.0)))
262.0ms
(/ (* x (+ (/ x y) 1.0)) (* (cbrt (+ x 1.0)) (cbrt (+ x 1.0))))

simplify108.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
09023482
139973236
250023212

prune466.0ms

Filtered
205 candidates to 144 candidates (70.2%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2050205
Fresh044
Picked011
Done022
Total2057212

Merged error: 0b

Counts
212 → 7

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

sample440.0ms

Algorithm
intervals
Results
289.0ms9109×body80valid

Profiling

Loading profile data...