Details

Time bar (total: 5.5s)

sample100.0ms

Algorithm
intervals
Results
44.0ms108×body1280valid
27.0ms26×body2560valid
12.0ms52×body640valid
3.0ms20×body320valid
2.0ms42×body80valid
1.0msbody160valid

simplify6.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: 35.9b

localize9.0ms

Local error

Found 2 expressions with local error:

1.1b
(- (sin (+ x eps)) (sin x))
3.0b
(sin (+ x eps))

rewrite60.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:
50.0ms
(- (sin (+ x eps)) (sin x))
9.0ms
(sin (+ x eps))

series52.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(- (sin (+ x eps)) (sin x))
16.0ms
(sin (+ x eps))

simplify78.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune101.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 13.9b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l* prod-diff
associate-+r+
expm1-log1p-u log1p-expm1-u
sin-cos-mult
sub-neg flip3-- diff-log pow-prod-down frac-add prod-exp sum-log *-commutative flip-- cbrt-unprod unswap-sqr
+-commutative associate-+r- fma-def flip3-+ fma-neg flip-+
Counts
4 → 82
Calls
4 calls:
15.0ms
(- (* (cos x) (sin eps)) (sin x))
11.0ms
(* (cos x) (sin eps))
11.0ms
(* (sin x) (cos eps))
32.0ms
(+ (* (sin x) (cos eps)) (- (* (cos x) (sin eps)) (sin x)))

series236.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- (* (cos x) (sin eps)) (sin x))
42.0ms
(* (cos x) (sin eps))
39.0ms
(* (sin x) (cos eps))
101.0ms
(+ (* (sin x) (cos eps)) (- (* (cos x) (sin eps)) (sin x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0414729
11617662
25002648

prune271.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

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

rewrite24.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)))
13.0ms
(* (cos x) (sin eps))
8.0ms
(- (cos eps) 1)

series156.0ms

Counts
3 → 9
Calls
3 calls:
99.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
39.0ms
(* (cos x) (sin eps))
18.0ms
(- (cos eps) 1)

simplify99.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune243.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (pow (cos eps) 3) 1) (fma (cos eps) (+ (cos eps) 1) 1))
0.3b
(pow (cos eps) 3)
0.4b
(+ (cos eps) 1)
1.3b
(- (pow (cos eps) 3) 1)

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
118×add-sqr-sqrt
85×*-un-lft-identity
53×add-cube-cbrt
48×times-frac
40×difference-of-squares
36×prod-diff
30×unpow-prod-down cube-prod
20×difference-of-sqr-1 sqr-pow
16×associate-/l*
12×fma-neg
add-exp-log
add-log-exp
add-cbrt-cube
pow1 cube-mult unpow3 distribute-lft-out--
expm1-log1p-u log1p-expm1-u
pow-unpow expm1-def fma-def associate-/r*
pow-to-exp flip3-- pow-exp flip-- associate-/l/
cbrt-undiv +-commutative sub-neg pow-pow frac-2neg flip3-+ diff-log div-sub div-exp clear-num sum-log flip-+ div-inv distribute-lft-out rem-cube-cbrt
Counts
4 → 204
Calls
4 calls:
47.0ms
(/ (- (pow (cos eps) 3) 1) (fma (cos eps) (+ (cos eps) 1) 1))
3.0ms
(pow (cos eps) 3)
7.0ms
(+ (cos eps) 1)
21.0ms
(- (pow (cos eps) 3) 1)

series178.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (- (pow (cos eps) 3) 1) (fma (cos eps) (+ (cos eps) 1) 1))
26.0ms
(pow (cos eps) 3)
9.0ms
(+ (cos eps) 1)
47.0ms
(- (pow (cos eps) 3) 1)

simplify87.0ms

Algorithm
egg-herbie
Counts
216 → 216
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05442069
123491758
250011700

prune539.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes125.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
02721
13521
23721
33721

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s3274×body1280valid
558.0ms627×body2560valid
462.0ms1856×body640valid
117.0ms748×body320valid
63.0ms1143×body80valid
43.0ms352×body160valid