Details

Time bar (total: 5.3s)

sample99.0ms

Algorithm
intervals
Results
44.0ms106×body1280valid
24.0ms26×body2560valid
13.0ms50×body640valid
5.0ms27×body320valid
2.0ms34×body80valid
1.0ms13×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

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

Counts
2 → 1

localize14.0ms

Local error

Found 2 expressions with local error:

1.4b
(- (sin (+ x eps)) (sin x))
4.7b
(sin (+ x eps))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u sin-sum add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log diff-sin associate--l+ flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 40
Calls
2 calls:
7.0ms
(- (sin (+ x eps)) (sin x))
5.0ms
(sin (+ x eps))

series58.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- (sin (+ x eps)) (sin x))
19.0ms
(sin (+ x eps))

simplify76.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune109.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New37946
Fresh000
Picked101
Done000
Total38947

Merged error: 14.7b

Counts
47 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
0.1b
(* (cos x) (sin eps))
0.1b
(* (sin x) (cos eps))
3.1b
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
17×*-un-lft-identity
15×add-cube-cbrt
11×add-log-exp
prod-diff
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u
fma-neg
diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg flip3-- fma-def flip3-+ associate--l+ sin-cos-mult flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 85
Calls
4 calls:
6.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
5.0ms
(* (sin x) (cos eps))
9.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series499.0ms

Counts
4 → 12
Calls
4 calls:
291.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
49.0ms
(* (cos x) (sin eps))
43.0ms
(* (sin x) (cos eps))
117.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0373918
11424763
25001741

prune257.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New851297
Fresh718
Picked101
Done000
Total9313106

Merged error: 0.2b

Counts
106 → 13

localize14.0ms

Local error

Found 3 expressions with local error:

0.1b
(* (cos x) (sin eps))
0.1b
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
1.7b
(- (cos eps) 1)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×*-un-lft-identity
12×add-cube-cbrt
prod-diff
add-exp-log
pow1 add-cbrt-cube add-log-exp
expm1-log1p-u fma-neg associate-*r* associate-*l* log1p-expm1-u
difference-of-squares
sub-neg expm1-def flip3-- diff-log difference-of-sqr-1 pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- unswap-sqr
Counts
3 → 61
Calls
3 calls:
4.0ms
(* (cos x) (sin eps))
1.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
5.0ms
(- (cos eps) 1)

series171.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(* (cos x) (sin eps))
106.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
19.0ms
(- (cos eps) 1)

simplify102.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune201.0ms

Filtered
70 candidates to 45 candidates (64.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New61970
Fresh9312
Picked101
Done000
Total711283

Merged error: 0.1b

Counts
83 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (sin x) (cbrt (pow (- (cos eps) 1) 3)) (* (cos x) (sin eps)))
0.3b
(cbrt (pow (- (cos eps) 1) 3))
0.4b
(pow (- (cos eps) 1) 3)
1.7b
(- (cos eps) 1)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
32×*-un-lft-identity
20×cbrt-prod
17×add-cube-cbrt
14×unpow-prod-down cube-prod
10×difference-of-squares
prod-diff
add-exp-log add-log-exp
pow1 difference-of-sqr-1 add-cbrt-cube distribute-lft-out--
cube-div expm1-log1p-u log1p-expm1-u
pow-unpow flip3-- fma-neg flip--
cube-mult cbrt-div unpow3 sqr-pow
pow-to-exp sub-neg expm1-def pow-pow pow1/3 diff-log pow-exp rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 109
Calls
4 calls:
1.0ms
(fma (sin x) (cbrt (pow (- (cos eps) 1) 3)) (* (cos x) (sin eps)))
9.0ms
(cbrt (pow (- (cos eps) 1) 3))
5.0ms
(pow (- (cos eps) 1) 3)
5.0ms
(- (cos eps) 1)

series199.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(fma (sin x) (cbrt (pow (- (cos eps) 1) 3)) (* (cos x) (sin eps)))
24.0ms
(cbrt (pow (- (cos eps) 1) 3))
45.0ms
(pow (- (cos eps) 1) 3)
19.0ms
(- (cos eps) 1)

simplify52.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0364687
11398624
25001615

prune241.0ms

Filtered
121 candidates to 65 candidates (53.7%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1201121
Fresh11011
Picked011
Done000
Total12112133

Merged error: 0.1b

Counts
133 → 12

regimes107.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1169

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s3317×body1280valid
568.0ms603×body2560valid
483.0ms1839×body640valid
142.0ms768×body320valid
59.0ms1107×body80valid
44.0ms366×body160valid