Details

Time bar (total: 5.7s)

sample24.0ms

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

simplify18.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 (0.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)))

rewrite47.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:
7.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
28.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series411.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ x (+ x 1.0))
247.0ms
(/ (+ x 1.0) (- x 1.0))
129.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0390760
11367728
25001716

prune268.0ms

Filtered
113 candidates to 76 candidates (67.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.0b

Counts
114 → 4

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

rewrite150.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:
9.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
18.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
7.0ms
(pow (/ x (+ x 1.0)) 3)
98.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))

series495.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
50.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
61.0ms
(pow (/ x (+ x 1.0)) 3)
317.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 (30.0ms)

IterNodesCost
011642932
150022690

prune634.0ms

Filtered
315 candidates to 141 candidates (44.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New3132315
Fresh033
Picked101
Done000
Total3145319

Merged error: 0.0b

Counts
319 → 5

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

rewrite131.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:
4.0ms
(cbrt (/ x (+ x 1.0)))
7.0ms
(pow (cbrt (/ x (+ x 1.0))) 4)
100.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))))

series892.0ms

Counts
4 → 12
Calls
4 calls:
169.0ms
(cbrt (/ x (+ x 1.0)))
237.0ms
(pow (cbrt (/ x (+ x 1.0))) 4)
326.0ms
(- (pow (/ x (+ x 1.0)) 3) (pow (/ (+ x 1.0) (- x 1.0)) 3))
159.0ms
(cbrt (* (/ x (+ x 1.0)) (/ x (+ x 1.0))))

simplify84.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07512034
125201966
250021940

prune563.0ms

Filtered
174 candidates to 96 candidates (55.2%)
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)))

rewrite115.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:
8.0ms
(/ (+ x 1.0) (- x 1.0))
34.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
31.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
33.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series488.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (+ x 1.0) (- x 1.0))
182.0ms
(pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3)
134.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) 3))
131.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify71.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05451756
121451700
250011689

prune305.0ms

Filtered
185 candidates to 91 candidates (49.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1850185
Fresh033
Picked011
Done011
Total1855190

Merged error: 0.0b

Counts
190 → 5

regimes93.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch112.0ms

Steps
ItersRangePoint
9
41.84587058567329
170944420.23003155
280783.13854657294
8
-103568517.90772113
-41296.44367278978
-485575.57811715995

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04639
14639

end0.0ms

sample651.0ms

Algorithm
intervals
Results
222.0ms1720×body1280valid
128.0ms1266×body640valid
109.0ms4117×body80valid
46.0ms579×body320valid
16.0ms318×body160valid

Profiling

Loading profile data...