Details

Time bar (total: 2.9s)

sample23.0ms

Algorithm
intervals
Results
9.0ms197×body80valid
3.0ms26×body640valid
2.0ms16×body1280valid
1.0ms11×body320valid
0.0msbody160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150025

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: 22.3b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
1.6b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.0b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
6.0ms
(* (- 1.0 x) y)
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series137.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(* (- 1.0 x) y)
65.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
41.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune129.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New66672
Fresh000
Picked101
Done000
Total67673

Merged error: 0.0b

Counts
73 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ y 1.0))
0.0b
(* (- 1.0 x) (/ y (+ y 1.0)))
1.6b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
28×add-sqr-sqrt
25×times-frac
21×add-cube-cbrt
18×associate-*r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-*l* add-log-exp
associate-/r* associate-/r/
flip3-- flip-- associate-/l*
cbrt-undiv frac-times flip3-+ div-exp associate-*l/ prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num *-commutative distribute-lft-out-- difference-of-squares
Counts
3 → 88
Calls
3 calls:
5.0ms
(/ y (+ y 1.0))
12.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
3.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series146.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ y (+ y 1.0))
42.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
67.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0400572
11790526
25001526

prune137.0ms

Filtered
97 candidates to 69 candidates (71.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh145
Picked011
Done000
Total976103

Merged error: 0.0b

Counts
103 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) (cbrt (pow (/ y (+ y 1.0)) 3)))
0.0b
(pow (/ y (+ y 1.0)) 3)
1.6b
(- 1.0 (* (- 1.0 x) (cbrt (pow (/ y (+ y 1.0)) 3))))
22.0b
(cbrt (pow (/ y (+ y 1.0)) 3))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity
90×cbrt-prod
74×add-sqr-sqrt times-frac
57×add-cube-cbrt
56×unpow-prod-down cube-prod
45×associate-*r*
18×distribute-lft-out
12×associate-/r/
add-exp-log
add-cbrt-cube
pow1 unswap-sqr
flip3-+ flip-+ div-inv add-log-exp
cube-div associate-*l*
cbrt-div sqr-pow
cube-mult pow-unpow flip3-- unpow3 flip--
frac-times associate-*l/ pow-exp rem-cube-cbrt
cbrt-undiv pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*r/ div-exp pow-prod-down prod-exp *-commutative rem-cbrt-cube cbrt-unprod distribute-lft-out-- difference-of-squares
Counts
4 → 193
Calls
4 calls:
21.0ms
(* (- 1.0 x) (cbrt (pow (/ y (+ y 1.0)) 3)))
9.0ms
(pow (/ y (+ y 1.0)) 3)
3.0ms
(- 1.0 (* (- 1.0 x) (cbrt (pow (/ y (+ y 1.0)) 3))))
8.0ms
(cbrt (pow (/ y (+ y 1.0)) 3))

series252.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (- 1.0 x) (cbrt (pow (/ y (+ y 1.0)) 3)))
72.0ms
(pow (/ y (+ y 1.0)) 3)
73.0ms
(- 1.0 (* (- 1.0 x) (cbrt (pow (/ y (+ y 1.0)) 3))))
48.0ms
(cbrt (pow (/ y (+ y 1.0)) 3))

simplify97.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06951353
132151228
250011213

prune244.0ms

Filtered
205 candidates to 104 candidates (50.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2041205
Fresh134
Picked101
Done011
Total2065211

Merged error: 0.0b

Counts
211 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

8.0b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.0b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.0b
(/ (* (- 1.0 x) y) (+ y 1.0))
9.7b
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
28×times-frac
21×add-exp-log add-cbrt-cube
20×add-sqr-sqrt add-cube-cbrt
16×associate-/r*
11×distribute-lft-out
associate-/r/ associate-/l/
cbrt-undiv div-exp associate-/l*
associate-*l/
difference-of-squares
pow1 flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv add-log-exp
prod-exp cbrt-unprod
div-sub
Counts
4 → 122
Calls
4 calls:
11.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
12.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

series509.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
40.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
43.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
381.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))

simplify66.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04311543
120191406
250021406

prune213.0ms

Filtered
134 candidates to 98 candidates (73.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1340134
Fresh033
Picked011
Done011
Total1345139

Merged error: 0.0b

Counts
139 → 5

regimes139.0ms

Accuracy

98.1% (0.3b remaining)

Error of 0.4b against oracle of 0.2b and baseline of 14.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03118
13118

end0.0ms

sample500.0ms

Algorithm
intervals
Results
183.0ms6089×body80valid
73.0ms718×body640valid
51.0ms396×body1280valid
41.0ms528×body320valid
14.0ms269×body160valid

Profiling

Loading profile data...