Details

Time bar (total: 1.7s)

sample64.0ms

Algorithm
intervals
Results
26.0ms55×body2560valid
18.0ms49×body1280valid
5.0ms34×body640valid
3.0ms30×body320valid
3.0ms71×body80valid
1.0ms17×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: 32.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

2.3b
(- 1.0 (cos x))
17.1b
(/ (- 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:
3.0ms
(- 1.0 (cos x))
7.0ms
(/ (- 1.0 (cos x)) (* x x))

series65.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0221271
1735239
22396239
35002239

prune107.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New39948
Fresh000
Picked101
Done000
Total40949

Merged error: 0.1b

Counts
49 → 9

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 1/720 (pow x 4))
0.4b
(* 1/24 (pow x 2))
13.2b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

rewrite19.0ms

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

series107.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(* 1/720 (pow x 4))
28.0ms
(* 1/24 (pow x 2))
43.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268345
11132313
25001307

prune138.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New75075
Fresh088
Picked011
Done000
Total75984

Merged error: 0.1b

Counts
84 → 9

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

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

series111.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05311270
118991197
250011186

prune249.0ms

Filtered
156 candidates to 104 candidates (66.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1515156
Fresh347
Picked101
Done011
Total15510165

Merged error: 0.1b

Counts
165 → 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)
2.4b
(- (/ 1.0 x) (/ (cos x) x))

rewrite41.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:
16.0ms
(/ (- (/ 1.0 x) (/ (cos x) x)) x)
4.0ms
(/ (cos x) x)
15.0ms
(- (/ 1.0 x) (/ (cos x) x))

series188.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
04631015
11518940
25002936

prune222.0ms

Filtered
127 candidates to 99 candidates (78.0%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1252127
Fresh358
Picked011
Done011
Total1289137

Merged error: 0.1b

Counts
137 → 9

regimes74.0ms

bsearch2.0ms

Profiling

Loading profile data...