Details

Time bar (total: 5.5s)

sample96.0ms

Algorithm
intervals
Results
45.0ms106×body1280valid
22.0ms25×body2560valid
14.0ms61×body640valid
3.0ms20×body320valid
2.0ms32×body80valid
1.0ms12×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.6b

localize8.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (sin (+ x eps)) (sin x))
3.6b
(sin (+ x eps))

rewrite30.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:
24.0ms
(- (sin (+ x eps)) (sin x))
5.0ms
(sin (+ x eps))

series64.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(- (sin (+ x eps)) (sin x))
24.0ms
(sin (+ x eps))

simplify74.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune114.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 14.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin x) (cos eps))
0.1b
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
0.2b
(* (cos x) (sin eps))
1.6b
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

rewrite36.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:
4.0ms
(* (sin x) (cos eps))
4.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
22.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series299.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (sin x) (cos eps))
90.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
42.0ms
(* (cos x) (sin eps))
116.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0373918
11424763
25002741

prune290.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.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:
0.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
4.0ms
(- (cos eps) 1)

series182.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune384.0ms

Filtered
70 candidates to 46 candidates (65.7%)
Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sin x) (- (cos eps) 1))
0.2b
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
0.2b
(* (cos x) (sin eps))
1.4b
(- (cos eps) 1)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
45×*-un-lft-identity prod-diff
39×add-cube-cbrt
22×distribute-rgt-in associate-+l+ distribute-lft-in
10×associate-*r*
add-exp-log
pow1 add-cbrt-cube add-log-exp
associate-*l*
sub-neg
expm1-log1p-u log1p-expm1-u difference-of-squares
fma-neg
flip3-- difference-of-sqr-1 associate-*r/ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
+-commutative expm1-def fma-def flip3-+ diff-log sum-log flip-+
Counts
4 → 135
Calls
4 calls:
13.0ms
(* (sin x) (- (cos eps) 1))
10.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
4.0ms
(- (cos eps) 1)

series225.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (sin x) (- (cos eps) 1))
110.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
42.0ms
(* (cos x) (sin eps))
23.0ms
(- (cos eps) 1)

simplify55.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04461178
11727907
25001882

prune391.0ms

Filtered
147 candidates to 92 candidates (62.6%)
Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

regimes128.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0179
1199
2199

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.4s3284×body1280valid
567.0ms636×body2560valid
457.0ms1789×body640valid
126.0ms810×body320valid
56.0ms1119×body80valid
38.0ms362×body160valid