Details

Time bar (total: 5.1s)

sample99.0ms

Algorithm
intervals
Results
43.0ms101×body1280valid
26.0ms29×body2560valid
13.0ms52×body640valid
4.0ms23×body320valid
3.0ms36×body80valid
2.0ms15×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: 38.4b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

1.7b
(- (sin (+ x eps)) (sin x))
2.9b
(sin (+ x eps))

rewrite12.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))
4.0ms
(sin (+ x eps))

series65.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(- (sin (+ x eps)) (sin x))
18.0ms
(sin (+ x eps))

simplify77.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune111.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New361046
Fresh000
Picked101
Done000
Total371047

Merged error: 17.4b

Counts
47 → 10

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.1b
(* (cos x) (sin eps))
3.5b
(- (+ (* (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:
5.0ms
(* (sin x) (cos eps))
6.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
5.0ms
(* (cos x) (sin eps))
9.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series289.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (sin x) (cos eps))
88.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
46.0ms
(* (cos x) (sin eps))
112.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

simplify54.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0373918
11424763
25002741

prune249.0ms

Filtered
97 candidates to 67 candidates (69.1%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New90797
Fresh909
Picked011
Done000
Total998107

Merged error: 0.4b

Counts
107 → 8

localize14.0ms

Local error

Found 3 expressions with local error:

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

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

series174.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0272454
1926348
23454326
35001304

prune190.0ms

Filtered
70 candidates to 45 candidates (64.3%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New61970
Fresh516
Picked101
Done011
Total671178

Merged error: 0.0b

Counts
78 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos x) (sin eps))
0.1b
(log1p (expm1 (* (cos x) (sin eps))))
0.1b
(expm1 (* (cos x) (sin eps)))
1.6b
(- (cos eps) 1)

rewrite12.0ms

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

series222.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (cos x) (sin eps))
82.0ms
(log1p (expm1 (* (cos x) (sin eps))))
69.0ms
(expm1 (* (cos x) (sin eps)))
23.0ms
(- (cos eps) 1)

simplify92.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0267471
1892366
23234344
35001321

prune192.0ms

Filtered
85 candidates to 52 candidates (61.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New85085
Fresh099
Picked011
Done011
Total851196

Merged error: 0.0b

Counts
96 → 11

regimes99.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
0159
1159

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s3237×body1280valid
601.0ms654×body2560valid
488.0ms1857×body640valid
133.0ms786×body320valid
61.0ms1120×body80valid
45.0ms346×body160valid