Details

Time bar (total: 6.0s)

sample130.0ms

Algorithm
intervals
Results
62.0ms50×body2560valid
37.0ms86×body1280valid
13.0ms58×body640valid
4.0ms25×body320valid
3.0ms24×body160valid
3.0msbody5120valid
1.0ms12×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1144
2164
3164

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

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (- 1.0 (cos x)) (sin x))
1.8b
(- 1.0 (cos x))

rewrite11.0ms

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

series61.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(/ (- 1.0 (cos x)) (sin x))
19.0ms
(- 1.0 (cos x))

simplify81.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0233396
1673373
22654373
35001373

prune165.0ms

Filtered
58 candidates to 42 candidates (72.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New431558
Fresh000
Picked101
Done000
Total441559

Merged error: 0.2b

Counts
59 → 15

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
0.1b
(* 1/240 (pow x 5))
0.2b
(* 1/24 (pow x 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
cube-prod sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult associate-+r+ flip3-+ unpow3 flip-+
Counts
3 → 69
Calls
3 calls:
8.0ms
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
5.0ms
(* 1/240 (pow x 5))
6.0ms
(* 1/24 (pow x 3))

series148.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(+ (* 1/24 (pow x 3)) (+ (* 1/240 (pow x 5)) (* 1/2 x)))
52.0ms
(* 1/240 (pow x 5))
36.0ms
(* 1/24 (pow x 3))

simplify46.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0301375
11301346
25002346

prune170.0ms

Filtered
78 candidates to 49 candidates (62.8%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New77178
Fresh01414
Picked101
Done000
Total781593

Merged error: 0.2b

Counts
93 → 15

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 1/240 (pow x 5))
0.2b
(* 1/24 (pow x 3))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×associate-*r*
12×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down
unswap-sqr
associate-*l* prod-exp add-cbrt-cube
cube-prod sqr-pow
pow1 pow-to-exp pow-exp *-commutative cbrt-unprod add-log-exp
cube-mult unpow3
Counts
2 → 56
Calls
2 calls:
5.0ms
(* 1/240 (pow x 5))
6.0ms
(* 1/24 (pow x 3))

series88.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(* 1/240 (pow x 5))
41.0ms
(* 1/24 (pow x 3))

simplify189.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0208209
1871193
24634193
35001193

prune131.0ms

Filtered
62 candidates to 38 candidates (61.3%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New62062
Fresh01414
Picked011
Done000
Total621577

Merged error: 0.2b

Counts
77 → 15

localize8.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ 1 (/ (sin x) (- 1.0 (cos x))))
0.2b
(/ (sin x) (- 1.0 (cos x)))
1.8b
(- 1.0 (cos x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
105×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
17×distribute-lft-out-- difference-of-squares
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp
flip3-- flip-- div-inv associate-/l*
add-log-exp
pow1 cbrt-undiv
rec-exp frac-2neg 1-exp clear-num
sub-neg pow-flip diff-log inv-pow
Counts
3 → 159
Calls
3 calls:
9.0ms
(/ 1 (/ (sin x) (- 1.0 (cos x))))
10.0ms
(/ (sin x) (- 1.0 (cos x)))
4.0ms
(- 1.0 (cos x))

series95.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(/ 1 (/ (sin x) (- 1.0 (cos x))))
35.0ms
(/ (sin x) (- 1.0 (cos x)))
19.0ms
(- 1.0 (cos x))

simplify62.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05101595
123961452
250021339

prune203.0ms

Filtered
168 candidates to 85 candidates (50.6%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1635168
Fresh5813
Picked101
Done011
Total16914183

Merged error: 0.2b

Counts
183 → 14

regimes123.0ms

Accuracy

99% (0.3b remaining)

Error of 0.5b against oracle of 0.2b and baseline of 31.8b

bsearch83.0ms

Steps
ItersRangePoint
9
2.1846438371975785e-05
719.5386143167987
0.024263645019990638
10
-43540924890.08803
-0.0051836583041924315
-0.023228222164187143

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04826
14826

end0.0ms

sample4.1s

Algorithm
intervals
Results
2.0s1541×body2560valid
1.3s2872×body1280valid
426.0ms1851×body640valid
165.0ms918×body320valid
51.0ms474×body160valid
24.0msbody5120valid
22.0ms338×body80valid