Details

Time bar (total: 5.1s)

sample96.0ms

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

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.9b

localize13.0ms

Local error

Found 2 expressions with local error:

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

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

series56.0ms

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

simplify138.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0133175
1301166
2937164
33445164
45001164

prune79.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 14.0b

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

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

series240.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0348614
11352581
25002565

prune227.0ms

Pruning

9 alts after pruning (9 fresh and 0 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
(* (cos x) (sin eps))
0.1b
(* (sin x) (- (cos eps) 1))
1.5b
(- (cos eps) 1)

rewrite68.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:
20.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
11.0ms
(* (cos x) (sin eps))
29.0ms
(* (sin x) (- (cos eps) 1))
7.0ms
(- (cos eps) 1)

series210.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
39.0ms
(* (cos x) (sin eps))
43.0ms
(* (sin x) (- (cos eps) 1))
21.0ms
(- (cos eps) 1)

simplify42.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0337548
11280501
25001499

prune236.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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:
24.0ms
(* (cos eps) (+ (cos eps) 1))
3.0ms
(pow (cos eps) 3)
6.0ms
(+ (cos eps) 1)
17.0ms
(- (pow (cos eps) 3) 1)

series106.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (cos eps) (+ (cos eps) 1))
31.0ms
(pow (cos eps) 3)
9.0ms
(+ (cos eps) 1)
43.0ms
(- (pow (cos eps) 3) 1)

simplify60.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0307461
11609414
25001414

prune262.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

regimes99.0ms

Accuracy

0% (0.3b 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
02515
12515

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s3274×body1280valid
566.0ms627×body2560valid
450.0ms1856×body640valid
122.0ms748×body320valid
62.0ms1143×body80valid
37.0ms352×body160valid