Details

Time bar (total: 5.2s)

sample91.0ms

Algorithm
intervals
Results
45.0ms102×body1280valid
15.0ms17×body2560valid
14.0ms58×body640valid
5.0ms36×body320valid
2.0ms32×body80valid
1.0ms11×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 39.7b

localize9.0ms

Local error

Found 2 expressions with local error:

1.8b
(- (sin (+ x eps)) (sin x))
3.2b
(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))

series63.0ms

Counts
2 → 6
Calls
2 calls:
44.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

prune110.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 14.4b

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series286.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
42.0ms
(* (sin x) (cos eps))
47.0ms
(* (cos x) (sin eps))
109.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

simplify56.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0373918
11424763
25001741

prune283.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.3b

localize15.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.7b
(- (cos eps) 1)

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

series173.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
43.0ms
(* (cos x) (sin eps))
22.0ms
(- (cos eps) 1)

simplify98.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune235.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.1b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.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:
0.0ms
(expm1 (* (cos x) (sin eps)))
0.0ms
(log1p (expm1 (* (cos x) (sin eps))))
4.0ms
(* (cos x) (sin eps))
7.0ms
(- (cos eps) 1)

series215.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(expm1 (* (cos x) (sin eps)))
82.0ms
(log1p (expm1 (* (cos x) (sin eps))))
42.0ms
(* (cos x) (sin eps))
18.0ms
(- (cos eps) 1)

simplify93.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0271459
1898365
23241343
35001320

prune243.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.1b

regimes129.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01911
12111
22111

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s3309×body1280valid
571.0ms623×body2560valid
474.0ms1864×body640valid
130.0ms772×body320valid
55.0ms1077×body80valid
45.0ms355×body160valid