Details

Time bar (total: 3.6s)

sample64.0ms

Algorithm
intervals
Results
26.0ms56×body2560valid
10.0ms43×body1280valid
7.0ms46×body640valid
7.0ms73×body80valid
2.0ms23×body320valid
1.0ms15×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1214
2264
3284
4284

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

1.9b
(- 1.0 (cos x))
15.8b
(/ (- 1.0 (cos x)) (* x x))

rewrite11.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:
3.0ms
(- 1.0 (cos x))
6.0ms
(/ (- 1.0 (cos x)) (* x x))

series47.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0215264
1745235
22635235
35003235

prune156.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.6b

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)
1.9b
(- 1.0 (cos x))

rewrite23.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:
8.0ms
(/ (/ (- 1.0 (cos x)) x) x)
5.0ms
(/ (- 1.0 (cos x)) x)
3.0ms
(- 1.0 (cos x))

series85.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ (/ (- 1.0 (cos x)) x) x)
39.0ms
(/ (- 1.0 (cos x)) x)
12.0ms
(- 1.0 (cos x))

simplify49.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05141266
118511191
250021180

prune338.0ms

Filtered
156 candidates to 103 candidates (66.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1533156
Fresh4711
Picked101
Done000
Total15810168

Merged error: 0.3b

Counts
168 → 10

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.9b
(- (/ 1.0 x) (/ (cos x) x))

rewrite35.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:
15.0ms
(/ (- (/ 1.0 x) (/ (cos x) x)) x)
3.0ms
(/ (cos x) x)
12.0ms
(- (/ 1.0 x) (/ (cos x) x))

series164.0ms

Counts
3 → 9
Calls
3 calls:
86.0ms
(/ (- (/ 1.0 x) (/ (cos x) x)) x)
27.0ms
(/ (cos x) x)
50.0ms
(- (/ 1.0 x) (/ (cos x) x))

simplify42.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
04461011
11449934
25002930

prune328.0ms

Filtered
127 candidates to 100 candidates (78.7%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1261127
Fresh099
Picked011
Done000
Total12611137

Merged error: 0.3b

Counts
137 → 11

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ x 1/2) (* 1/24 (pow x 2)))
0.2b
(* 1/24 (pow x 2))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log unpow2 sqr-pow
pow-to-exp sub-neg flip3-- pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 41
Calls
2 calls:
5.0ms
(- (+ x 1/2) (* 1/24 (pow x 2)))
5.0ms
(* 1/24 (pow x 2))

series42.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- (+ x 1/2) (* 1/24 (pow x 2)))
24.0ms
(* 1/24 (pow x 2))

simplify148.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (144.0ms)

IterNodesCost
0179204
1739184
23903180
35001179

prune91.0ms

Filtered
47 candidates to 29 candidates (61.7%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New45247
Fresh099
Picked011
Done011
Total451358

Merged error: 0.3b

Counts
58 → 13

regimes105.0ms

Accuracy

99.1% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 31.0b

bsearch73.0ms

Steps
ItersRangePoint
10
4.00241138285282e-13
41.84587058567329
1.506385143985492e-08
8
-3.796539209244605e-08
-3.2387027961964356e-11
-1.4781386435287979e-08

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02610
12610

end0.0ms

sample1.7s

Algorithm
intervals
Results
800.0ms1635×body2560valid
296.0ms1222×body1280valid
227.0ms1493×body640valid
101.0ms927×body320valid
79.0ms2259×body80valid
35.0ms464×body160valid

Profiling

Loading profile data...