Details

Time bar (total: 4.9s)

sample95.0ms

Algorithm
intervals
Results
47.0ms103×body1280valid
19.0ms22×body2560valid
12.0ms51×body640valid
4.0ms26×body320valid
2.0ms39×body80valid
2.0ms15×body160valid

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: 36.2b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series56.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- (sin (+ x eps)) (sin x))
19.0ms
(sin (+ x eps))

simplify143.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0133175
1301166
2937164
33445164
45001164

prune80.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 16.4b

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.1b
(* (cos x) (sin eps))
1.9b
(+ (* (sin x) (cos eps)) (- (* (cos x) (sin eps)) (sin x)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
11×add-log-exp
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
sin-cos-mult
sub-neg associate-+r+ flip3-- diff-log pow-prod-down frac-add prod-exp sum-log *-commutative flip-- cbrt-unprod unswap-sqr
+-commutative associate-+r- flip3-+ flip-+
Counts
4 → 66
Calls
4 calls:
5.0ms
(- (* (cos x) (sin eps)) (sin x))
5.0ms
(* (sin x) (cos eps))
4.0ms
(* (cos x) (sin eps))
9.0ms
(+ (* (sin x) (cos eps)) (- (* (cos x) (sin eps)) (sin x)))

series258.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0348614
11352581
25002565

prune226.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
0.1b
(* (sin x) (- (cos eps) 1))
0.1b
(* (cos x) (sin eps))
0.7b
(- (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)))
8.0ms
(* (sin x) (- (cos eps) 1))
4.0ms
(* (cos x) (sin eps))
4.0ms
(- (cos eps) 1)

series221.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
49.0ms
(* (sin x) (- (cos eps) 1))
42.0ms
(* (cos x) (sin eps))
23.0ms
(- (cos eps) 1)

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0337548
11280501
25001499

prune242.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.1b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cos eps) (+ (cos eps) 1))
0.3b
(+ (cos eps) 1)
0.3b
(pow (cos eps) 3)
0.6b
(- (pow (cos eps) 3) 1)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×*-un-lft-identity
add-cube-cbrt
add-log-exp difference-of-squares
pow1 add-exp-log add-cbrt-cube
unpow-prod-down cube-prod
difference-of-sqr-1 associate-*r* sqr-pow
pow-unpow associate-*l*
flip3-+ associate-*r/ flip-+ distribute-lft-out
+-commutative distribute-rgt-in cube-mult pow-to-exp sub-neg flip3-- pow-pow distribute-lft-in diff-log unpow3 pow-prod-down pow-exp prod-exp sum-log *-commutative flip-- cbrt-unprod distribute-lft-out-- rem-cube-cbrt unswap-sqr
Counts
4 → 83
Calls
4 calls:
7.0ms
(* (cos eps) (+ (cos eps) 1))
4.0ms
(+ (cos eps) 1)
3.0ms
(pow (cos eps) 3)
7.0ms
(- (pow (cos eps) 3) 1)

series117.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (cos eps) (+ (cos eps) 1))
10.0ms
(+ (cos eps) 1)
27.0ms
(pow (cos eps) 3)
50.0ms
(- (pow (cos eps) 3) 1)

simplify62.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0307461
11609414
25001398

prune259.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

regimes112.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
02717
12717

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.4s3226×body1280valid
566.0ms632×body2560valid
441.0ms1862×body640valid
128.0ms800×body320valid
61.0ms1106×body80valid
39.0ms374×body160valid