Details

Time bar (total: 5.2s)

sample88.0ms

Algorithm
intervals
Results
45.0ms113×body1280valid
16.0ms18×body2560valid
11.0ms47×body640valid
4.0ms25×body320valid
2.0ms37×body80valid
2.0ms16×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.7b

localize8.0ms

Local error

Found 2 expressions with local error:

2.1b
(- (sin (+ x eps)) (sin x))
2.6b
(sin (+ x eps))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sin-sum add-cbrt-cube
sub-neg flip3-- diff-log diff-sin associate--l+ flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
6.0ms
(- (sin (+ x eps)) (sin x))
4.0ms
(sin (+ x eps))

series63.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0133175
1301166
2937164
33445164
45001164

prune81.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 13.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-log-exp
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg flip3-- flip3-+ associate--l+ sin-cos-mult flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
6.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
9.0ms
(* (cos x) (sin eps))
4.0ms
(* (sin x) (cos eps))
8.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series286.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0308589
11168555
25001543

prune225.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×*-un-lft-identity
10×associate-*r*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*l*
sub-neg
distribute-rgt-in associate-+l+ distribute-lft-in difference-of-squares
flip3-- difference-of-sqr-1 associate-*r/ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
+-commutative flip3-+ diff-log sum-log flip-+
Counts
4 → 77
Calls
4 calls:
9.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
8.0ms
(* (sin x) (- (cos eps) 1))
4.0ms
(- (cos eps) 1)

series221.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0337548
11280501
25001499

prune282.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cos eps) (cos eps))
0.3b
(+ (* 1 1) (* (cos eps) 1))
0.4b
(pow (cos eps) 3)
2.1b
(- (pow (cos eps) 3) 1)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
17×*-un-lft-identity
12×pow1
11×add-cube-cbrt
add-log-exp difference-of-squares
add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
difference-of-sqr-1 sqr-pow
pow-unpow swap-sqr associate-*r* associate-*l*
+-commutative pow2 cube-mult pow-to-exp sub-neg sqr-cos distribute-rgt-out flip3-- pow-pow flip3-+ pow-plus diff-log unpow3 pow-prod-down pow-exp prod-exp sum-log pow-sqr cos-mult *-commutative pow-prod-up flip-- cbrt-unprod flip-+ distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 87
Calls
4 calls:
5.0ms
(* (cos eps) (cos eps))
5.0ms
(+ (* 1 1) (* (cos eps) 1))
3.0ms
(pow (cos eps) 3)
8.0ms
(- (pow (cos eps) 3) 1)

series115.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (cos eps) (cos eps))
10.0ms
(+ (* 1 1) (* (cos eps) 1))
29.0ms
(pow (cos eps) 3)
51.0ms
(- (pow (cos eps) 3) 1)

simplify64.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0337407
11642368
25001347

prune290.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

regimes138.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
02110
12310
22310

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.4s3322×body1280valid
650.0ms1836×body640valid
551.0ms601×body2560valid
123.0ms748×body320valid
57.0ms1129×body80valid
39.0ms364×body160valid