Details

Time bar (total: 2.5s)

sample26.0ms

Algorithm
intervals
Results
9.0ms65×body1280valid
4.0ms39×body640valid
4.0ms124×body80valid
1.0ms16×body320valid
1.0ms12×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
09613
19613

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
3.0b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
29.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series13.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ x (+ x 1.0))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify62.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049651412
149651412

prune173.0ms

Filtered
76 candidates to 113 candidates (-48.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.2b

Counts
114 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 3.0 (pow x 3))
0.3b
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
6.2b
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
46×times-frac
41×add-sqr-sqrt
38×*-un-lft-identity
36×add-cube-cbrt
13×add-exp-log associate-*l*
12×unpow-prod-down cube-prod associate-/r*
10×add-cbrt-cube
pow1 frac-sub add-log-exp
cube-mult frac-times flip3-+ unpow3 associate-*r/ div-exp associate-*r* flip-+ sqr-pow
associate-/l*
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*l/ prod-exp associate--l+ cbrt-unprod div-inv unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg diff-log pow-prod-down pow-exp clear-num *-commutative flip-- distribute-lft-out
Counts
3 → 123
Calls
3 calls:
5.0ms
(/ 3.0 (pow x 3))
11.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
16.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

series14.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(/ 3.0 (pow x 3))
6.0ms
(* (/ -1 x) (+ (/ 1.0 x) 3.0))
5.0ms
(- (* (/ -1 x) (+ (/ 1.0 x) 3.0)) (/ 3.0 (pow x 3)))

simplify36.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
057921502

prune181.0ms

Filtered
85 candidates to 132 candidates (-55.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1302132
Fresh033
Picked101
Done000
Total1315136

Merged error: 0.0b

Counts
136 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (neg (+ (/ 1.0 x) 3.0)) x)
0.1b
(/ 3.0 (pow x 3))
6.2b
(- (/ (neg (+ (/ 1.0 x) 3.0)) x) (/ 3.0 (pow x 3)))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
91×times-frac
84×add-sqr-sqrt *-un-lft-identity
53×add-cube-cbrt
18×distribute-rgt-neg-in
16×distribute-lft-neg-in
15×associate-/r* associate-/l*
14×unpow-prod-down cube-prod
10×add-exp-log difference-of-squares
distribute-lft-out
add-cbrt-cube
sqr-pow
add-log-exp
cube-mult neg-mul-1 unpow3 div-exp distribute-lft-out--
pow1
cbrt-undiv neg-sub0 frac-2neg div-sub clear-num div-inv associate-/l/ distribute-neg-frac
associate--l- pow-to-exp sub-neg flip3-- flip3-+ diff-log distribute-frac-neg pow-exp frac-sub flip-- flip-+
Counts
3 → 160
Calls
3 calls:
10.0ms
(/ (neg (+ (/ 1.0 x) 3.0)) x)
8.0ms
(/ 3.0 (pow x 3))
72.0ms
(- (/ (neg (+ (/ 1.0 x) 3.0)) x) (/ 3.0 (pow x 3)))

series14.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ (neg (+ (/ 1.0 x) 3.0)) x)
3.0ms
(/ 3.0 (pow x 3))
4.0ms
(- (/ (neg (+ (/ 1.0 x) 3.0)) x) (/ 3.0 (pow x 3)))

simplify53.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049942194
149942194

prune213.0ms

Filtered
107 candidates to 169 candidates (-57.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1690169
Fresh044
Picked011
Done000
Total1695174

Merged error: 0.0b

Counts
174 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (/ 1.0 x) 3.0))
0.1b
(/ 3.0 (pow x 3))
0.2b
(/ (neg (sqrt (+ (/ 1.0 x) 3.0))) x)
0.3b
(* (/ (neg (sqrt (+ (/ 1.0 x) 3.0))) x) (sqrt (+ (/ 1.0 x) 3.0)))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
146×times-frac
137×*-un-lft-identity
116×add-sqr-sqrt
105×add-cube-cbrt
66×sqrt-prod
58×associate-*l*
49×distribute-lft-neg-in distribute-rgt-neg-in
21×associate-/l*
16×add-exp-log distribute-lft-out
15×associate-/r*
13×add-cbrt-cube
12×unpow-prod-down cube-prod
sqrt-div
pow1 neg-mul-1 associate-*r*
div-exp
cube-mult flip3-+ unpow3 flip-+ add-log-exp unswap-sqr sqr-pow
cbrt-undiv div-inv
frac-times frac-2neg associate-*r/ distribute-frac-neg prod-exp clear-num cbrt-unprod associate-/l/ distribute-neg-frac
distribute-lft-neg-out neg-sub0 pow-to-exp rem-sqrt-square sqrt-pow1 pow1/2 div-sub pow-prod-down associate-*l/ pow-exp *-commutative
Counts
4 → 260
Calls
4 calls:
6.0ms
(sqrt (+ (/ 1.0 x) 3.0))
5.0ms
(/ 3.0 (pow x 3))
14.0ms
(/ (neg (sqrt (+ (/ 1.0 x) 3.0))) x)
27.0ms
(* (/ (neg (sqrt (+ (/ 1.0 x) 3.0))) x) (sqrt (+ (/ 1.0 x) 3.0)))

series19.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ (/ 1.0 x) 3.0))
4.0ms
(/ 3.0 (pow x 3))
6.0ms
(/ (neg (sqrt (+ (/ 1.0 x) 3.0))) x)
6.0ms
(* (/ (neg (sqrt (+ (/ 1.0 x) 3.0))) x) (sqrt (+ (/ 1.0 x) 3.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049863502
149863502

prune490.0ms

Filtered
169 candidates to 272 candidates (-60.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2720272
Fresh033
Picked011
Done011
Total2725277

Merged error: 0.0b

Counts
277 → 5

regimes80.0ms

Accuracy

99.5% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 32.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04177
14177

end0.0ms

sample737.0ms

Algorithm
intervals
Results
253.0ms1703×body1280valid
144.0ms1232×body640valid
130.0ms4120×body80valid
57.0ms633×body320valid
18.0ms312×body160valid

Profiling

Loading profile data...