Details

Time bar (total: 6.4s)

sample25.0ms

Algorithm
intervals
Results
6.0ms53×body1280valid
4.0ms38×body640valid
4.0ms136×body80valid
1.0ms20×body320valid
0.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.3b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite51.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))
35.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

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

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune445.0ms

Filtered
113 candidates to 76 candidates (32.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1085113
Fresh000
Picked101
Done000
Total1095114

Merged error: 0.0b

Counts
114 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.0b
(pow (/ x (+ x 1.0)) 3)
2.7b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
354×*-un-lft-identity
216×times-frac
190×add-sqr-sqrt
104×unpow-prod-down cube-prod
78×add-cube-cbrt
66×distribute-lft-out
61×distribute-lft-out--
44×difference-of-squares
24×swap-sqr
22×add-exp-log add-cbrt-cube
18×associate-*r* associate-*l*
16×associate-/r/
14×sqr-pow
13×pow1
div-inv
cbrt-undiv pow-unpow flip3-+ div-exp flip-+ add-log-exp
cube-div pow-exp prod-exp cbrt-unprod rem-cube-cbrt unswap-sqr
flip3-- flip--
cube-mult pow-to-exp pow-pow unpow3
difference-cubes pow2 frac-times sub-neg pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up frac-sub
Counts
4 → 303
Calls
4 calls:
10.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
17.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
7.0ms
(pow (/ x (+ x 1.0)) 3)
108.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series29.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
3.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
3.0ms
(pow (/ x (+ x 1.0)) 3)
19.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

simplify61.0ms

Algorithm
egg-herbie
Counts
315 → 315
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011642932
150022690

prune2.0s

Filtered
315 candidates to 141 candidates (55.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3141315
Fresh044
Picked101
Done000
Total3155320

Merged error: 0.0b

Counts
320 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (/ x (+ x 1.0)))
0.4b
(pow (cbrt (/ x (+ x 1.0))) 4)
2.7b
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))
15.4b
(cbrt (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
220×*-un-lft-identity
112×times-frac
106×add-sqr-sqrt
81×unpow-prod-down
60×cube-prod
53×distribute-lft-out--
38×distribute-lft-out
37×cbrt-prod
36×difference-of-squares
22×add-cube-cbrt
13×sqr-pow
add-log-exp
pow1 add-exp-log
cbrt-div associate-/r/ add-cbrt-cube
pow-unpow pow1/3
cube-div pow-pow flip3-+ flip-+ div-inv
difference-cubes frac-times pow-to-exp sub-neg flip3-- diff-log associate-*r/ associate-*l/ pow-exp frac-sub flip--
Counts
4 → 162
Calls
4 calls:
5.0ms
(cbrt (/ x (+ x 1.0)))
8.0ms
(pow (cbrt (/ x (+ x 1.0))) 4)
109.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))
9.0ms
(cbrt (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))

series48.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(cbrt (/ x (+ x 1.0)))
15.0ms
(pow (cbrt (/ x (+ x 1.0))) 4)
14.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))
7.0ms
(cbrt (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))

simplify83.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
07551996
126411923
250021916

prune1.5s

Filtered
174 candidates to 96 candidates (44.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1740174
Fresh044
Picked011
Done000
Total1745179

Merged error: 0.0b

Counts
179 → 5

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
0.1b
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
2.7b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
273×*-un-lft-identity
120×times-frac
91×add-sqr-sqrt
70×distribute-lft-out--
46×distribute-lft-out
38×cbrt-prod
32×unpow-prod-down cube-prod
25×difference-of-squares
21×add-cube-cbrt
add-exp-log add-cbrt-cube
cube-div add-log-exp
pow1 associate-/r*
flip3-- flip-- associate-/l*
pow-unpow cbrt-div frac-sub
cube-mult unpow3 associate-/r/ associate-/l/ sqr-pow
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg flip3-+ pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube flip-+ div-inv rem-cube-cbrt
Counts
4 → 173
Calls
4 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
32.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
36.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series25.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(/ (+ x 1.0) (- x 1.0))
8.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
7.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify66.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05471756
121561696
250011685

prune689.0ms

Filtered
185 candidates to 91 candidates (50.8%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1841185
Fresh033
Picked011
Done011
Total1846190

Merged error: 0.0b

Counts
190 → 6

regimes99.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 29.1b

bsearch123.0ms

Steps
ItersRangePoint
9
41.84587058567329
170944420.23003155
11074.398044080288
8
-41296.44367278978
-27.465585783021098
-11356.529822975868

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04639
14639

end0.0ms

sample645.0ms

Algorithm
intervals
Results
216.0ms1720×body1280valid
123.0ms1266×body640valid
110.0ms4117×body80valid
43.0ms579×body320valid
16.0ms318×body160valid

Profiling

Loading profile data...