Details

Time bar (total: 4.2s)

sample58.0ms

Algorithm
intervals
Results
29.0ms59×body2560valid
8.0ms33×body1280valid
8.0ms46×body640valid
3.0ms31×body320valid
3.0ms77×body80valid
1.0ms10×body160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1214
2264
3284
4284

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.9b
(- 1.0 (cos x))
17.9b
(/ (- 1.0 (cos x)) (* x x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
add-exp-log add-cbrt-cube
times-frac associate-/l*
add-cube-cbrt add-log-exp
distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
2 → 42
Calls
2 calls:
4.0ms
(- 1.0 (cos x))
7.0ms
(/ (- 1.0 (cos x)) (* x x))

series64.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- 1.0 (cos x))
46.0ms
(/ (- 1.0 (cos x)) (* x x))

simplify63.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0221271
1735239
22396239
35002239

prune117.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New361248
Fresh000
Picked101
Done000
Total371249

Merged error: 0.0b

Counts
49 → 12

localize6.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (/ (- 1.0 (cos x)) x) x)
0.1b
(/ (- 1.0 (cos x)) x)
0.9b
(- 1.0 (cos x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
132×times-frac
103×add-sqr-sqrt *-un-lft-identity
69×add-cube-cbrt
24×associate-/l*
17×distribute-lft-out-- difference-of-squares
10×add-exp-log add-cbrt-cube
associate-/r* div-inv
add-log-exp
cbrt-undiv div-exp
pow1 div-sub associate-/l/
flip3-- frac-2neg clear-num flip--
sub-neg diff-log
Counts
3 → 147
Calls
3 calls:
9.0ms
(/ (/ (- 1.0 (cos x)) x) x)
6.0ms
(/ (- 1.0 (cos x)) x)
4.0ms
(- 1.0 (cos x))

series107.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(/ (/ (- 1.0 (cos x)) x) x)
42.0ms
(/ (- 1.0 (cos x)) x)
21.0ms
(- 1.0 (cos x))

simplify54.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05311270
118991197
250011186

prune238.0ms

Filtered
156 candidates to 102 candidates (65.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1497156
Fresh9211
Picked101
Done000
Total1599168

Merged error: 0.0b

Counts
168 → 9

localize7.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- (/ 1.0 x) (/ (cos x) x)) x)
0.1b
(/ (cos x) x)
1.1b
(- (/ 1.0 x) (/ (cos x) x))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
98×add-sqr-sqrt
95×times-frac
78×*-un-lft-identity
38×add-cube-cbrt
20×distribute-lft-out-- difference-of-squares
15×associate-/l*
12×div-inv
add-exp-log add-cbrt-cube
associate-/r*
distribute-rgt-out-- add-log-exp
associate-/l/
pow1
cbrt-undiv flip3-- frac-2neg div-exp clear-num frac-sub flip-- sub-div
sub-neg diff-log div-sub
Counts
3 → 118
Calls
3 calls:
17.0ms
(/ (- (/ 1.0 x) (/ (cos x) x)) x)
4.0ms
(/ (cos x) x)
15.0ms
(- (/ 1.0 x) (/ (cos x) x))

series183.0ms

Counts
3 → 9
Calls
3 calls:
94.0ms
(/ (- (/ 1.0 x) (/ (cos x) x)) x)
29.0ms
(/ (cos x) x)
60.0ms
(- (/ 1.0 x) (/ (cos x) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04631015
11518940
25002936

prune234.0ms

Filtered
127 candidates to 99 candidates (78.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1252127
Fresh268
Picked011
Done000
Total1279136

Merged error: 0.0b

Counts
136 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.9b
(- 1.0 (cos x))
15.4b
(cbrt (/ (/ (- 1.0 (cos x)) x) x))
15.4b
(cbrt (/ (/ (- 1.0 (cos x)) x) x))
15.4b
(cbrt (/ (/ (- 1.0 (cos x)) x) x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
306×times-frac
201×add-sqr-sqrt *-un-lft-identity
183×cbrt-prod
145×add-cube-cbrt
28×distribute-lft-out-- difference-of-squares
12×div-inv
add-log-exp
pow1 add-exp-log add-cbrt-cube
cbrt-div pow1/3
sub-neg flip3-- diff-log flip--
Counts
4 → 224
Calls
4 calls:
4.0ms
(- 1.0 (cos x))
9.0ms
(cbrt (/ (/ (- 1.0 (cos x)) x) x))
9.0ms
(cbrt (/ (/ (- 1.0 (cos x)) x) x))
9.0ms
(cbrt (/ (/ (- 1.0 (cos x)) x) x))

series480.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- 1.0 (cos x))
153.0ms
(cbrt (/ (/ (- 1.0 (cos x)) x) x))
155.0ms
(cbrt (/ (/ (- 1.0 (cos x)) x) x))
154.0ms
(cbrt (/ (/ (- 1.0 (cos x)) x) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
236 → 236
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
05333001
115942927
250012891

prune510.0ms

Filtered
236 candidates to 150 candidates (63.6%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2351236
Fresh167
Picked011
Done011
Total2369245

Merged error: 0.0b

Counts
245 → 9

regimes45.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 30.7b

bsearch67.0ms

Steps
ItersRangePoint
10
1.4358440906352691e-08
58326792.95653587
0.032853706672437546
7
-0.42296476227477825
-0.006911778759371886
-0.03073745623844528

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03313
13313

end0.0ms

sample1.7s

Algorithm
intervals
Results
757.0ms1578×body2560valid
291.0ms1225×body1280valid
244.0ms1537×body640valid
114.0ms935×body320valid
89.0ms2304×body80valid
33.0ms421×body160valid

Profiling

Loading profile data...