Details

Time bar (total: 5.2s)

sample86.0ms

Algorithm
intervals
Results
42.0ms105×body1280valid
16.0ms61×body640valid
12.0ms13×body2560valid
4.0ms24×body320valid
2.0ms40×body80valid
1.0ms13×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: 35.1b

localize11.0ms

Local error

Found 2 expressions with local error:

1.3b
(- (sin (+ x eps)) (sin x))
4.3b
(sin (+ x eps))

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

series62.0ms

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

prune117.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 12.2b

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(- (* (cos x) (sin eps)) (sin x))
44.0ms
(* (sin x) (cos eps))
47.0ms
(* (cos x) (sin eps))
111.0ms
(+ (* (sin x) (cos eps)) (- (* (cos x) (sin eps)) (sin x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0414729
11617662
25002648

prune288.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.2b

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))
2.5b
(- (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)

series176.0ms

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

simplify100.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune223.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cos x) (sin eps))
0.4b
(cbrt (pow (- (cos eps) 1) 3))
0.4b
(pow (- (cos eps) 1) 3)
2.5b
(- (cos eps) 1)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
34×*-un-lft-identity
20×cbrt-prod
19×add-cube-cbrt
14×unpow-prod-down cube-prod
10×difference-of-squares
prod-diff
add-exp-log
pow1 add-cbrt-cube
add-log-exp
difference-of-sqr-1 distribute-lft-out--
cube-div expm1-log1p-u log1p-expm1-u
pow-unpow flip3-- fma-neg associate-*r* associate-*l* flip--
cube-mult cbrt-div unpow3 sqr-pow
pow-to-exp sub-neg expm1-def pow-pow pow1/3 diff-log pow-prod-down pow-exp prod-exp *-commutative rem-cbrt-cube cbrt-unprod rem-cube-cbrt unswap-sqr
Counts
4 → 119
Calls
4 calls:
4.0ms
(* (cos x) (sin eps))
6.0ms
(cbrt (pow (- (cos eps) 1) 3))
5.0ms
(pow (- (cos eps) 1) 3)
4.0ms
(- (cos eps) 1)

series137.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cos x) (sin eps))
20.0ms
(cbrt (pow (- (cos eps) 1) 3))
46.0ms
(pow (- (cos eps) 1) 3)
24.0ms
(- (cos eps) 1)

simplify50.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0392649
11504596
25001589

prune324.0ms

Pruning

15 alts after pruning (14 fresh and 1 done)

Merged error: 0.0b

regimes134.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1169

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.5s3316×body1280valid
577.0ms632×body2560valid
469.0ms1829×body640valid
127.0ms768×body320valid
58.0ms1129×body80valid
41.0ms326×body160valid